WCM - How to display content item elements from a Menu Component pointing elsewhere?

2.5k Views Asked by At

In IBM's Web Content Manager I have a page in the path:

TopArea > MainContent > SiteArea > content

which uses a Menu Component to pull items from a slightly different path, such as

TopArea > OtherContent > OtherSiteArea > othercontent

So, in the Menu Component, when I use [Property], [Placeholder], or [Element] tags, it pulls the data from othercontent. However, I need to use some kind of tag to pull data from the page that the menu component is being displayed on content.

Anyone know how to do this?


Here is a more specific example:

  • othercontent has Name: 3ee5fc.
  • content has Name: Home Page.

When using [Property context="autofill" type="content" field="name"] it displays 3ee5fc.

What kind of tag could I use (or what could I do) so that it would display Home Page instead?

Please note that there are multiple content items that are using this menu component, so I can't hard code (select) the content item, I need a tag that will find it based on what item is calling the menu component.

1

There are 1 best solutions below

1
On

You need to change the context attribute. "autofill" will display from the items the menu has selected, where "current" will display the field from the item the menu is placed in.