Skip to main content
Inspiring
March 7, 2018
Answered

CP9 - Batch convert 100 projects to Scaleable HTML Content?

  • March 7, 2018
  • 1 reply
  • 363 views

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

    This topic has been closed for replies.
    Correct answer petern33480613

    I did it and it worked.

    1 reply

    petern33480613AuthorCorrect answer
    Inspiring
    March 7, 2018

    I did it and it worked.