Inheritance Principle - Fluid Topics - 3.6

Upload DITA Content to Fluid Topics

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes

As a resource can have several instances, attributes benefit from an inheritance behavior.

For instance, as illutrated in the Removing Instances of a DITA Map section, the publishStatus attribute set with the deleted value applies to both Novice and Intermediate instances of the map.

In the mean time, other specific attributes can be set for each instance.

Example
In the following control file example, rights apply to both instances while the attachment is only added to the instance with the Intermediate DITAVAL:
<?xml version='1.0' encoding='utf-8'?>
<controlFile>
  <resources>  
    <resource>
      <filePath>_time_machine_user_guide.ditamap</filePath>
      <instances>
        <instance>
          <filePath>Novice.ditaval</filePath>
        </instance>
        <instance>
          <filePath>Intermediate.ditaval</filePath>
          <attachments>
            <attachment>
              <filePath>time_machine_assembly.pdf</filePath>
              <displayName>Time Machine Assembly</displayName>
            </attachment>
          </attachments>
        </instance>
      </instances>
      <rights>
        <accessLevel>restricted</accessLevel>
        <groups>
          <group>Technicians</group>
        </groups>
      </rights>
    </resource>
  </resources>
</controlFile>
Once published to Fluid Topics, this control file has the following results:
  • Access to the Novice instance of the Time Machine User Guide DITA map is limited to users belonging to the Technicians group.
  • Access to the Intermediate instance of the Time Machine User Guide DITA map is also limited to users belonging to the Technicians group.
  • The Time Machine Assembly PDF file is only attached to the Intermediate instance of the Time Machine User Guide map.