About Documents Components

You can use a Documents component to allow the user to upload files from the local directory to create a new document or simulation document and attach it to the process object associated with the component.

The Documents component also allows the user to:

  • Check in or upload files to an existing document or simulation document in the associated process object.
  • Check out, download, or delete files from an existing document or a simulation document in the associated process object

This page discusses:

See Also
Adding Documents Components
About Rules
Creating Rules
Viewing Rules

Example

The following figure shows an example of the properties of a Documents component:

The following figure shows the resulting output in the customized simulation template:

The Documents component shows all the documents and simulation documents in the associated process object that belong to the specified category.

When the user uploads a file, the user can either upload the file to an existing document or simulation document, or have the app create a new document or simulation document and check the file into that document or simulation document. The user can upload files only from the local file system; the user cannot upload files from other 3DEXPERIENCE apps, such as 3DSearch.

Properties

The Documents component has the following properties:

Property Description Type Supports Rule Creation
Name ID of the component (read-only) String
Value Process object to associate with the component Simulation process or activity
Label Text to display above the component String
Custom color Color in which to display the label String
Simulation Category Category of documents and simulation documents to display and in which to save any newly created documents or simulation documents:
  • Product
  • Context
  • Specification
  • Internal Data
  • Results
  • Validated Data

Custom categories are not supported.

Enum
Select Attribute Group Whether to associate the process object's attribute group with any newly created document or simulation document:
  • Enable
  • Disable
Enum
New Document Type Definition category for any files that the user uploads to the process object for creating a new document or simulation document:
  • Simulation Document
    • Owned
    • Referenced
  • Document
Enum
Is Versioned Whether any newly created simulation document is versioned Boolean
New Document Mode Input/output mode for any newly created document or simulation document:
  • Input
  • Output
  • Input/Output
  • None
Enum
Read Only Whether to prevent the user from modifying and creating documents and simulation documents in the associated process object.

When this property has a value of true, the user can still view and download files in existing documents and simulation documents.

Boolean
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String
Tooltip Additional information that appears when the user hovers over the component's help icon String

Toolbar

The Documents component toolbar allows you to perform the following actions when you are in the Preview panel:

Icon Action Description
Collaboration and Approvals Opens the selected simulation document in the Collaboration and Approvals app.

For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Web App - Classic | Collaboration & Approvals.

Properties Opens the Information panel to view and edit the properties of the selected document or simulation document.

You can view properties such as the title, description, owner, and maturity state; and you can edit the title and description.

For more information, see Properties and Information.

Expand All Expands all documents and simulation documents to list their file names.
Collapse All Collapses all documents and simulation documents to hide their file names.

After creating a simulation process using a custom simulation template, the Documents component toolbar allows the user to perform the following actions:

Icon Action Description
Add Document Creates a new document or simulation document.
Check In Uploads a new version of a file and unlocks the file.
Check Out Downloads and locks a file.
Download Downloads a file without locking it.

The user can download multiple files at a time from a document or a versioned simulation document into a .zip file without locking them.

Upload Uploads a new file into a document or simulation document.
Delete Deletes a file from a document or simulation document.
Collaboration and Approvals Opens the selected simulation document in the Collaboration and Approvals app.

For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Web App - Classic | Collaboration & Approvals.

Properties Opens the Information panel to view and edit the properties of the selected document or simulation document.

The user can view properties such as the title, description, owner, and maturity state; and they can edit the title and description.

For more information, see Properties and Information.

Expand All Expands all documents and simulation documents to list their files.
Collapse All Collapses all documents and simulation documents to hide their file names.