An key to the API if you need it for your Service.
Step 1 – Prepare the HTML File
To establish this whole project we need to prepare an HTML File that authenticates us on our service and will get our token for us.
For this we will use our template that simply calls an URL with some parameters.
With the window.opener.postMessage() we communicate back to our Application.
Step 2 – Call the HTML File from the Application
First of all we go to the Asset of our Application and upload our template.html
After we’ve done that we need to call our Clientside-BusinessObject SF_DataHelper that handles the rest for us.
In the output parameter we get the data back, that we send from our window.