Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Get Closest Parent's Field Value in Macro Expression

$
0
0
Hi,I've added a new HeaderImage field to the Page Menu Item type, and I have a hierarchy of menu item pages in content tree.I would like to be able to show the HeaderImage on a page, if it is selected for the page, or get the HeaderImage of closest parent (of type PageMenuItem) in the hierarchy of nodes, up to the root.Is it possible to achieve this in a macro expression? If not, what is my best option?Thank you very much! :-)

Viewing all articles
Browse latest Browse all 8832

Trending Articles