Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

CMSContext.ResolveCurrentPath does not exist in the current context (Kentico V8)

$
0
0
This is my function. private TreeNode GetParentNode() { TreeProvider tree = new TreeProvider(MembershipContext.AuthenticatedUser); return tree.SelectSingleNode(SiteName, CMSContext.ResolveCurrentPath(NewDocumentPath), TreeProvider.ALL_CULTURES); } After upgrading from Kentico version7 to Kentico v8, "CMSContext.ResolveCurrentPath(NewDocumentPath)" does not exist in the current text. So What Coding can I instead of it. Please help me to Provider API changed from v7 to v8 to replace "CMSContext.ResolveCurrentPath(NewDocumentPath)", but I still can get the same result as what I get from previous(V7). Thank you beforehand :)

Viewing all articles
Browse latest Browse all 8832

Trending Articles