Hi All,
We faced the error "implemented cloud is not cloud-optimized", thus we added the granule to the license for our endusers, but now, we would like to make our code cloud compatible, thus I have to rewrite the code of our application to be cloud compatible, and still usable for OnPrem deployment. So, the code has to be written for the cloud, but it will work also on OnPrem deployment. Is this correct?
I have some ideas what to do for an app to be cloud compatible, but still I cannot find the exact steps what has to be changed in the code and objects, so that the app is cloud compatible, for example:
1. app.json file -> change the property "target":"OnPrem" -> "target":"Cloud"
2. everywhere where we are referring our code [OnPrem] has to be commented.
2. all .nets have to be replaced with the Azure Functions or some 3rd party application with the use of WebService to handle .net code.
3. for any file storage in the FTP has to be switched to the OneDrive or Sharepoint. We will not store files directly in the BLOB fields in the database, anymore.
4. any custom table fields have to be written with prefix "Rec." => Rec."FieldName"
Is the procedure exactly the same as when I am writting the custom code on BC SaaS Sandbox environment?
Thank you
BR Damjan