- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm just getting into Vault Extensions and want to know if below if possible:
I want to create some sort of pre-check on the Change State event.
So before I click on Change State, I want to pop up a form to fill in/check properties, then save the properties and then if I click proceed on that form, continue to the actual native Change State command from Vault.
Or if I click Cancel, it doesn't fire the Change State command at all.
So I can imagine the following:
1. Hide the original command button for Change State.
2. Substitute it with my own button+commanditem.
3. When I press a button on my form, execute the native Change State commanditem, which would normally fire when pressing change state.
I'm able to connect to the ChangeState event of the DocumentService, but I want to do something before the Change State window pops up.
I'm also able to catch the command via the CommandBegin event, so I know the id of the commanditem (ChangeLifecycleState).
But I don't know how to execute a native command from Vault, in this case Change State.
Can anybody help me with this?
I work with Vault Professional 2021 and my extension is in VB.net.
Thanks in advance.
Solved! Go to Solution.