Highlighted

Full path instead of relative references in HTML output

Community Beginner ,
Feb 04, 2019

Copy link to clipboard

Copied

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.j...';

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

Adobe Community Professional
Correct answer by RodWard | Adobe Community Professional

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

Views

80

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Full path instead of relative references in HTML output

Community Beginner ,
Feb 04, 2019

Copy link to clipboard

Copied

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.j...';

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

Adobe Community Professional
Correct answer by RodWard | Adobe Community Professional

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

Views

81

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 04, 2019 0
Adobe Community Professional ,
Feb 04, 2019

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 04, 2019 0