kentico_borisp
-
12/21/2011 10:05:02 AM
RE:How to get a custom document field programatically.
Hello,
If you've retrieved the current document, you should be able to get the value with the GetValue method. For example, with a valid context, the code below should work:
string dn = CMS.CMSHelper.CMSContext.CurrentDocument.GetValue("ColumnName");
Best regards, Boris Pocatko
|