Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Getting Last Modified date thru CMSContext View modes: 
User avatar
Member
Member
jp.principio.mail-gmail - 9/29/2011 10:00:37 PM
   
Getting Last Modified date thru CMSContext
Hi,

Can I get the LastModifiedDate field thru CMShelper or cmscontext?

Thanks,

JP

User avatar
Kentico Support
Kentico Support
kentico_radekm - 10/4/2011 3:22:00 AM
   
RE:Getting Last Modified date thru CMSContext
Hello.

You did not specify for what document type you want it. In general, yes, it is possible using GetValue("columnName") method on given object.

For example:

CMS.CMSHelper.CMSContext.CurrentDocument.GetValue("DocumentModifiedWhen")


Best Regards,
Radek Macalik