Custom Action for IB Timeline LWC
To create a custom action for IB Timeline LWC:
1. Go to ServiceMax Setup > Service Flow Manager > Custom Actions. The Custom Action page is displayed.
2. Select an object from the Manage Custom Actions for drop-down list.
3. In the User-defined Custom Actions, click New.
4. Select Action Type as UI Component. The Custom Action details page for the selected object is displayed.
5. Enter the details as described in the following table:
Field
Description
Object
Displays the name of the object for which you are creating a custom action.
Action Title
Enter the title to appear on the record page. For example, Issue Report/Feedback.
Action ID
Enter a unique ID for the custom action.
Description
Enter a description for the custom action.
Component Type
Select Managed Components from the list.
Name
Select Timeline from the list.
Modal Height
Select a height from the list. This refers to height of the component when displayed at runtime.
* 
It is recommended to set this value to Medium.
6. Click Add to define the list of parameters for this custom action.
Parameter
Acceptable Values
Example
ibField
Installed Product lookup Field. (API Name of IB Field on the record)
Id or SVMXC__Parent__c or SVMXC__Top_Level__c for Installed Product object.
earliestRange
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
3
label
Any string value
Timeline
latestRange
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
2
objectApiName
The API name of the underlying object on which the timeline is launched
SVMXC__Installed_Product__c
preferredHeight
Small, Medium, Large
Medium
recordId
Select Field Name and then select Id. The Id of the record on which the step is configured.
daysToShow
Number of days to be displayed on graph
60
The following screenshot displays a sample IB Timeline custom action configuration on the Work Order object.
7. Click Save.
Was this helpful?