Which is the extension point that replaces the old "views" (org.nuxeo.theme.services.ThemeService)?

Hello,

I am trying to add a JavaScript following this tutorial: http://www.nuxeo.com/blog/qa-friday-add-javascript-css-resources-pages/

I'm using Nuxeo 7.4, and I get a message like this: “Warning: target extension point 'views' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service: (…)”

I had a similar warning for the extension point “resources”, and I changed it to component org.nuxeo.ecm.platform.WebResources, but I don't find which is the extension point that replaces “views”.

Thank you in advance :)

0 votes

1 answers

976 views

ANSWER



Hi,

you are trying to configure your JS for NX7.4 with a old ThemeService component for version previous to 7.4. Please, find bellow the information of the new ThemeService EPs and news about customizations and resources for NX7.4+

https://doc.nuxeo.com/display/NXDOC/Theme+Upgrade+to+7.4#ThemeUpgradeto7.4-MigratingResources

2 votes



Thanks a lot Victor! I was going to write that I just found that page and I've seen that I have to use "bundle" (org.nuxeo.ecm.platform.WebResources) extension point to include a js in all the pages, for the bundle "nuxeo_includes". It works :)
02/18/2016