Event Trigger on Vault Check-In

Event Trigger on Vault Check-In

Anonymous
Not applicable
1,492 Views
6 Replies
Message 1 of 7

Event Trigger on Vault Check-In

Anonymous
Not applicable

Hello,

 

We're interested in rolling out some automation to our company that checks certain iProperties before allowing a user to check in a model. Is there any way to trigger a rule "Before Check-In" or to write custom triggers?

 

Thanks,

Tighe

1,493 Views
6 Replies
Replies (6)
Message 2 of 7

bradeneuropeArthur
Mentor
Mentor

Hi,

What version of vault are you using?

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 7

Anonymous
Not applicable

Vault Professional 2019

0 Likes
Message 4 of 7

bradeneuropeArthur
Mentor
Mentor

Hi,

Based on using an add in for inventor you could use the prevaultcheckinevents!

Don't know if this is what you want.

For ilogic I don't know if this is possible easily!

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 7

marcin_otręba
Advisor
Advisor

it can be done in addin  troug OnActivateCommand event:

for example:

 Private Sub ui_OnActivateCommand(CommandName As String, Context As NameValueMap) Handles oUserInputEvents.OnActivateCommand
            On Error Resume Next
            Select Case CommandName
                Case "VaultCheckin"
'or
                Case "VaultCheckinTop"

            End Select
        End Sub

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

Message 6 of 7

bradeneuropeArthur
Mentor
Mentor

this is not before, and will not trigger before

This is only if the command is activated.

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 7 of 7

marcin_otręba
Advisor
Advisor

Hi,

 

I was using this approach before i switched to vault api DocumentService.AddFileEvents.Pre and DocumentService.CheckinFileEvents.Pre events. and to be honest i still use it because when you will use documentservice your code will be fired after you click ok in vault check in window in inventor.

when using on activate command the code will be fired before vault check in window will be displayed, for me this one is better because i will finnish all before gatering check in files.

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders