Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CP9 - Batch convert 100 projects to Scaleable HTML Content?

Engaged ,
Mar 07, 2018 Mar 07, 2018

Hello,

Question:

Has anyone ever attempted to convert a large number of HTML5 non-scaleable projects to Scaleable by running a search and replace on the CPM.js files?

(And did it work?)

Why do I want this:

I have been given over 100 projects that were created by someone else.

I have the Captivate source and the published HTML5 folders.

All the files need to be republished as Scaleable HTML5 Content.

I really don't want to spend a lot of time loading and republishing all these files.

Having looked inside the CPM.js file I can see that the setting for Scaleable HTML5 Content appears to be a variable named 'shc' and it set to either shc:true or shc:false.

As I already have all the published HTML5 content, all I need to do is run a disk utility to search all the CPM.js files and replace shc:false with shc:true.

Obviously I will make backups first.

I was just wondering if anyone had done this and run into problems.

Thank you.

Peter

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

correct answers 1 Correct answer

Engaged , Mar 07, 2018 Mar 07, 2018

I did it and it worked.

Translate
Engaged ,
Mar 07, 2018 Mar 07, 2018
LATEST

I did it and it worked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources