Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Using macro's in layouts View modes: 
User avatar
Member
Member
jogchem.oord-pagedal - 12/23/2011 7:21:49 AM
   
Using macro's in layouts
Is it possible to use macro's in layouts? For example, print the current document alias?

User avatar
Certified Developer 9
Certified Developer 9
charbf - 12/23/2011 8:02:52 AM
   
RE:Using macro's in layouts
Hi,

If you use ASPX layout you can add any .net controls. that include

<%# CMSContext.CurrentDocument.NodeAlias %>

Francois

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/24/2011 3:47:16 AM
   
RE:Using macro's in layouts
Hi,

I will just add to your post the information about how to resolve macros using the API since I think might be insteresting - resolving macros using API


Best regards,
Juraj Ondrus