Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Update DMS Folder ID
    • Sign In

    • State Not Answered
    • Replies 8 replies
    • Subscribers 66 subscribers
    • Views 323 views
    • Users 0 members are here

    Update DMS Folder ID

    Dave Cole
    Offline Dave Cole 5 months ago

    I am looking for a cmdlet that will update the dms folder ID of an existing folder to a new number. We use the PDF rendition service across multiple datasources and maintaining the settings file (*.set) is tedious since the file can only be edited using InterPlot. The thought is that having the same folder ID in each datasource for these SET files would allow those files to be synced to other datasources, thereby allowing us to make one update with InterPlot and have that SET file sync to all the other datasources. These files don't change often (usually when we add capability) but the folder ID update ability would be handy.

    • Sign in to reply
    • Cancel

    Top Replies

    • Kevin van Haaren
      Offline Kevin van Haaren Wed, Mar 29 2023 5:36 PM in reply to Kevin van Haaren +1
      This is the powershell I use to sync files from one datasource to multiple destination datasources. If I remember correctly Copy-PWDocumentsBetweenDatasources was either really slow when I was copying…
    • Bill Graefe
      Offline Bill Graefe Mon, Apr 3 2023 12:07 PM in reply to Brian Flaherty +1
      I've deduced most of the data model as Bentley would not supply the ERD when asked. Keyword: Most . No way I'd go that route especially after only just finding out what o_instanceid is on dms_proj. Something…
    Parents
    • Brian Flaherty
      0 Offline Brian Flaherty Mon, Apr 3 2023 11:55 AM

      As you surely know, be very careful when messing with folder ids within the database. Can definitely cause issues if you muck it up.  

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Bill Graefe
      0 Offline Bill Graefe Mon, Apr 3 2023 12:07 PM in reply to Brian Flaherty

      I've deduced most of the data model as Bentley would not supply the ERD when asked. Keyword: Most. No way I'd go that route especially after only just finding out what o_instanceid is on dms_proj. Something might be hiding somewhere. I've been looking at the db for about 6 years

      Bill

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Mon, Apr 3 2023 12:47 PM in reply to Bill Graefe

      Got you beat Bill.  Been looking at if for 23 years.  LOL

      Cheers. Hope you are doing well.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Brian Flaherty
      0 Offline Brian Flaherty Mon, Apr 3 2023 12:47 PM in reply to Bill Graefe

      Got you beat Bill.  Been looking at if for 23 years.  LOL

      Cheers. Hope you are doing well.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    No Data

    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