Create a pair of fields so that users can enter related values such as the amount of storage consumed and the storage units.
Figure: Example of paired fields
At the end of the tutorial, you will be able to create two related fields so that users can enter a value in the first field and select the type of value in the second field.
Tasks
Complete the following tasks:
- Create a custom object called Storage Units and add a record for each storage unit.
- On the Data model page for Software SaaS, add a field called Storage.
- On the Data model page for Software SaaS, add a field called Storage Units.
Creating the custom object for storage metrics
- Click Configuration > Objects.
- Click Add
.
- Type Storage Units as the name of the object and enter a description. The Object type is Lookup Object.
- Click Save.
- Refresh the screen.
Adding the records
Add a record for each of the following storage units:
- GB
- KB
- MB
- TB
- On the Objects page, type the name of the object in the search field.
- Click the value in the Total records column.
- Click Add
.
- Add and save the records.
Tip
Save time when you add multiple records. When you save a record, click Save & New instead of Save.
Creating the paired field
- Click Configuration > Data model and select Software SaaS.
- Click Add
.
- Enter Storage as the name of the field.
- Select decimal as the data type.
- Click Create.
Pairing the fields
- Click Configuration > Data model and select Software SaaS.
- Click Add
.
- Enter Storage Units as the name of the field.
- As the data type, select Storage Units.
- Click Display Option and select Paired Fields.
- Select Storage as the field available for pairing.
- Click Create.
Result
When you add or edit a SaaS application record, you can add the amount of storage consumed and select the storage unit from a list.
Comments
0 comments
Please sign in to leave a comment.