Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created two option sets called state and city. and have added xml web resource creating options I need.and then followed following steps in the following link https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2015/developers-guide/gg594433(v=crm.7) . now on load I am getting error sdk not defined at eval code. anyone please help me solve this problem  .

thank you

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

    hi Ravi,

         should I add anything else other than xml webresource and javascript webresource which s given in thsteps of the above link to the crm.

    thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

    can u please explain the perquisites part of this optionset generator. i didnt understand it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

    hi sir,

          yes I completed 3rd step

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

    You can also use this to generate it:crmoptionsets.azurewebsites.net

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: dependent option sets sdk code. getting an error on using the code "reference error: sdk not defined at eval code"

    Hi,

    Did you complete step #3 -Add the sample_SDK.DependentOptionSetSample.js Script web resource to the JScript libraries available for the form?

    If yes, try refreshing your form or try different browser.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans