resolve type using TypeResolutionService.ResolveType
I am totally new for sitefinity.
I use module builder to customize a module called user module, But when i try to use TypeResolutionService.ResolveType("Telerik.Sitefinity.DynamicTypes.Model.UserModules.UserModule"), during the runtime, it always gives me cannot resolve type error. Can someone please help me out this issue? Thanks in advance!!
Hi Yan,
Login into the backend of your project, go to Content->Your Custom Module. On the right hand side under Settings click on Content Types and go to the Code Reference for Your Custom Module. Go to Create a Content for example and copy all the using statements there in your code - see image Namespaces.png. I hope this resolves the problem.
Greetings,Thanks a lot! It resolvs my issue!