Check if Local File has ever been in the vault

Check if Local File has ever been in the vault

Anonymous
Not applicable
447 Views
1 Reply
Message 1 of 2

Check if Local File has ever been in the vault

Anonymous
Not applicable

Is there a way to check if a local file has ever been checked into the vault?

 

We have an issue where people may go away from site and not have access internet or the vault and create the same part numbers as someone who has remained on site. i.e

 

Person A is on site and creates Part 1 - 10 and checks these into the vault etc.

Person B is away from site and creates Part 1 - 5 and cannot check these into the vault. 

 

When person B comes back to site they need to check their 5 parts into the vault, however the numbers are already taken and we do not want to have duplicate file names.

 

We are writing an application that will check in Person B's parts and rename to the next part number (eg Part 11 - 15).

 

I see there are a couple of options:

 

  • Part name exists locally but not in vault -> never been checked in
  • Part name exists locally and in the vault
    • Could be the same file (This is fine, can use vault to handle whether to check in or not etc)
    • Could be a duplicate file name but different part

Is there a way to check the latter? i.e check if a local file has never been added to the vault.

 

Note typically these files are Inventor only.

 

Thanks

 

 

0 Likes
448 Views
1 Reply
Reply (1)
Message 2 of 2

junyi_zhu
Autodesk
Autodesk

Once you identify the name duplication, you can try FindFilesByDatesAndChecksums to check if the local file is vaulted. It should return you valid vault id if local file is vaulted and not modified.



Junyi Zhu

0 Likes