Problems in Kentico, doesnt find CMSItem reference
Pregunta
we had some movements of some webservices yesterday in our project. We had the web services in trunk of SVN, we created a branch for them because we want to use the webservices in our website in the branch too.
Ok, after to do it I am getting the next error: looks like doesnt find CMSItem just when I run the webseite.
We have a Kentico version 7
Why it is happening? where can I find the reference? Is possible our kentico liscence is for only one directory?
Solución
In Kentico 8, CMSItem
lives in the CMS.Helpers namespace.
You're using v7, where it lives under CMS.GlobalHelper
.
E.g.
CMS.GlobalHelper.CMSItem
Make sure you've referenced the CMS.GlobalHelper.dll
in your project.
See API docs
Kentico 7 > Reference Guides > Kentico CMS API reference > CHM file
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow