Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.

 

Add MenuItem to the Admin -> Administer Users

Vote:
 

I've found the documentation for adding MenuItems:

https://docs.developers.optimizely.com/content-management-system/docs/adding-and-configuring-menu-items#extend-the-user-settings-menu-using-menu-provider

How ever. How do add a menu item for the Admin > Administer Users -> [USER]?

Which path is this? "/global/..."

In the old CMS 11.17.x you did this:

[GuiPlugIn(DisplayName = "Carts",
               Description = "User's carts",
               Area = PlugInArea.SidSettingsArea, Url = "~/UI/PlugIns/UserCart.ascx")]
#301057
Edited, May 02, 2023 8:39
Manoj Kumawat - May 02, 2023 9:10
Can you try with /global/cms/admin/?
Carl S - May 02, 2023 9:23
But how do I get the current user in the Path? :)

/global/cms/admin/[USERNAME]?
Carl S - May 02, 2023 9:35
/global/cms/admin/ did nothing - nothing got added anywhere.
Manoj Kumawat - May 02, 2023 11:14
Doing that will replace it with existing Admin menu item.
You should try instead "/global/cms/admin/mycustommenu" so that it extends within the admin menu and it should appear.

Take a look at this blog post - https://world.optimizely.com/blogs/mark-stott/dates/2021/8/extending-the-admin-interface-in-optimizely-cms-12/
However, I am unsure if you could add a sublevel item beneath the existing subitem.
Mark Stott - May 10, 2023 7:59
Thanks for the plug :)
Vote:
 

Thanks

#301456
May 10, 2023 8:04
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.