Home Ask Login Register

Developers Planet

Your answer is one click away!

Jonas Rapp February 2016

MSCRM Identify Quick View attributes on form attribute collection

On a form in Microsoft Dynamics CRM you can place a Quick View Form to show information from a related parent entity. I use javascript to dynamically retrieve all attributes on the form:

Xrm.Page.data.entity.attributes.forEach(function (attribute, index) { ... }

As of CRM 2016, this method gives me all attributes available, including attributes from the parent entity. Is there a way to identify which of the returned attributes that actually belong to the parent entity and are only available because of the QV Form placed on the form?


LuisM February 2016

Either filtering the fields in advance or using the .getParent().getId() with each attribute, comparing the main form entity id with Quick view entity id.

Post Status

Asked in February 2016
Viewed 1,627 times
Voted 9
Answered 1 times


Leave an answer

Quote of the day: live life