nqwebdev1
-
7/9/2013 2:33:16 PM
CMSContext.CurrentDepartment - where do you set the value?
Hi there,
I'm building an Intranet from scratch and there's this one value that I cannot get - CMSContext.CurrentDepartment.NodeGUID and CMSContext.CurrentDepartment.NodeAlias - always returns empty.
Where do you derive this value from?
I'd like to display on the page with the "statictext" webpart the name of the current department and use the default value {% CMSContext.CurrentDepartment.NodeAlias %} but it always returns empty. But if I were to use the example site, it will return the correct site.
What did I do wrong?
|