Adding a temporary id generator to a view
As a developer or an application business analyst, you can use the Temp Id Generator component to create temporary ids that can be used in record definitions of your application.
Before you begin
Make sure you create a view definition with Record editor to which you want to add a temporary id generator. For more information, see Creating-a-view-for-a-record-instance-by-using-record-editor.
To add a temp id generator to a view definition
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to add the Temp Id Generator component.
- On the Views tab, click the name of the view definition to which you want to add the Temp Id Generator component.
- From Palette, drag the Temp Id Generator component to the Record editor component.
In the Properties pane, click Settings
, and then specify the properties:Property
Description
Example
Field name
Select the field in which you want to store the value from the temporary id.
Display label
Enter a name to display a unique label for the field.
Value
Click Click to build an expression, to set a default value for the field.
For example, if you want to set the default value from any other field or a dynamic value, click Click to build an expression, and select the field.
Disabled
Use the toggle key to disable the Temp Id Generator component.
Hidden
Use the toggle key to hide the Temp Id Generator component at runtime.
CSS classes
Defines the style of the component.
For more information, see CSS classes used in View designer components.
Custom settings
Prefix
Enter a letter or group of letters that should be prefixed to the temporary id.
For example, WO
- Click Save.
The following image displays a view that uses the Temp Id Generator component:
Result
The following image displays a view that uses a field for generating temporary id: