Make notes readonly with CRM

To make notes readonly with CRM, just find the notes iframe: notescontrol.
Then replace the iframe src with the url of the notesdata.aspx page.
And specify the parameters EnableInlineEdit and EnableInsert.
And you’re done!

var oNotes = document.getElementById(“notescontrol”);
oNotes.src= “/_controls/notes/notesdata.aspx?id=” + crmForm.ObjectId + “&ParentEntity=”+crmForm.ObjectTypeCode + “&EnableInlineEdit=false&EnableInsert=false”;

Leave a Reply

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