A Segment in Docomotion is a component of a form that can be saved under a unique name and seamlessly integrated into a form during the design phase. Segments are pivotal for reducing design time, particularly for recurring sections found within the form system.
Segment Types: Linked and Unlinked
Linked Segments: These segments cannot be edited directly within the form and are only alterable by modifying the original Segment Form. Any changes to a linked segment are automatically reflected in the form and subsequent output.
Unlinked Segments: These segments can be edited directly within the form like any other text. Changes to an unlinked segment do not affect the form or generated output.
Creating Segments:
In Docomotion:
- Create and edit Form Segments in Docomotion similar to regular forms.
- Alternatively, create a Segment from an existing form directly within the Designer.
Inside the Designer:
- Open the form you want to create the Segment from.
- Select the desired content in the form.
- Click on “Segment” in the Designer Toolbar, then choose “Save.”
- Enter a name and description for the Segment, and decide whether to add it as linked.
- Click “OK,” and the segment is automatically published.
Adding Segments to a Form:
Unlinked Segment:
- Open the form in the Designer.
- Position the cursor where you want to add the Segment.
- Click on “Segment” in the Designer Toolbar, then choose “Insert.”
- Select the desired Segment; it is inserted into the form and can be edited independently.
Linked Segment:
- Open the form in the Designer.
- Position the cursor where you want to add the Segment.
- Click on “Segment” in the Designer Toolbar, then choose “Insert.”
- Select the desired Segment, check the “Linked Segment” checkbox, and click “OK.”
- Enter a name for display purposes.
- The linked segment is inserted, and its properties are displayed in the Form pane.
Editing Segments:
To edit a Segment:
- Open the Docomotion App in Salesforce.
- In the Forms tab, select the Segment identified by the icon I_Segment.
- Click “Open Designer” to make changes.
- After editing, upload the modified Segment to the cloud.
- In the Docomotion Forms tab, select the Segment and click “Publish” to apply the edits.