Closed robertoscaringella closed 6 years ago
Hi, I need some update, because this integration between Business Central and PowerApp is business-critical for my customer.
So, I need to know:
Thank you, Roberto.
The answer is ':' You cannot drop a table in the live environment. Once an extension is synchronized to a tenant, then all future versions must be schematically backwards compatible. In a sandbox environment you can bypass these breaking changes via the 'clean' mode of extension sync. (E.g. Sync-NavApp -Mode Clean, or VSCode 'Recreate').
The consequence of using the above is that we remove all schematic elements that the extension added. I.e. drop all tables/fields etc added by the extension, which means that you lose all data. There are still a few options for getting around this problem.
'Abandon' the table. (New version of the extension)
Start over with a 'new' extension
In both cases, you are also 'abandoning' the data that might already exist in the table, if this data is to be preserved, then you would need to write upgrade code to port data into the new tables. (And include a dependency on the old extension in the case of 2)
Ok, thank you.
But the reason about this problem is the lacking of connection between BC Sandbox and PowerApp. So, I need a solution for develop an BCApp visible to PowerApp but not installed/published on the live Enviroment.
I tried to Install/Publish because I didn't found history/documentation about the visibility of BC from PowerApp, and for Business/Commercial reason I was forced to try on live Enviroment.
Microsoft push to use all the Dynamics 365 Ecosystem, so I need to work on the Sandbox enviroment without "dirty" the live enviroment and see all on PowerApp.
So please, help me for to find a solution.
Thank you in advanced.
Roberto.
Hi, in the PowerApps Community, answer that currently it's possible create a connection only to Dynamics 365 Production environment from an app within PowerApps.
Thank you, Roberto.
Hi, I created/published/Installed an app su Business Central on the live Enviroment by the Extension Management. This app have a new table 50100:
table 50100 Preventivi { DataClassification = ToBeClassified;
} Now I need to change some property, like a "AutoIncrement = true" but the system refuse the modification. I need to change the primary key because I cannot work on a SandBox Enviroment because we are try to connect PowerApp to the business central, but PowerApp can create a connection only with Live Enviroment.
How I can drop the custom table on the live enviroment? I tried with "schemaUpdateMode": "Recreate" but doesn't work. Do you know why the SandBox Enviroment is not visible from the PowerApp?
Thank you. Roberto.