OnLookupTagClick Event (Client API reference)

This event occurs when the user clicks the tag in a lookup control.

An execution context object is passed to event handlers for this event. You can use the getEventArgs method to retrieve an object that has the getTagValue method.


Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.

The getTagValue method returns an object with the following properties:

  • name. String. Name of the tag.
  • id: String. ID of the tag.
  • entityType. String. Table type of the tag.
  • fieldName. String. The originating lookup column that raised the event.

Methods supported for this event