Relative URL to JS stored in Shared Resources/Files

I’ve upload 6 js files into the Shared Resources/Files. I want to called them from a page using:

The dqm__codebase defines the folder where the other 4 js are stored. How do I define a relative URL to the same directory?

Or which is the directory where the files are stored?

Subject: Relative URL to JS stored in Shared Resources/Files

Hello!

If they are shared resources, then the relative path is the same as the database path, I believe. You can use:

“/” + @Subset(@DbName;-1)

or something very similar, methinks. You could also try something like “…/menu_data.js”.

HTH!

Steve in Montreal :wink: