Monthly Archives: April 2018

Get current entity logical name and record ID in CRM Portal forms using JavaScript

Use the following JavaScript to retrieve the current entity logical name and record ID in CRM Portal forms: For Entity Form: Entity logical name: $(“#EntityFormControl_EntityFormView_EntityName”).val() Record ID: $(“#EntityFormControl_EntityFormView_EntityID”).val() For Web Form Step: Entity logical name: $(“#EntityFormView_EntityName”).val() Record ID: $(“#EntityFormView_EntityID”).val() Tested on xRM … Continue reading

Posted in CRM, CRM Portal | Leave a comment