selectRecord for Generic Link Fields
Learn about selectRecord function for Generic Link Fields.
Defining a selectRecord
function for a generic link field provides the user with a context menu where he can select the info area from which to pick a record.
- Use the
infoAreaIds
parameter to define the content of the context menu. For further details, see Syntax.
selectRecord({
from:{
infoAreaIds:[
"CM",
"KM"
]
}
});
This defines the following context menu (using the standard table captions for the menu entries' labels):
The user can link a task to records from the Campaign or Ticket info area.
Generic link fields with no selectRecord
function defined
display a context menu listing all available info areas. Use the
RecordSelector.GenericInfoAreas
Web Configuration parameter to define a
subset of info areas globally. For further details, see RecordSelector.GenericInfoAreas/ RecordSelector.InfoAreasWithGenericLinks.