EditItems
EventNames:
EditItems_Restrictions
EditItems_Pre
EditItems_Post
Parameters
Type |
Name |
Description |
---|---|---|
items |
The items which should get / are in edit mode. |
|
bool |
successful |
Post: |
Unexpected Behaviour
The EditItems event is raised when:
clicking on Open -> Edit or directly “Update “for the item.
clicking on Save (not save and close) in the dialog then first CommitItem is fired, and then EditItem
activating in the the Bill of Materials Tab of the Item dialog a new item
Examples:
EditItems_Restrictions:
Register-VaultEvent -EventName EditItems_Restrictions -Action 'RestrictEditItems'
function RestrictEditItems($items) {
#Write event code here
}
EditItems_Pre:
Register-VaultEvent -EventName EditItems_Pre -Action 'PreEditItems'
function PreEditItems($items) {
#Write event code here
}
EditItems_Post:
Register-VaultEvent -EventName EditItems_Post -Action 'PostEditItems'
function PostEditItems($items, $successful) {
#Write event code here
}