Get the latest updates file from Vault professional project folder and copy to share folder

Get the latest updates file from Vault professional project folder and copy to share folder

wingfaimanJN5SK
Enthusiast Enthusiast
633 Views
4 Replies
Message 1 of 5

Get the latest updates file from Vault professional project folder and copy to share folder

wingfaimanJN5SK
Enthusiast
Enthusiast

Dear all,

 

How can I copy the latest files from Vault professional project folder and copy to share folder.

I found a similar solution --  VAO VGet, but I don't want get ALL the files from the directory. Instead, I only want to get the latest update (say yesterday). And we plan run everyday. 

Any solution for this. Thanks

0 Likes
Accepted solutions (2)
634 Views
4 Replies
Replies (4)
Message 2 of 5

Markus.Koechl
Autodesk
Autodesk
Accepted solution

I suggest combining three pillars: 

  1. the SDK sample C:\Program Files\Autodesk\Autodesk Vault 2023 SDK\VS19\CSharp\JobProcessorApiSamples shares a template on how to download multiple files to a target share.
  2. replace the multi-select by a search result on latest files from yesterday (or since last job run)
  3. Establish a time based job submission (Vault 2019 SDK added the Server job queue, find a sample implementation here: https://justonesandzeros.typepad.com/blog/2018/11/vault-sample-from-au-2018-class-available-online.h...)

Hope this helps to draft a solution approach.

 



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
Message 3 of 5

wingfaimanJN5SK
Enthusiast
Enthusiast

Hi @Markus.Koechl 

 

I have followed your suggestion for point 1). 

I can build the project can deploy, but  in Vault cannot see "Queue Publish Job" command when right-clicking on a file. Please advise, thanks

JobProcessorApiSamplesIssue.PNG

JobProcessorApiSamplesIssue(deployed).PNG

  

to the extension folder. However, when i right click a file, and cannot see the option (publish ...)

0 Likes
Message 4 of 5

wingfaimanJN5SK
Enthusiast
Enthusiast

Hi @Markus.Koechl  Grateful if you can answer me, thanks a lot

0 Likes
Message 5 of 5

Markus.Koechl
Autodesk
Autodesk
Accepted solution
I can't with the information provided. I suggest debugging the loading process for more insights.


Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe