Displayed Tabs on the Record Screen: Examples
The displayed tabs are determined once:
-
the Step Settings have been created.
-
In the case of the Path mode, the $Tabs.update action has been performed.
Tab Mode
An example of the Tab mode tabs in the JSON format:
{
"version": 1,
"tabs": [
{
"label": "General",
"sections": []
},
{
"label": "Participants",
"sections": []
},
{
"label": "Expenses",
"sections": []
},
{
"label": "Application",
"sections": []
},
{
"label": "Final",
"sections": []
}
]
}
An example of the Tab mode tabs with the condition in the JSON format:
{
"version": 1,
"tabs": [
{
"label": "General",
"sections": []
},
{
"label": "Participants",
"sections": []
},
{
"label": "Hided tab",
"showSoqlCondition": "FROM RetailVisitKpi WHERE VisitId = '{!Visit.Id}' AND AssessmentTaskId.TaskType = 'Wrong Type'",
"sections": []
},
{
"label": "Expenses",
"showSoqlCondition": "FROM RetailVisitKpi WHERE VisitId = '{!Visit.Id}' AND AssessmentTaskId.TaskType = 'Expenses'",
"sections": []
},
{
"label": "Application",
"sections": []
},
{
"label": "Final",
"sections": []
}
]
}
Path Mode
|
An example of the Path mode tabs in the JSON format:
{
"version": 1,
"controlledBy": {
"statusField": "Status__c",
"newStatuses": [],
"completedStatuses": [
"Completed"
]
},
"tabs": [
{
"label": "General",
"statusValue": "New",
"sections": []
},
{
"label": "Participants",
"statusValue": "In Progress",
"sections": []
},
{
"label": "Expenses",
"statusValue": "In Progress",
"sections": []
},
{
"label": "Application",
"statusValue": "In Progress",
"sections": []
},
{
"label": "Final",
"statusValue": "Completed",
"sections": []
}
]
}