Hi All,
I am facing a weird issue not sure why.. I have migrated my canvas apps using solution export/import from source environment to target environment.
Steps followed -
Created an empty solution. Added the form and the canvas apps
Exported the solution from source environment
Imported it into target environment
After import, shared the app with all the users.
Note : since the app name remained the same after deployment, even though the appid was newly generated, since the app name was same, the form loaded the correct canvas app.
Issue is one of the app is not working in the target environment, it does not load the data, it does save the data when checked in "Advanced Find" but onload again the data is blank. Not sure if the ModeldrivenFormIntregraion object got corrupted.
This works in the source environment but fails in target environment.
Kindly suggest i am really stuck with this issue. All the other apps are working it is only one of the app that is giving this issue.
Any help appreciated.
Thanks in Advance
Solved! Go to Solution.
The model driven app form integration may require using this dialog box manually from the target environment and rebinding the field again and then clicking on "Customize" from this specific dialog box, very specifically, to rewire the integration correctly on the target.
Before rebinding, in case you have trouble rebinding it, it may be handy also to do these below steps before opening the above dialog box:
A1) From target environment open the App for Editing and press F12, then press download. Keep this MSAPP file handy somewhere.
A2) Then, keep these instructions in mind in case for when you rebind so you can possibly rebind it more easily:
Also, from our experience, we believe this must be done only after clicking "Switch to classic" button from the top of the new Form's editor at make.powerapps.com - while the Classic Mode is being turned off now, some specific elements are on the classic mode only, this possibly still being one of them, and we presume that while Classic Mode will likely completely disappear by January 2021, specific elements like this one will remain there and usable form that Switch to Classic button, and operations like these can only be done in that specific way described here. In the new mode, the crucial "Customize" button may be missing for Canvas App Component when adding it from the new make.powerapps.com editor - to us it seems like it still is missing as of this writing 12-22-2020 and you must use the Classic Mode.
When that particular "Customize" button is clicked it does something very specific that may not be supported or automatically done during the export/import is what you may be facing.
Not sure if there is any other way other than rebinding it as in the above.
Check if the above works for you for now.
In the case someone else believes what is being stated here is incorrect and that it is supposed to work so seamlessly exactly on the Export/Import without the above steps, please feel free to respond and indicate these details from a test on your side.
However we believe that all these kinds of integrations require a specific rebind directly from the target environment and right now we are not aware of another way.
The model driven app form integration may require using this dialog box manually from the target environment and rebinding the field again and then clicking on "Customize" from this specific dialog box, very specifically, to rewire the integration correctly on the target.
Before rebinding, in case you have trouble rebinding it, it may be handy also to do these below steps before opening the above dialog box:
A1) From target environment open the App for Editing and press F12, then press download. Keep this MSAPP file handy somewhere.
A2) Then, keep these instructions in mind in case for when you rebind so you can possibly rebind it more easily:
Also, from our experience, we believe this must be done only after clicking "Switch to classic" button from the top of the new Form's editor at make.powerapps.com - while the Classic Mode is being turned off now, some specific elements are on the classic mode only, this possibly still being one of them, and we presume that while Classic Mode will likely completely disappear by January 2021, specific elements like this one will remain there and usable form that Switch to Classic button, and operations like these can only be done in that specific way described here. In the new mode, the crucial "Customize" button may be missing for Canvas App Component when adding it from the new make.powerapps.com editor - to us it seems like it still is missing as of this writing 12-22-2020 and you must use the Classic Mode.
When that particular "Customize" button is clicked it does something very specific that may not be supported or automatically done during the export/import is what you may be facing.
Not sure if there is any other way other than rebinding it as in the above.
Check if the above works for you for now.
In the case someone else believes what is being stated here is incorrect and that it is supposed to work so seamlessly exactly on the Export/Import without the above steps, please feel free to respond and indicate these details from a test on your side.
However we believe that all these kinds of integrations require a specific rebind directly from the target environment and right now we are not aware of another way.
Thank you so much for the detailed explanation. The binding was missing had to go back on the form and customize it to re-establish the connection and it worked. I am facing another issue related to patch which i will post in another new question. Marking your answer as solution. Thank you so much. Really appreciate it.
User | Count |
---|---|
263 | |
110 | |
98 | |
55 | |
40 |