locked
Form Get Label Error RRS feed

  • Question

  • I am using CRM 2011 and am trying to get the label of the current form through javascript. The command I am using is "Xrm.Page.ui.formSelector.getCurrentItem().getLabel()", but it is failing. The error I am getting is "Unable to get property 'getLabel' of undefined or null reference" for some users.

    It works fine for many users, so I am wondering if this is a privilege issue. If so, what privileges are needed to access this method?

    Thanks!

    Monday, September 19, 2016 7:29 PM

All replies

  • Is the form enabled for all the security roles? sometimes the forms may have security roles assigned to them and others wont have access to this form.

    If my response answered your question, please "mark the response as an answer" and also "vote as helpful". Regards, Hari. www.crm2011byhari.blogspot.com

    Tuesday, September 20, 2016 4:58 AM
  • Refer this

    Regards, Saad

    Tuesday, September 20, 2016 8:54 AM