We are using SDL Tridion Docs 13 SP2.
How do you use "DITA Profiling / Conditional Text" with the SDL Publication Manager? We have a lot of content that uses the standard DITA platform attribute to conditionally filter between 'desktop' versus 'mobile app' environment. For example,
<p platform=“desktop”>Do this when on a desktop environment.</p>
<p platform=“mobile”>Do this when in the mobile app.</p>
How do we set and manage the default DITA profiling attributes (product, platform, audience, rev, props, and otherprops) using the SDL Publication Manager to generate PDF and HTML output?thank youpaul
Tridion Docs does not natively support DITAVAL processing during publishing. Instead, it uses SDL’s “ishcondition” processing. Like DITAVAL, ishconditions enable you to identify conditional text, but in a more flexible manner.
You can use the SDL Condition Manager desktop application to centrally manage your organization’s conditions. To apply these conditions, authors can either specify the values directly using the @ishcondition attribute (for example, <p ishcondition="platform=desktop">) or by using the UI provided in the SDL Authoring Bridge. To use the UI, in either XMetaL or Oxygen, select SDL Tridion Docs > Conditional Text > Set Condition. An author can then select from the list of conditions defined in Condition Manager and even create complex (AND/OR) conditions, if necessary.
Once you have applied your ishconditions to your content, you can select which conditions to include in your outputs on the Conditions tab in Publication Manager. Please note that you define one set of conditions for all outputs in one publication.
To achieve your example of one set of content for “desktop” and another set of content for “mobile”, you would create two publications; one assigned to each condition. Even though you have two separate publication objects, they could reference the same maps and topics, so you are not actually managing two discrete sets of content.
Thank you for the response. What you said makes sense, however, we have several projects that have 1000's of DITA files that already use the natively supported attributes, so we can not use your recommendation. Is there a way to pass the DITAVAL values using the command line to generate the PDFs?