- Introduction
- Non-editable fields
- Architecture
- Customising ODG email
- PXM InDesign custom task
- Use security to restrict the user's read/write access to the field
This is a little risky, down the line when we go to export the document the read/write access may be required to export the text/image field to PDF - Create a new template which inherits from the default snippet
Digging into the Sitecore SPEAK code*, we can see that in ODG the snippets are loaded by doing a query on the template type ('get all child items with the snippet template type'). By extending the existing snippet this query fill filter out new snippet type, so all the non-editable fields can be hidden in here, however when export to PDF is run it's still treated as a snippet and the text is shown. The downside to this is that the custom snippet is not supported by the InDesign connector so even though the snippet will appear in InDesign, making items non-editable (creating the non-editable snippet and dragging items into this snippet) will have to be done in the content editor.
So it's easy as finding the
P_Snippet
template (at /sitecore/templates/Print Studio Templates/Publishing Engine/P_Snippet), and making a custom template which contains that as a base template.
No comments:
Post a Comment