SDL XPP plugin user interface setup
This is an overview of the Content Manager User Interface changes to include options for SDL XPP-based publishing.
Two files must be changed to enable the Content Manager user interface for the SDL XPP options.
Metadataconfig.xml
The following field definitions must be made available:
outputformat dialog, OutputFormat: This dialog contains an additional group containing the fields for the SDL XPP output format definition.
<ishfrmgroup id="OutputFormat.SDLXPPGroup"> <label resourceref="OutputFormat.SDLXPPGroup.Label">SDL XPP</label> <description resourceref="OutputFormat.SDLXPPGroup.Description">SDL XPP</description> <ishfrmfield ref="SDLXPPServerField" /> <ishfrmfield ref="SDLXPPStyleFolderField" /> <ishfrmfield ref="SDLXPPStyleReferenceField" /> <ishfrmfield ref="SDLXPPStyleAltNameField" /> </ishfrmgroup>For example, the field definitions may be:
<!-- SDL XPP integration fields --> <ishfrmfield id="SDLXPPServerField" name="SDLXPPServerField" ishfieldref="FSDLXPPSERVER" level="none"> <label resourceref="FSDLXPPSERVER.Label">SDL XPP server URL</label> <description resourceref="FSDLXPPSERVER.Description">URL of the server that hosts the SDL XPP application that this output format will use.</description> <typetext/> </ishfrmfield> <ishfrmfield id="SDLXPPStyleFolderField" name="SDLXPPStyleFolderField" ishfieldref="FSDLXPPSTYLEFOLDER" level="none"> <label resourceref="FSDLXPPSTYLEFOLDER.Label">SDL XPP Style Folder</label> <description resourceref="FSDLXPPSTYLEFOLDER.Description">Style used to render the output in the SDL XPP application. If both Style Reference and Folder are available, first the Reference is copied and then the Folder changes are applied (incremental update facility).</description> <typetext/> </ishfrmfield> <ishfrmfield id="SDLXPPStyleReferenceField" name="SDLXPPStyleReferenceField" ishfieldref="FSDLXPPSTYLEREFERENCE" level="none"> <label resourceref="FSDLXPPSTYLEREFERENCE.Label">SDL XPP Style Reference</label> <description resourceref="FSDLXPPSTYLEREFERENCE.Description">StyleBundle reference used to render the output in the SDL XPP application. If both Style Reference and Folder are available, first the Reference is copied and then the Folder changes are applied (incremental update facility).</description> <typetext/> </ishfrmfield> <ishfrmfield id="SDLXPPStyleAltNameField" name="SDLXPPStyleAltNameField" ishfieldref="FSDLXPPSTYLEALTNAME" level="none"> <label resourceref="SDLXPPStyleAltNameField.Label">SDL XPP Style Alt Name</label> <description resourceref="SDLXPPStyleAltNameField.Description">Alt name available in the referenced StyleBundle used to render the output in the SDL XPP application.</description> <typetext/> </ishfrmfield>publication output dialog, PublicationOutput: This dialog contains the additional group "SDL XPP Print Options" which contains the fields for the SDL XPP publication output switches.
<ishfrmgroup id="PublicationOutput.SDLXPPOptionsGroup"> <label resourceref="PublicationOutput.SDLXPPOptionsGroup.Label">SDL XPP Print Options</label> <ishfrmfield name="PublicationOutput.IncludePrintMarksField" ishfieldref="FSDLXPPPDFINCLPRINTMARKS" level="lng"> <label resourceref="FSDLXPPPDFINCLPRINTMARKS.Label">Include PrintMarks</label> <description resourceref="FSDLXPPPDFINCLPRINTMARKS.Description">Include PDF printmarks/cropmarks in the output.</description> <typecheckbox> <checkedvalue>Yes</checkedvalue> <uncheckedvalue>No</uncheckedvalue> </typecheckbox> </ishfrmfield> <ishfrmfield name="PublicationOutput.IncludeTocField" ishfieldref="FSDLXPPPDFINCLTOC" level="lng"> <label resourceref="FSDLXPPPDFINCLTOC.Label">&Include Table of Contents</label> <description resourceref="FSDLXPPPDFINCLTOC.Description">Include TOC section in the PDF output.</description> <typecheckbox> <checkedvalue>Yes</checkedvalue> <uncheckedvalue>No</uncheckedvalue> </typecheckbox> </ishfrmfield> <ishfrmfield name="PublicationOutput.IncludeIndexField" ishfieldref="FSDLXPPPDFINCLINDEX" level="lng"> <label resourceref="FSDLXPPPDFINCLINDEX.Label">&Include Back of Book Index</label> <description resourceref="FSDLXPPPDFINCLINDEX.Description">Include Back of Book index section in the PDF output.</description> <typecheckbox> <checkedvalue>Yes</checkedvalue> <uncheckedvalue>No</uncheckedvalue> </typecheckbox> </ishfrmfield> <ishfrmfield name="PublicationOutput.IncludeFrontMatterField" ishfieldref="FSDLXPPPDFINCLFRONTMAT" level="lng"> <label resourceref="FSDLXPPPDFINCLFRONTMAT.Label">&Include Front matter</label> <description resourceref="FSDLXPPPDFINCLFRONTMAT.Description">Include Front matter section in the PDF output.</description> <typecheckbox> <checkedvalue>Yes</checkedvalue> <uncheckedvalue>No</uncheckedvalue> </typecheckbox> </ishfrmfield> </ishfrmgroup>
RepLngDlg.asp
The RepLngDlg.asp file is used to maintain the field values defined on the publication output. It is located in: <drive-letter>:\Infoshare\Web<project-suffix>\Author\ASP