We need to add some logic to the EPiServer.Word.wsc script that is run when a user published from Word to EPiServer. I want two different things to happen depending on the value of one of the properties on the page.
The only object that is sent to the Convert function is oConfig. But I cannot find any documentation on this object (type, methods, properties etc).
I want to do something like this...
If oConfig.Properties("ConvertToPdf") != null Then
'Convert to PDF
Else
'Convert to HTML
End if
..where ConvertToPdf is a property on the page that the user sets when publishing from Word. For various reasons I do not want to create different page types in EPiServer for each of these configuration options (will be many).
If oConfig.Properties("ConvertToPdf") != null Then 'Convert to PDF Else 'Convert to HTML End if
..where ConvertToPdf is a property on the page that the user sets when publishing from Word. For various reasons I do not want to create different page types in EPiServer for each of these configuration options (will be many).