Declare JavaScript ressource

Hello, I followed the following link to import a javascript resource into my nuxeo but I don't know how to use this resource in another page such as nuxeo-file-create-layout.html. Do you have an idea please. Thank you

0 votes

2 answers

81 views

ANSWER



Finally, I did not use the extension points to declare a shared reesource, I just put my resource in a common directory and import it into my pages with the “script” tag.

0 votes



This link is related to Nuxeo JSF UI, not Web UI, which is using nuxeo-file-create-layout.html. What kind of JS resources do you want to import?

0 votes



Thank you Gregory Carlin,

I want to import the jquery and another js file which contains useful functions for several pages.

06/26/2020