Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > CurrentDocument macro autocomplete View modes: 
User avatar
Certified Developer v6
Certified Developer v6
szarouski - 4/12/2012 10:05:45 AM
   
CurrentDocument macro autocomplete
Hi I have Kentico v6.0.26 (SP1)‎ and having issues with CurrentDocument macro autocomplete. If I type RootDocument.[and here I type Doc...] I can see various properties like DocumentPageTitle and others. But when I type CurrentDocument.Doc... there are no properties anymore. Would be nice if it will work as RootDocument and give you various properties.

User avatar
Kentico Support
Kentico Support
kentico_janh - 4/12/2012 3:35:51 PM
   
RE:CurrentDocument macro autocomplete
Hello,

Yes, that is right. When you write a macro, you are in macro editor or in some web part field or in some other field etc., but not on the current document, so the current document cotext is missing there, whilst when you are pointing to the RootDocument, then the macro engine knows, which context needs to be loaded.

But we plan to add the autocomplete functionality for the CurrentDocument to the version 7 of Kentico CMS.

Best regards,
Jan Hermann