cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add-in loading after user sign-in.

Add-in loading after user sign-in.

Vault add-ins and their command sites are currently loaded on client startup.

My suggestion is that the command sites can be loaded or altered on user sign-in as this is currently not possible.

 

It would be very useful for removing or adding functionality that only users with certain privileges should have.

For example a normal user would in our Vault not be importing multiple documents, but they can still see the button and clicking on it would simply give them an error because they do not have the privilege to do so.

 

Instead what would be very useful is to simply not load that button, or remove it, if the user does not have permission.

 

The way I could imagine that working is through the .NET IExplorerExtension functions CommandSites, DetailTabs and HiddenCommands being called after the OnLogOn method.

 

Maybe something that can be switched on in the extension .vcet file:

<LoadAfterLogOn>True</LoadAfterLogOn>

 

2 Comments

I would love such a functionality too. We have Groups and Roles for Users, and depending on them, they can execute commands. So far, I have to check it inside the command execution method, which is called by the command.

 

There is a "HiddenCommands" extension, but I never got it working and there is no documentation or examples on how to use it.

 

Be able to show or hide commands, based on the user or their details, is something, everyone I know wants.

mattias.viklund01
Participant

The problem with HiddenCommands is that it only hides commands that are already in the vault, but you can't do it after a user has signed in, only on start up.

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

Submit Idea