Skip to main content
Participant
February 4, 2019
Answered

Full path instead of relative references in HTML output

  • February 4, 2019
  • 1 reply
  • 295 views

Hello,

Is there a way to export a project in HTML and have the full path of every assets and references in the html/js files instead of the relative reference?

E.G.:

In the index.html file of the published project there is a reference to a JS that looks like this:

script.src = 'assets/js/CPXHRLoader.js';

But instead I would like to have the full reference of the file, especially when publishing to a sharepoint directly.

Ideally the same line of code would look like this:

script.src = 'https://company.sharepoint.com/teams/SiteName/SiteAssets/Program/ProjectName/assets/js/CPXHRLoader.js';

or even like

script.src = 'C:/Documents/Program/ProjectName/assets/js/CPXHRLoader.js'; when publishing to a local drive.

So far i had to look to every reference in all the files and replace them manually which is really time consuming.

Any help would be much appreciated.

Thanks

This topic has been closed for replies.
Correct answer RodWard

This option does not currently exist by default in Captivate.  Feel free to log an enhancement request if you like, but don't hold your breath.

Adobe Captivate

1 reply

RodWard
Community Expert
RodWardCommunity ExpertCorrect answer
Community Expert
February 4, 2019

This option does not currently exist by default in Captivate.  Feel free to log an enhancement request if you like, but don't hold your breath.

Adobe Captivate