Hi,
Recently I build a Model Driven App in the Dev environment and added 2 custom pages to it. This works great. I've included the MDA and the Custom Pages to a solution.
When doing a solution import from DEV to PROD the model driven app broke. Showing me the error 'Sorry, we didn’t find that app.'
It seems that the Application Id for the custom page in DEV and PROD are different. This I can understand. However, I do wonder wat the best practice is for using Custom Page as part of ALM.
Current solution:
In order to fix the problem for now I will build the following (for whom this might help as well).
Because the App Id can be taken from a column of the record I will create a cloud flow which contains an Environment Variable with the App Id. I then will create the following cloud flow: When a new record is created --> Set Application Id in Application Id column.
I presume this will fix my problem. However, this does not feel like the right solution. Does anyone have more experience with this topic and does know the best practice?