Hi Team,
I am trying to create an xml osgi configuration for Workflow email notifications com.day.cq.workflow.impl.email.EMailNotificationService.xml, After deploying to the server, changes are not reflecting. Please help.
Solved! Go to Solution.
Views
Replies
Total Likes
1) Move/Copy the com.day.cq.workflow.impl.email.EMailNotificationService.xml file to "config.author" and "config.publish" folders under ui.config's module "osgiconfig" folder.
2) Make sure you have "/apps/<yourproject>/osgiconfig" path in the filter.xml of ui.config module.
3) Build and deploy your project.
4) Check if your updated configuration is showing up on author/publish server.
If the configuration is showing up by following the above steps, then it may be the configuration file is not under the correct runmode folder vs the author/publish server is running on.
Cross-check the runmode folder naming convention vs the author/publish server runmode by visiting http://server::4502/system/console/status-slingsettings
Hope this helps.
Hello @Prashanth_02a
There shouldn't be an issue in general.
Can you please check following?
1. If the config present in repo (via CRXDE)
- If present, is there any config displayed in OSGi?
-- If yes, please try deleting it from OSGi, and see if the current one reflects. This is just to assure that there is no other OSGi taking preference over one deployed.
2. If config is absent in CRXDE:
- Please check filters, the file should first become path of the local package.
3. Please assure that the file is placed in proper runmode specific config folders
Hi @Prashanth_02a ,
Please check if the config is part of the package which is being deployed.
Also, make sure that you have the configs available in the relevant runmode config folder.
1) Move/Copy the com.day.cq.workflow.impl.email.EMailNotificationService.xml file to "config.author" and "config.publish" folders under ui.config's module "osgiconfig" folder.
2) Make sure you have "/apps/<yourproject>/osgiconfig" path in the filter.xml of ui.config module.
3) Build and deploy your project.
4) Check if your updated configuration is showing up on author/publish server.
If the configuration is showing up by following the above steps, then it may be the configuration file is not under the correct runmode folder vs the author/publish server is running on.
Cross-check the runmode folder naming convention vs the author/publish server runmode by visiting http://server::4502/system/console/status-slingsettings
Hope this helps.
Views
Likes
Replies
Views
Likes
Replies