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 :)
↧