Hi,
Is there any way for me to control the default ID assigned to apps that I create in Web Appbuilder? I mean the ID that is assigned to the folder name, and the app. By default, there is a sequential numbering system. However we are now in the process of migrating several apps through 3 development environments, and I need to be able to change app IDs.
Any thoughts?
Thank you
Chaim
Solved! Go to Solution.
I struggled with this with the early versions on the WABD as we had 3 environments as well. I eventually gave up and now just have a spreadsheet that tracks the app and which environments each is for.
Easiest way I can think of is to copy the contents of for instance app id 5 and overwrite the contents of the folder app id 3 then rename the app in wab developer edition. App folders are in the wab develop install folder structure. Not sure which folder as not at my pc right now but you’ll find it. I use this method sometimes to force an app in when wab dev edition tells me my upload is invalid
Hi @AndrewMurphy3 thank you for your response. The problem is that in my case I already deleted app #1 - so that folder is already gone. I now want to create a new app as app # 1, but manually creating the folder (and then deploying the full content of an app into it) doesn't seem to work - the app doesn't load.
I believe there is an app register xml / json somewhere in wab as well - name id, owner etc all listed. Highly recommend testing before doing it for real but I’ve had success using it to change an owner, you may be able to replicate your app folder with the correct id and add an entry to that xml / json. Again not an expert so health warning / testing on a replica advised and make sure wab startup batch / service isnt running. Not at pc but can find name of the file tomorrow or you can do a bit of hoking yourself
I struggled with this with the early versions on the WABD as we had 3 environments as well. I eventually gave up and now just have a spreadsheet that tracks the app and which environments each is for.
This is exactly the situation I am in right now! I spent several hours yesterday trying to "hack" the db file within the server folder. It seemed like there was a clear logic to follow (each app creates the same few lines with app ids) but it just wouldn't work. I'm going to accept your answer as the solution unless someone finds a way to actually make this work. Thanks!