{Dynamics Portal:: Set Lookup Field Read-Only}

Here is the snippet which helps to set the lookup field as “read-only” in the dynamics portal. 

$('#parentaccountid_entityname').attr("readonly","readonly"); $('#parentaccountid').parent().find('.input-group-btn').hide()}

2 thoughts on “{Dynamics Portal:: Set Lookup Field Read-Only}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.