Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Context Menu - Add Sub-Folders?

2 REPLIES 2
Reply
Message 1 of 3
ThomasRambach
251 Views, 2 Replies

Custom Context Menu - Add Sub-Folders?

ThomasRambach
Advisor
Advisor

Using the Vault API, I'm able to create custom right-click context menu for files. I don't see any method to be able to create sub-folders of commands within a custom right click menu. Is this possible and how would you do this? 

0 Likes

Custom Context Menu - Add Sub-Folders?

Using the Vault API, I'm able to create custom right-click context menu for files. I don't see any method to be able to create sub-folders of commands within a custom right click menu. Is this possible and how would you do this? 

2 REPLIES 2
Message 2 of 3

fabian.steinruck
Contributor
Contributor

Do you mean a pulldown menu?

fabiansteinruck_0-1713427465808.png

 

If so, look at this sample

 

 

  Dim testToolsCmdSite As New CommandSite("testToolsContextMenu", "Test Tools") With {
                .Location = CommandSiteLocation.FileContextMenu,
                .DeployAsPulldownMenu = True ' 
            }

            testToolsCmdSite.AddCommand(WebClientOpenCmdItem)
            testToolsCmdSite.AddCommand(WebClientCopyCmdItem)

             Return Command Sites
              Return New List(Of CommandSite) From {testToolsCmdSite} 

 

 



If not, then you are meaning FolderContextMenu?

Autodesk.Connectivity.Explorer.Extensibility Namespace  > CommandSiteLocation Class  : FolderContextMenu Field

0 Likes

Do you mean a pulldown menu?

fabiansteinruck_0-1713427465808.png

 

If so, look at this sample

 

 

  Dim testToolsCmdSite As New CommandSite("testToolsContextMenu", "Test Tools") With {
                .Location = CommandSiteLocation.FileContextMenu,
                .DeployAsPulldownMenu = True ' 
            }

            testToolsCmdSite.AddCommand(WebClientOpenCmdItem)
            testToolsCmdSite.AddCommand(WebClientCopyCmdItem)

             Return Command Sites
              Return New List(Of CommandSite) From {testToolsCmdSite} 

 

 



If not, then you are meaning FolderContextMenu?

Autodesk.Connectivity.Explorer.Extensibility Namespace  > CommandSiteLocation Class  : FolderContextMenu Field

Message 3 of 3

ThomasRambach
Advisor
Advisor

@fabian.steinruck I want to be able to create a sub-menu of custom commands within the file context menu like "Sub Menu" shown in the image.

2024-04-18_05-55-04.png

0 Likes

@fabian.steinruck I want to be able to create a sub-menu of custom commands within the file context menu like "Sub Menu" shown in the image.

2024-04-18_05-55-04.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report