cancel
Showing results for 
Search instead for 
Did you mean: 

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

ioihanguren_
Star Contributor
Star Contributor

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 🙂

1 ACCEPTED ANSWER

Victor_Sánchez
Confirmed Champ
Confirmed Champ

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

View answer in original post

2 REPLIES 2

Victor_Sánchez
Confirmed Champ
Confirmed Champ

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

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

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.