locked
Add option to piclist value RRS feed

  • Question

  • what is the available jscirpt code  crmForm.all.new_casesubtype.AddOption("web site",25);        for crm 2011?
    Software Specialist Crm
    Monday, December 5, 2011 2:12 PM

Answers

  • Hi

    Did this help?

    Please make sure to mark as answer to the response that helped you get through. This will help others with similar problem identify the answer and also close this thread as resolved.

    Thanks

    Dkay

    it doesnt work but i solved the problem    http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/36b9d9d0-68f8-4ece-b3fd-fc9b9f0ec227

    Software Specialist Crm
    • Marked as answer by Ahmet Çankaya Thursday, December 8, 2011 2:11 PM
    Thursday, December 8, 2011 2:11 PM

All replies

  • any idea?

     

    thx


    Software Specialist Crm
    Monday, December 5, 2011 3:17 PM
  • hi
     in crm2011 picklist are referred as optionset
     they can be added as
    
    var subtypeOptionSet = Xrm.Page.ui.controls.get("new_casesubtype");
    
    subtypeOptionSet.addOption("website", 25);
    
    hope this helps
    dk
    if the response answered your question, please take a minute and mark the response as an answer.
    Monday, December 5, 2011 9:42 PM
  • Hi

    Did this help?

    Please make sure to mark as answer to the response that helped you get through. This will help others with similar problem identify the answer and also close this thread as resolved.

    Thanks

    Dkay

    Thursday, December 8, 2011 1:57 PM
  • Hi

    Did this help?

    Please make sure to mark as answer to the response that helped you get through. This will help others with similar problem identify the answer and also close this thread as resolved.

    Thanks

    Dkay

    it doesnt work but i solved the problem    http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/36b9d9d0-68f8-4ece-b3fd-fc9b9f0ec227

    Software Specialist Crm
    • Marked as answer by Ahmet Çankaya Thursday, December 8, 2011 2:11 PM
    Thursday, December 8, 2011 2:11 PM