Notifications
Announcements
I have a requirement to open a Canvas App by click of a button from crm and I can see a few examples already provided for this. The main query I have is that since I would need to code the javascript function to open the Canvas App using the App Id (of the Canvas App), would this Id remain same when the Canvas App is migrated across different environments Dev to Production. Can someone who has used this approach please clarify.
Hi @bravoperss ,
I can tell you definitively that the app ID will not be the same as this value has to be unique to the app. Migrating (as you would know) involves making a copy of the app in the other environment, therefore the "old" app is still there and each now has its unique ID.
I don't know if this helps, but I control things like deep linking testing with a reference table (one in each environment) with the URL of the target app and simply lookup and refer to this in the script. When the app ends up in Prod, the reference of the Prod target is already there.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi Warren,
Thanks for replying. How do you map the App ids in table to the different environments ? Is this based on Org name. We also do sometimes copy our test environments from Prod and the process gives random org names.
On thinking it further, I did miss describing one step. When I get to Prod, I unlink the test list (which is on the test site) and link to a list with the same name and fields in the prod site. Only takes a few minutes, but I have a heap of other parameters there as well it picks up which I can freely change on the test version without affecting Prod.
@bravoperss ,
Now I see the confusion - Apples and Pears here. I have a SharePoint backend. When you mentioned a Canvas app, I made the wrong assumptions.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268