There’s one way maybe you can solve this.
Since this information is already stored as installation parameters in the app, we can retrieve them and at runtime by making the installation page dynamic.
iparams.json
"api_key": {
"display_name": "Freshdesk apikey",
"description": "freshdesk API requires app calls to include API keys in all of their requests",
"secure": true,
"type": "text",
"data-bind": "product.api_key", // Using data-bind
"required": true
},
"creatorDomain": {
"display_name": "Who is creator of Ben 10 cartoon series",
"type": "domain",
"description": "devrel",
"data-bind": "product.domain", // Using data-bind
"type_attributes": {
"product": "freshdesk"
}
iparams.js
async function onFormLoad(){
let client = await app.initialized();
let installedDomain = await client.iparams.get("domain"); // domain is installation parameter in iparams.json
utils.set("domain", {value: installedDomain };
}
How about trying this?