locked
JavaScript field names RRS feed

  • Question

  • Hello,

    I've been using Microsoft Dynamics 2011 from a customer perspective for 2 years up until recently. Now I'm using it from a support & development prospective.

    I'm trying to learn JavaScript at the moment and to implement it into CRM, which I'm having some success.

    The only thing I'm struggling with is finding out the names in the coding, for example:

    • .setRequiredLevel = setting the required level for a field

    Can anyone shed some light on this? I apologise in advance if I haven't explain myself properly. 

    Thanks,

    Chris

    Wednesday, February 12, 2014 9:47 AM

Answers

  • hi, 

    You can try below code to set the required level

    Xrm.Page.getAttribute("abc_detail").setRequiredLevel("required");

    you can also find the help code in the below given link

    http://msdn.microsoft.com/en-us/library/jj602964.aspx

    Thanks & regards

    Subhash

    Wednesday, February 12, 2014 10:10 AM