Hi, currently we have a Low Code App and we would like to customize the views for different users e.g. some users might want to see page 4 as their first page, or some users prefer to see components rearranged like filter on top instead of left, depending on their usage. Some users might want to see the same table with different columns which may require a different query.
Is it possible to duplicate the low code as a new app so that we can give free edit rights to this group of users while not requiring them to rebuild from scratch?
Hi, duplicating a LCA requires some manual labor for now. The steps to achieve this can be found here.
We know this is not ideal and we will make it possible in the future to duplicate an app through the software.
However, your end goal is not really to duplicate the app, but show a different version depending on user rights. It might be interesting for us to investigate how we could maybe integrate in the framework: have one single app with multiple views. Because now you might risk having two apps that become out of sync when editing one, but not the other.
Hi,
Currently, duplicating apps can only be done manually. There are plans to provide a better way to do this in the future.
You can duplicate an app by following a few steps:
- Find and copy the folder of the application. All applications are stored at
C:\Skyline DataMiner\applications
. The applications are identified by their GUID, which can be found in the URL of the app you want to copy. - Change the name of the new copied folder to a new unique GUID by changing some characters. Make sure to remember this GUID, it will be needed again later.
- Navigate to the folder of the version you are interested in and open the
App.config.json
-file in your preferred editor. - Change the
ID
property that contains the old GUID to the new GUID from step 2. In this file, the name of the app can also be changed. - If multiple versions of the application should be copied, steps 3 & 4 can be repeated for all desired versions, the other versions can be removed.
- Go back to the root folder of your copy and open
App.info.json
. Change thePublicVersion
andDraftVersion
properties to the desired version numbers, as configured in the corresponding version info files. If no public version exists yet, set that property to 0.
Yes exactly. Duplicating the app is a workaround as there is no means of handling different views based on user rights now.