Undefined SSL layout type

In RoboHelp 8, my project template only included one SSL layout – I deleted the others because we never use them. (We generate WebHelp.) In RoboHelp 10, the other layout types mistakenly appear in my project, so my script needs to select the correct one to generate. Unfortunately, instead of returning one of the constants defined in the RoboHelp.SSLLayoutType class, RoboHelp.project.SSLManager.item(i).SSLLayoutType returned null. Luckily, WebHelp does show up as the default layout, so instead I looked for the item where RoboHelp.project.SSLManager.item(i).defaultLayout is true.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s