...
config_settings: A JSON configuration of the different configuration chains that exist. Default delivered value is:
Code Block | ||
---|---|---|
| ||
{ "mappings": { "portal": "starter-kit@project-dev@project", "portal@picker": "starter-kit@project-dev@project@$starter-kit-picker@:userAgent", "portal@picker@office": "starter-kit@project-dev@project@$starter-kit-picker@office@:userAgent", "portal@picker@office@outlook": "starter-kit@project-dev@project@$starter-kit-picker@office@outlook@:userAgent", "wediaConfig": "__wedia_config", "portal@$mobile_device": "starter-kit@project-dev@project@$starter-kit-mobile", "portal@picker$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@$starter-kit-mobile", "portal@picker@office@$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@office@$starter-kit-mobile", "portal@picker@office@outlook@$mobile_device": "starter-kit@project-dev@project@$starter-kit-picker@office@outlook@$starter-kit-mobile" }, "postProcessors": { "surferRole": "fr.wedia.confres.core.model.processor.SurferRolePostProcessor", "userAgent": { "processor": "fr.wedia.confres.core.model.processor.UserAgentPostProcessor", "config": [ { "pattern": ".*Mobi.*", "name": "$starter-kit-mobile" } ] } }, "baseLocations": { "starter-kit": "PACKAGED_BASES", "emptyObj": "PACKAGED_BASES", "__wedia_config": "PACKAGED_BASES" } } |
...
How to migrate an existing starter-kit project to enable UI
When serving or building the portal application from the portal project, the process will try to discover whether the feature is active or not by checking if the WXM_CONFIG_RESOLVER
plugin is active or not.
You can also force the serve / build process switch by defining the useServerConfigResolution
value to true
or false
in the .wediaportalrc
file.
Based on this configuration, the portal will be served / built accordingly.
Remember that you will still need to
configure the
WXM_CONFIG_RESOLVER
appropriatelyhave an @project ending layer
The build process will send “project-dev” layer to the server as part of the build process
(if you use the --deploy
option)
Otherwise, the genconfig
can be used to send your local layers to the server
How to retrieve configuration done by UI and deploy it to another environment
Simply download the plugin configured in WXM_CONFIG_RESOLVER
parameter default_holding_plugin