Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Moving files, automatically
    • Sign In

    • State Verified Answer
    • Replies 5 replies
    • Subscribers 63 subscribers
    • Views 3147 views
    • Users 0 members are here
    • Distribution Service
    • Rules Engine

    Moving files, automatically

    Michael Oersted
    Offline Michael Oersted over 8 years ago

    I'am looking for a way to move files from one folder to another, either by using the Rules Engine, or eg the distributions service. One example could be when changing status, moving the file to another folder ? Anybody tried this ?

    • Sign in to reply
    • Cancel
    • Dean Lyon
      0 Offline Dean Lyon Mon, Nov 24 2014 1:43 PM
      There are several ways to approach this. You can have distribution service find all documents with a status and move them to one location. I have done this several years ago and it worked. It searches and moves documents each time the job is run.
      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Michael Oersted
      0 Offline Michael Oersted Tue, Nov 25 2014 1:31 AM in reply to Dean Lyon
      Interesting, beacuse my distribution service, only knows how to copy files. I'am using the Distribution Service inside the Orchestration Framework Administrator. And have severals job running there. But here it´s just a mirror of files. I'am looking for a way to move them from one folder to another. I do not have a Distribution Server.
      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • PaulDuffy12
      0 Offline PaulDuffy12 Thu, Feb 12 2015 4:47 AM in reply to Michael Oersted
      Dean/Michael,

      Has this subject progressed at all? Is there a way that files can be "moved" with Distribution Service? I have been involved with DS for a number of years, but I have to agree with Michael in that we have only been able to "Copy" files. The "Move" has been referred to elsewhere, but I am unable to find any definitive documentation or support for this.

      This is a requirement we have now, and it is becoming more urgent. If anyone can assist that would be appreciated.

      We are using DS as part of our hosted PWONLINE solution and we have referred the question back to our MANAGEService support team on the Bentley side, but we have yet to get an answer from them that this can be done with DS. If they do report back I will update this post.
      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Dean Lyon
      0 Offline Dean Lyon Thu, Feb 12 2015 8:05 AM in reply to PaulDuffy12

      I do not have DS setup at this time, so I can't check. I used DS about 10 years ago, it may have changed, or I may have used it with a hook I wrote. Your best bet on getting what you need exactly is to write a Hook using the API in C++. The hook could trigger on state change or any other event you need it to and either perform the move action before that event took place, integrate it into the event takng place, or after the event takes place.  The dll  you create would have to be installed with registry entries on each client machine that you wanted the behavior on.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Marty.Nickel
      0 Offline Marty.Nickel Thu, Feb 12 2015 8:53 AM in reply to PaulDuffy12
      Hi Paul,

      As of right now there is nothing in PW that will move a file. The reason behind this is because a move is essentially a copy and delete, and there is nothing in the PW code that will do a massive delete without the user's interaction which is how PW has always been. The only way to "move" would be to use Distribution or iCS to copy the files and then any user would have to go in and manually delete the file.

      Also for your knowledge, Distribution will no longer be offered as a product in the next release of PW. iCS for PDF has replaced this and does a much better job because it can scale out and performance is much better. Supporting both, iCS is a cake walk compared to the pains myself and users have gone through with it over the years.

      Thanks,
      Marty



      Answer Verified By: Dana Guthrie 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Reject Answer
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies