ifClause for CoreMenuItems in UCM 11g

I plan on blogging a bit about UCM 11g, as I gain more experience with 11g.

One useful but seemingly not yet documented feature I discovered today, was that it’s  possible to specify an ifClause for menuitems. Flags can be used to specify some conditions, but this is a bit limited.

With an ifClause, however, you can type any Idoc expression you want. Here’s an example:

<@dynamicdata CoreMenuItems@>
id, label, linkType, linkData, ifClause
MY_MENU, wwMenuLabel, , , IsLoggedIn and UserIsAdmin and (isTrue(someVar) and userHasAccessToAccount("account", 2))
<@end@>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: