Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Custom menu items for Workarea only
marcmundt
Hi, everyone...
Does anyone know if its possible to have a custom menu item only appear when the user is in a workarea (ie not at Branch level or in ToDo list)? Some of the built-in menu items do this (New File, New Directory, etc).
Thanks,
Marc
Find more posts tagged with
Comments
Migrateduser
I don't think that's possible. However you can code your custom menu script so that it will only do something if the user is in a certain workarea, otherwise it would either do nothing or even better pop up a window telling the user they can't perform that operation from branch X.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
Edited by Smitty77 on 05/14/03 03:22 PM (server time).
Migrateduser
Yes, as Dave said you can throw an error. One way to do it is by looking for the string 'WORKAREA' in the path_0 variable.