ConfigEngine tasks for creating a new profile based on a template and an existing profile in the system

You can extend the theme module framework with a new ConfigEngine task.

You can create a profile from a profile template and an existing profile. The config task reads the existing profile, takes the deferred and non-deferred theme modules from it, and creates a profile in WebDAV based on the template and the theme modules in the existing profile.

You can use these configuration tasks only for theme profile files that are stored in the WebDAV file store.

For more information about the theme module framework and how you can administer it, see the section about Managing theme capabilities.

Use the following parameters with the create-profile-based-on-template configuration tasks.

The WebSphere® Application Server user ID.
The WebSphere Application Server user ID.
The HCL Portal administrator user ID.
The HCL Portal administrator password.
The unique name of the theme that contains the profile that you want to update.
The file path to the local template profile that you want the new profile be based on.
The name of the target profile file that you want to create.
The name of the existing profile to fetch the list of theme modules from.
Can be true or false. Defines whether the profile in WebDAV should be overwritten if it already exists.
Use the following command to create profile with the name profile_new_deferred.json in the theme with the unique name ibm.portal.85Theme, which is based on the template that exists on your local hard drive in /opt/WebSphere/profile_new_template.json. Once it is created in WebDAV, it has the list of modules from the profile_deferred.json profile, which already exists. The example assumes that the WebSphere Application Server and HCL Portal credentials are defined in the file.
./ create-profile-based-on-template -DThemeUniqueName=ibm.portal.85Theme -DTemplateProfileFilePath=/opt/WebSphere/profile_new_template.json -DTargetProfileFileName=profile_new_deferred.json -DTemplateModuleListProfileFileName=profile_deferred.json -DOverwriteProfile=true