Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Get-PWAllOwnedConnectedProjectIds returns only manually created project with deliverable management
    • Sign In

    • State Suggested Answer
    • Replies 2 replies
    • Answers 1 answer
    • Subscribers 66 subscribers
    • Views 462 views
    • Users 0 members are here
    • powershell
    • ProjectWise
    • pwps_dab

    Get-PWAllOwnedConnectedProjectIds returns only manually created project with deliverable management

    Ludovick
    Offline Ludovick over 1 year ago

    Hello

    ( Projectwise North Europe Datacenter, On premise Projectwise Datasources Pjw connect Server 3.299)

    I created some connected projects with PowerShell script,

    all is ok and works well,

    i can see them on the web console,

    i have Projectwise connections (web) active and two projects have deliverable management activated manually

    My account is the one displayed as  'Registered By' in the projects

    But when i try to retrieve my Connected projects i use

    $token = Get-PWConnectionClientToken 
    Get-PWAllOwnedConnectedProjectIds -token $token

    but it returns nothing

    Try to use get-pwnonfederatedlogintoken --> the same

    Try to create manually one project on the web console & wait 5 min --> the same

    Add project insight to this server --> the same

    Add deliverable management manually on the project manually created

    --> Immediatly the command return this project GUID but only this one

     Get-PWAllOwnedConnectedProjectIds -token $token


    Guid
    ----
    6035741d-86f5-421f-a196-253d03765390

    am i missing something ?

    best regards

    Ludovick

    • Sign in to reply
    • Cancel
    • Dave Brumbaugh
      0 Offline Dave Brumbaugh Fri, Oct 22 2021 5:24 PM

      Yeah, that uses the DM libraries when querying for projects. DM needs to be enabled for it to pick them up. You could make the case that the cmdlet needs to be renamed.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Ludovick
      0 Offline Ludovick Sat, Oct 23 2021 4:44 AM in reply to Dave Brumbaugh

      Hi Dave,

      It's not exactly as this,

      Projects manually created with DM activated are pick up

      But projects creates with powershell script then DM activated manualy later  are not...

      regards

      LLA

      -

      Ludovick LAGREVOL

      Projectwise Administrator

      • 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