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

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
    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
    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
    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
    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
    55,410 Moderator 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans