Newer Version Available
DynamicMenuItem Class
Contains properties to define and hold the details for a single dynamic menu item Each
item contains information related to an object, such as identifiers, labels, summaries, and
sorting logic. It enables bots to present context-aware and user-relevant choices dynamically
during conversations. .
Namespace
DynamicMenuItem Properties
Learn more about the properties available with the DynamicMenuItem class.
The DynamicMenuItem class includes these properties.
EntityId
API name representing the ID field of the related Salesforce object.
Signature
public String EntityId {get; set;}
1ise_bots_apex.DynamicMenuItem, EntityIdProperty Value
Type: String
EntityIdValue
The ID value retrieved at run time for the associated object.
Signature
public String EntityIdValue {get; set;}
1ise_bots_apex.DynamicMenuItem, EntityIdValueProperty Value
Type: String
EntityName
API name or label of the object being referenced, for example Case, Contact, or a custom
object such as Service__c.
Signature
public String EntityName {get; set;}
1ise_bots_apex.DynamicMenuItem, EntityNameProperty Value
Type: String
EntityNameValue
The name of the specific object instance.
Signature
public String EntityNameValue {get; set;}
1ise_bots_apex.DynamicMenuItem, EntityNameValueProperty Value
Type: String
Label
The label used to define how the item must be displayed in the bot menu.
Signature
public String Label {get; set;}
1ise_bots_apex.DynamicMenuItem, LabelProperty Value
Type: String
LabelValue
The value of the label displayed to the user for the menu item at run time.
Signature
public String LabelValue {get; set;}
1ise_bots_apex.DynamicMenuItem, LabelValueProperty Value
Type: String
SummaryTextWithFormula
A formula or a string of text that defines the structure of the summary text displayed
for the item. This formula is used to construct a dynamic summary for the user after they make a
selection.
Signature
public String SummaryTextWithFormula {get; set;}
1ise_bots_apex.DynamicMenuItem, SummaryTextWithFormulaProperty Value
Type: String
SummaryTextWithFormulaValue
The summary string based on the formula and object data.
Signature
public String SummaryTextWithFormulaValue {get; set;}
1ise_bots_apex.DynamicMenuItem, SummaryTextWithFormulaValueProperty Value
Type: String
sortByDate
The API name of a date or date/time field on the object that's used to sort the dynamic
menu items.
Signature
public Date sortByDate {get; set;}
1ise_bots_apex.DynamicMenuItem, sortByDateProperty Value
Type: Date
sortByDateValue
The DateTime value used at run time to sort the menu items chronologically.
Signature
public Date sortByDateValue {get; set;}
1ise_bots_apex.DynamicMenuItem, sortByDateValueProperty Value
Type: Date