SaaS CMS has officially launched! Learn more now.

Access page properties in office publish scripts

Vote:
 
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).
#17430
Aug 16, 2005 14:44
Vote:
 
Hi Pål! See the answer in the "Developer to Developer"-forum. /johan
#18192
Aug 17, 2005 15:43
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.