Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Get-PWDMIncomingSubmittals fails with MissingMethodException
    • Sign In

    • State Suggested Answer
    • +1 person also asked this people also asked this
    • Replies 8 replies
    • Answers 1 answer
    • Subscribers 66 subscribers
    • Views 1702 views
    • Users 0 members are here

    Get-PWDMIncomingSubmittals fails with MissingMethodException

    Glenn Ryan
    Offline Glenn Ryan over 3 years ago

    Tried in both x86 and 64 bit with 1.12.X. Then uninstalled everything and loaded latest 1.14.0.0 into x86 and still failed.

    $rp = Get-PWRichProjects -FolderPath 'SomepathToRootProject' -justone
    $rp | GetPWDMIncomingSubmittals
    Get-PWDMIncomingSubmittals : Method not found: 'BTSTypes.Operations BTSTypes.Repository.get_Operations()'.
    At line:1 char:7
    + $rp | Get-PWDMIncomingSubmittals
    +       ~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-PWDMIncomingSubmittals], MissingMethodException
        + FullyQualifiedErrorId : System.MissingMethodException,PWPS_DAB.GetPWDMIncomingSubmittals

    Any ideas?

    • Sign in to reply
    • Cancel

    Top Replies

    • Dave Brumbaugh
      Offline Dave Brumbaugh Thu, Oct 17 2019 9:59 AM in reply to Glenn Ryan +1 suggested
      We know that changes were made in a newer version of the Deliverables Management Connector that causes that to fail. It's on the list to be looked at. We kind of rely on the underlying components to remain…
    Parents
    • Brian Flaherty
      0 Offline Brian Flaherty Tue, Oct 15 2019 12:55 PM

      Ensure you have Deliverables Management installed on the computer you running PowerShell on.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Glenn Ryan
      0 Offline Glenn Ryan Tue, Oct 15 2019 5:30 PM in reply to Brian Flaherty

      Brian

      I do.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Glenn Ryan
      0 Offline Glenn Ryan Tue, Oct 15 2019 5:39 PM in reply to Glenn Ryan

      But to clarify to make sure I'm starting at the right point, how do I verify Deliverables Management installation?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Wed, Oct 16 2019 9:37 AM in reply to Glenn Ryan

      You should see an entry within Programs and Features.

      ProjectWise Deliverables Management connector for ProjectWise Explorer

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Glenn Ryan
      0 Offline Glenn Ryan Wed, Oct 16 2019 9:49 AM in reply to Brian Flaherty

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Glenn Ryan
      0 Offline Glenn Ryan Thu, Oct 17 2019 6:58 AM in reply to Glenn Ryan

      Brian

      Any luck in diagnosing the issue?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Dave Brumbaugh
      0 Offline Dave Brumbaugh Thu, Oct 17 2019 9:59 AM in reply to Glenn Ryan

      We know that changes were made in a newer version of the Deliverables Management Connector that causes that to fail. It's on the list to be looked at. We kind of rely on the underlying components to remain stable. If you roll back your DMC to 10.0.4.169 (the version we're building against), I suspect will work OK. That is not a particularly popular cmdlet per Get-PWCmdletStatistics:

      Cmdlet Executions Datasources EarliestData
      ------ ---------- ----------- ------------
      Get-PWDMIncomingSubmittals 1468 4 11/6/2018 10:28:46 PM

      By comparison, Get-PWDocumentsBySearch has 17M executions and Get-PWFolders has 6M executions.

      Dave

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Reply
    • Dave Brumbaugh
      0 Offline Dave Brumbaugh Thu, Oct 17 2019 9:59 AM in reply to Glenn Ryan

      We know that changes were made in a newer version of the Deliverables Management Connector that causes that to fail. It's on the list to be looked at. We kind of rely on the underlying components to remain stable. If you roll back your DMC to 10.0.4.169 (the version we're building against), I suspect will work OK. That is not a particularly popular cmdlet per Get-PWCmdletStatistics:

      Cmdlet Executions Datasources EarliestData
      ------ ---------- ----------- ------------
      Get-PWDMIncomingSubmittals 1468 4 11/6/2018 10:28:46 PM

      By comparison, Get-PWDocumentsBySearch has 17M executions and Get-PWFolders has 6M executions.

      Dave

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Children
    • Glenn Ryan
      0 Offline Glenn Ryan Tue, Oct 22 2019 10:21 AM in reply to Dave Brumbaugh

      Dave

      Thanks for the suggestion and that has worked. However, the cmdlet didn't do what I thought it would allow me to do (save to a different location in PW, not locally). We changed how we want to stack files from a company and were hoping to avoid having to manually open each transmittal and save it again after DM transmittal save location config change.

      Oh well.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify 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