UpdateFileProperties result of wrong BOMblob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
We developped an external tool to update properties on multiples files.
We discovered that the method UpdateFileProperties (DocumentService Class) don't update the BOMblob (by example if you are editing the value of partnumber and tring to create an item, the item still use the old value). If you change the value manually throught the Vault Client no problem, the BOMblob is up-to-date and the item is using the right partnumber.
By analysing (with Fiddler) the Vault API calls when editing this manually we discover this sequence:
1) CheckoutFile
2) GetProperties
3) UpdateFileProperties
4) GetCintentSourceIdsByFileIds
5) GetComponentProperties
6) GetProperties
7) GetDownloadeTicketByFileIDs
8) DownloadFilePart
9) GetVaultOption
10) GetBOMByFileId => to get the actual BOM
11) GetFileAssociationsByIds
12) UploadFilePart
13) CheckinUploadedFile => push the new BOM
Then my question: How does Vault Client create the new BOM between the step 10 and 13? Is there now (R2025) an official way to do it through API?
The only solution we found is to empty the BOM and create a JOB for JobProcessor to extract item data.
Thanks in advance