Hello everyone, I was wondering if there is any option of creating a restiction when uploading a file in a UserRequest that isn't going to let me upload 2 files with the same name, could it be posible? thx
😄
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Attachements are saved in pure iTop objects : Attachment. My first idea would be to add a uniqueness constraint, but if this object contains the item_class and item_id fields, there are no fields for the file name.
Maybe add a custom code in the DoCheckToWrite method of this object ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone, I was wondering if there is any option of creating a restiction when uploading a file in a UserRequest that isn't going to let me upload 2 files with the same name, could it be posible? thx
Hello,
Attachements are saved in pure iTop objects : Attachment. My first idea would be to add a uniqueness constraint, but if this object contains the item_class and item_id fields, there are no fields for the file name.
Maybe add a custom code in the DoCheckToWrite method of this object ?