Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Adxstudio 7.22 - Language Localization

Posted on by

We are trying to create a Spanish subscriber site to our main Adxstudio portal.  I'm following these instructions: https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/web-controls/crmentityformview/language-localization/

So far it has gone well, but I am getting errors trying to insert the Page_Init code on templates with EntityForm, WebForm, or CRMEntityFormView controls.

All three contain this line:

var context = new XrmServiceContext();


But I am getting an error:

Then on the CrmEntityFormView Page_Init I'm getting the below error:

I am not given the option to add any references, just the option to generate a new class.  Has anyone gone through this process or have any ideas about what might be wrong? 

*This post is locked for comments

  • ptoninato Profile Picture
    ptoninato on at
    RE: Adxstudio 7.22 - Language Localization

    Sorry, here are the errors:

    The type or namespace name 'XrmServiceContext' could not be found (are you missing a using directive or an assembly reference?)

    The name 'FormControl' does not exist in the current context

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans