Adds an additional custom filter to the lookup, with the "AND" filter operator. Can only be used within a "pre search" event handler
Specifies the filter, as a serialized FetchXML "filter" node.
Optional
entityLogicalName: string(Optional) The logical name of the entity.
If entityLogicalName is not specified, the filter will be applied to all entities valid for the Lookup control.
Example filter: <filter type="and">
<condition attribute="address1_city" operator="eq" value="Redmond" />
</filter>
Adds a custom view for the Lookup dialog.
Unique identifier for the view, in Guid format.
Name of the entity.
Name of the view to display.
The FetchXML query for the view's contents, serialized as a string.
The Layout XML, serialized as a string.
true, to treat this view as default.
Cannot be used on "Owner" Lookup controls. The viewId is never saved to CRM, but must be unique across available views. Generating a new value can be accomplished with a External Link: Guid generator.
Example viewId value: "{00000000-0000-0000-0000-000000000001}"
Displays an error or recommendation notification for a control, and lets you specify actions to execute based on the notification.
Adds an event handler to the "lookup tag click" event.
The function to add to the OnLookupTagClick event.
Adds an event handler to the OnOutputChange event.
The function to add to the OnOutputChange event.
Adds a handler to the "pre search" event of the Lookup control.
The handler.
Clears the notification identified by uniqueId.
Optional
uniqueId: string(Optional) Unique identifier.
true if it succeeds, false if it fails.
If the uniqueId parameter is not used, the current notification shown will be removed.
Gets the control's bound attribute.
The attribute.
Gets the controls type.
The control type.
Values returned are:
Gets the name of the control on the form.
The name of the control.
The name assigned to a control is not determined until the form loads. Changes to
the form may change the name assigned to a given control.
When you use the control getName method the name of the first control will be the
same as the name of the attribute. The second instance of a control for that
attribute will be "
Returns a dictionary of the output properties of the control.
A dictionary for the output parameters from the control.
For a PCF control this is of the pattern
Removes the handler from the "lookup tag click" event.
The function to be removed from the OnLookupTagClick event.
Removes an event handler from the OnOutputChange event.
The function to remove from the OnOutputChange event.
Removes the handler from the "pre search" event of the Lookup control.
The handler.
Sets a control-local notification message.
The message.
Unique identifier.
true if it succeeds, false if it fails.
When this method is used on Microsoft Dynamics CRM for tablets a red "X" icon appears next to the control. Tapping on the icon will display the message.
Generated using TypeDoc
Interface for a Lookup control.
See
StandardControl