Prevent vault item category change and prevent change item lifecycle definition

Prevent vault item category change and prevent change item lifecycle definition

John204
Participant Participant
724 Views
2 Replies
Message 1 of 3

Prevent vault item category change and prevent change item lifecycle definition

John204
Participant
Participant

Hi,

 

We have created a custom item category and custom lifecycle definition that is assigned with the custom item category. I would like to restrict users from changing the custom item category and its lifecycle definition using the Vault 2016 API.  It looks like my options are limited as far as item events where I can add a restriction.  I tried EditItemEvents but this does not seem to trigger on an item category change.  There is AddItemEvents but I’m not sure what this does.  Anyone have any suggestions if what I want to do is possible and how to go about it?

 

Thanks.

0 Likes
Accepted solutions (1)
725 Views
2 Replies
Replies (2)
Message 2 of 3

sajith_subramanian
Autodesk Support
Autodesk Support
Accepted solution

Hi John204,

 

There are a few things you could try here.

 

1. Use a tool like fiddler to check which API gets called when changing your custom item category / lifecycle definition.

If you are new to fiddler, here is an article that should help you get started.

 

http://justonesandzeros.typepad.com/blog/2012/03/fiddling-with-the-vault-api.html

 

2. The API help document in the SDK should contain information about what events are triggered by which methods. Try searching for "Web Service Command Event Mappings". This should give you the list of all events and what triggers them.

 

3. You may already be aware, there is a sample called RestrictOperations that comes along with the SDK, in case you would want to take a look at the implementation of restriction events.

 

Let me know if this helps.

 

Regards,

Sajith


Sajith Subramanian
Autodesk Developer Network
0 Likes
Message 3 of 3

John204
Participant
Participant

Thank you for the reply Sajith.  The Fiddler program looks interesting, I will give it a try.

0 Likes