问题
How to rename app folder the right way?
For now, I try this way and don't know it this is OK
- export app
- edit content of the zip (rename folder / rename folder name in app.xml)
- delete app
- import changed app
This is maybe OK for test and development but is there any way for doing this in live site? (without loosing old content?)
回答1:
This is very simple :)
- Rename the folder in the 2sxc
- Update the folder name in the app-configuration (where you also have the app version etc.)
That's actually it already - no more magic to it :).
One thing that could still end up causing trouble is if your scripts have the folder name hard-wired (like /portals/0/2sxc/abc) instead of using @App.Path
来源:https://stackoverflow.com/questions/39093107/2sxc-rename-app-folder