Configuring the Web API URL
Now you will need to specify the Web API URL in the client
app.
Step 1: Go to the client app folder (for example,
“googlecharts_cloud” for Example Graph App, “salesdemo_cloud” for
Example Sales App), open the apprun.json file in a text editor.
Step 2: Modify the value of “web_api”.
The URL must include the path of the API sub-folder.
For Example Graph App:
1 2 3 4 5 6 7 |
{ "deployment_urls": { "launcher": "CloudAppPublisher/CloudAppInstall 22.1", "runtime": "CloudAppPublisher/runtime/22.1.0.2648", <span><strong>"web_api": "http://localhost:82/googlecharts_cloud_API/"</strong></span> } } |
For Example Sales App:
1 2 3 4 5 6 7 |
{ "deployment_urls": { "launcher": "CloudAppPublisher/CloudAppInstall 22.1", "runtime": "CloudAppPublisher/runtime/22.1.0.2648", <span><strong>"web_api": "http://localhost:82/salesdemo_cloud_API/"</strong></span> } } |
Step 3: Make sure you modify the apprun.json file in both the
“googlecharts_cloud” and “salesdemo_cloud” folders.
After that you should be able to run the installable cloud app
with the following URLs:
For Example Graph App:
http://localhost:82/googlecharts_cloud/
For Example Sales App: http://localhost:82/salesdemo_cloud/
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest