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