I would like feedback on developer experiences when
customizing menus in WorkSite Web. Tell me all about the pains you've endured and what would be on your wishlist for improving menu customization. NOTE: I'd like to keep this topic focused on menu customizations. I will be soliciting feedback in other customization areas in the near future.
Before I ask about your experiences, I'd like to give a quick overview of how menus function in WSW. There are two pieces involved: business logic in the iManage.WorkSite.Web.UI assembly and client-side JavaScript (ClientMenus.js) that uses the server-side business logic to build the menu.
When a user clicks on an Action button, we use AJAX to go to the server-side to determine a user's access to the object. Based on business logic in iManage.WorkSite.Web.UI, we build a client-side object called "pObj" that contains access information and send it back to the client-side JavaScript. Inside ClientMenus.js, the pObj properties are used to add menu items. For example, a user will only see the Import menu command on a folder Action button if pObj.canImport and pObj.canAddDoc are true.
Now it's your turn. Here are some things that keep me up at night (detailed responses are greatly appreciated):
- What have you done to customize menus: hide menu options, change captions, redirect to different ASPX pages, etc.?
- Do you find our current customization approach difficult?
- Do you find upgrades painful?
- Have you ever had the need to modify the business logic in the assembly iManage.WorkSite.Web.UI? If so, please provide details why this was necessary.
- Have you ever had the need to modify the CSS styles?
- Did you even know you could customize menus?!
- Did you know that there's documentation on customizing menus and their CSS styles?!
Thanks in advance for your help,
dabird