I have a set of rules that create pdf generation actions. These actions are then merged to create one action to generate one large pdf document. The pdf document titles are set to labels in Appway (eg: '[LABEL:DOCUMENT_TITLE-MBC_J100]').
My problem is the bookmark structure in the generated pdf comes out with titles [LABEL:DOCUMENT_TITLE-MBC_J100] and not the actual expanded labels (eg: 'My MBC J100 Document').
I assume this is because the pdfRenderConfiguration does not know what language to expand the label into.
In the print documents process I have tried adding the following script in a script process.
$pdfRenderConfiguration.pdfLanguageId := $opening.docLanguage;
$pdfRenderConfiguration.textLanguageId := $opening.docLanguage;
However this did not work.
Any help would be greatly appreciated, please let me know if more information is needed
My problem is the bookmark structure in the generated pdf comes out with titles [LABEL:DOCUMENT_TITLE-MBC_J100] and not the actual expanded labels (eg: 'My MBC J100 Document').
I assume this is because the pdfRenderConfiguration does not know what language to expand the label into.
In the print documents process I have tried adding the following script in a script process.
$pdfRenderConfiguration.pdfLanguageId := $opening.docLanguage;
$pdfRenderConfiguration.textLanguageId := $opening.docLanguage;
However this did not work.
Any help would be greatly appreciated, please let me know if more information is needed
Kind regards,
Simon Verhoeven