Adding Content to a Document
You can add content to a document by:
• Inserting an individual content item or row
• Inserting a new or existing segment
By default, segments are inserted as a reference within a document. This means that they are not fully expanded to allow you to edit them in the context of the document. You must open the document to manage its contents.
Depending on how your administrator has configured your ViewSet, you can include subdocuments as a sequential part of the document. You can either include a subdocument as a new or existing segment. The subdocument is fully expanded for editability.
PTC RV&S allows you to create nested documents, which are subdocuments inside of documents. This allows you to partition your content for logical, semantic, or performance reasons. Nested documents can either be inserted as a reference or included in other documents:
• Insert—When a subdocument is inserted into a parent document, only the reference to the subdocument is exposed. You must open a subdocument to manage its contents.
• Include—When a subdocument is included into the parent, the entire contents are exposed as if they were a sequential part of the parent.
In a component-based environment, where an application or product is made up of smaller, more purpose-built components managed by separate teams, the inserted option is common. This allows the parent document to reference the content, but it does not require direct management of the content. Inserted documents are not exposed as part of the parent document.
After you insert or include a subdocument, you can toggle the reference. You can see the entire document expanded as a sequential part of the parent or see only the reference to the subdocument in the Content pane.
Related Topics