The JSF UI to Web UI migration tool is a safe and automated way to create an equivalent Web UI configuration based on your existing JSF UI configuration.
To process the JSF UI to Web UI migration: From Studio Modeler, go to Configuration menu > Migration Services.
The migration tool is designed to reduce the effort needed to transition to Web UI.
Migration tool creates the updated configuration in a dedicated branch, and does not delete anything. This lets you:
- review what the result looks like at your leisure and possibly launch the migration again,
- keep working on your master branch and/or other branches if you want to,
- delete the additional configuration that was generated partially or totally (just remove features or delete the branch).
Once the migration done, a detailed report is created in Migration Services so that you can check the results.
- Not a member of it yet? Learn about its benefits, what's planned and how to get in.
- Already a member? Help us co-creating it by telling us about your experience.
Migration Scope
Items | Migration State |
---|---|
Document layouts | ✓ |
Workflow tasks layouts | ✓ |
Form layouts | ✓ |
Content views that do not reference a table layout | ✓ |
User actions | ✓ |
Tabs | N/A |
Translation files | N/A |
Content views that reference a table layout | N/A |
This scope is subject to change, feel free to let us know about your experience.
Processing Migration
Any configuration you would do in that time frame would not be taken into account by the migration tool, and could lead to conflicts if you decide to merge changes afterwards.
Launching Migration
If your project benefits from branch management: In Source Control, go to Branch Management, checkout the branch you want to migrate:
- In Configuration, go to Migration Services.
- Click on Start Migration. A pop-up appears to ensure you want to start migrating.
- Click OK to confirm.
Migration can be launched as many times as you wish: for example, to allow you to test changes made on your JSF UI configuration or benefit from new features that have been added to the migration tool.
Reviewing Changes
When the migration is finished, a report is available in Migration Services.
Click on Access Report to see and easily search through the result in order to find any particular information.
The report provides a summary of the migration. Details for each component of your project are displayed, with descriptions and recommendations when errors occurred.
It also provides information concerning the migration itself, such as the tool version, source branch, result branch, source tag, destination tag and date.
Integrating Changes
Results appear in a branch indicated in the Previous Migration list.
- To check the result of your migration, go to Source Control and Branch Management.
- To switch to the new branch, press Checkout on it.
The migration process does not delete any configuration but it adds more configuration that might be slightly updated. For example, to enforce a good practice such as putting constraints expressed only in your layouts back at schema level. The configuration produced can be reviewed and changed if needed, at your own pace.
To merge the changes, follow the usual feature implementation process. If your project benefits from branch management features, you can also take advantage of the configuration review process to ease the merge.
The JSF UI configuration can be hidden when you are ready to migrate. For more information, see the removing JSF UI Configuration section.
Discarding Changes
If your project benefits from branch management, everytime you launch a migration, a branch is created.
If you don't benefit from branch management, a branch is created the first time you launch a migration. It is deleted and created again with every migration, involving the loss of the previous migration.
To discard changes, revert to the tag made before the migration was triggered.
Removing JSF UI Configuration
If you are satisfied with the result, you can finalize the migration to Web UI in the branch where the release used in production will be created.
In Settings, click on Application Definition, remove the JSF UI dependency and click on Save Changes.
JSF UI related configuration will be hidden in Studio and kept outside from your deployed configuration. If you change your mind, just add it back and your JSF UI configuration will be back.