Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > CMS.GlobalHelper.ValidationHelper' does not contain a definition for 'GetGUID' View modes: 
User avatar
Member
Member
vcarter - 1/29/2014 12:50:39 PM
   
CMS.GlobalHelper.ValidationHelper' does not contain a definition for 'GetGUID'
Can someone tell me what the correct way to get this value might be?
ValidationHelper.GetGUID()

is not working. I am using the Layout section of my QueryDataSource webpart to get the children of a document based on the GUID. The example I found in the forums, recommended the above syntax, but I keep getting:
'CMS.GlobalHelper.ValidationHelper' does not contain a definition for 'GetGUID'

Any thoughts?

User avatar
Member
Member
vcarter - 1/29/2014 1:31:09 PM
   
RE:CMS.GlobalHelper.ValidationHelper' does not contain a definition for 'GetGUID'
CMS.CMSHelper.CMSContext.CurrentPageInfo.NodeGUID.ToString()
works.

ValidationHelper seems to have been the old way of doing things.