Hi all,
I would like to know if there's an option to duplicate a complete Low-Code App in the same system.
I know that in the C:\Skyline DataMiner\applications we can find all applications but if I duplicate my app folder there, which could be a good guid identifier to assign?
Is there any other thing that we need to consider for change?
Thanks.
Note that there are plans to have this feature available in the webapps.
However, to do this manually, you can indeed copy an app folder, modify the folder name to be a unique guid.
Change the guid in all version folders you want to keep to that new guid from the folder. It's located in version_x/App.config.json:ID.
If you want to get rid of specific versions, just delete those folders but make sure the published version is still pointing to a valid existing one version. That is located in App.info.json:PublicVersion.
Hi Gilles,
Is it also possible to copy a low code app between systems? For instance from staging to production?
This would make life easy.
Hi Jason,
when there is no name/guid conflict on the other system, you can just copy it over and leave it as is. Be aware that, depending on how generic your app is, you might need to reselect some data because of objects IDs that are missing on the new system
Is the upcoming functionality going to duplicate the app just in the host DMA or would it allow to export the app so it can get reused in another system?
In a first step we were just thinking about a duplicate button on an app.
In another step we could allow exporting/importing. We also want to leverage the catalog here. These are just some ideas, nothing carved in stone yet and we’re open for feedback.
Hi Edson
I had the same question and used the above answers from Gilles and Sebastiaan to create an interactive automation script to export low code apps into a .dmapp package that can be installed on a new server or the same one if you wanted to duplicate the entire app.
The scripts also goes through the queries used in the app and includes all the scripts for ad hoc datasources and custom operators in the exported package.
On the github page there is a small introduction on the current features of the script:
SkylineCommunications/Low-Code-App-Extensions: An Interactive Automation script to import, export and do some general edits to the low code apps of a DataMiner system. (github.com)
There is also a install package for the script on the catalog:
Indeed, this is something which will be available in the near feature. When doing it manually, don’t forget to change the name as well since we don’t allow duplicates.