Question

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

enter image description here

Why it is happening? where can I find the reference? Is possible our kentico liscence is for only one directory?

Was it helpful?

Solution

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

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top