Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum ProjectWise Managed Workspace Will NOT Pass WorkSpace Name to ORD
    • Sign In

    • State Not Answered
    • Replies 5 replies
    • Subscribers 62 subscribers
    • Views 776 views
    • Users 0 members are here

    ProjectWise Managed Workspace Will NOT Pass WorkSpace Name to ORD

    Christopher Williams
    Offline Christopher Williams over 1 year ago

    Hello,

    I'm at my wit's end and I have tried everything under the sun. We can NOT get PW to pass values for _USTN_WORKSPACENAME and _USTN_WORKSPACECFG to ORD.

    We added TxDOT's workspace configuration to our ProjectWise datasource. I have followed the directions in Bentley's Greenbook "Configuring an OpenRoads Designer Workspace" for adding a CONNECT WorkSpace to the ProjectWise managed workspace and it did not work.
    https://communities.bentley.com/products/road___site_design/m/road_and_site_design_gallery/273744

    I have tried following Bentley's ProjectWise Dynamic Managed Workspace wiki and made my way through all the variables. They all work except for the two listed above.
    https://communities.bentley.com/products/projectwise/w/wiki/56417/dynamic-managed-workspace

    I have even tried setting those values directly in a CSB at every level and applying all those managed workspaces to the project in question and none will pass the value to ORD.

    I have made sure to run keyin:file disassociateworkset on the DGN being opened from PW to make sure that it wasn't already associated with a different workspace/workset and thus wouldn't let those two variables be assigned.

    I'm really at a loss. We contacted Bentley and they said they are too busy to help us right now and that this wouldn't be covered by normal support so they'd have to charge us. (Bentley support is utter trash. As well as their "User Success Managers.") They gave us the name of a third party company but they want to charge around $5k to diagnose and fix the problem.

    Anybody here have any more ideas?

    Thanks,
    Chris

    • Sign in to reply
    • Cancel

    Top Replies

    • Kevin van Haaren
      Offline Kevin van Haaren Thu, Jun 23 2022 8:24 AM in reply to Christopher Williams +1
      Great. I think this was one of the things that threw me when i first started working on moving an ORD workspace into ProjectWise (actually I think this is more how ORD workspaces in general work as well…
    • Kevin van Haaren
      Offline Kevin van Haaren Thu, Jun 23 2022 8:58 AM in reply to Christopher Williams +1
      Christopher Williams said: I joked to my wife that you live in these forums because when I go hunting through them you respond to almost all the threads that come up for me urk. i have an rss feeds of…
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Jun 23 2022 8:58 AM in reply to Christopher Williams
      Christopher Williams said:
      I joked to my wife that you live in these forums because when I go hunting through them you respond to almost all the threads that come up for me

      urk. i have an rss feeds of a couple of forums and i'm a slave to my rss feed rearder :(

      If i see one i can answer quickly i usually will. my first response was from my ipad and from memory. Longer response below is a modification of my notes on workspaces.

       

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Jun 23 2022 8:24 AM in reply to Christopher Williams

      Great. I think this was one of the things that threw me when i first started working on moving an ORD workspace into ProjectWise (actually I think this is more how ORD workspaces in general work as well). I just wanted to test up to the WorkSpace level so didn't set anything workset stuff. Took me a while to figure out you have to set a workset too or ORD won't accept the workspace name.

      Here's the basic outline that I use, it might help going forward (or anyone else stumbling on this):

      Predefined CSB => Define _USTN_CONFIGURATION, point to a projectwise folder
          ORD autoloads WorkSpaceSetup.cfg from this location
              WorkSpaceSetup.cfg defines:
                  _USTN_ORGANIZATION
                  _USTN_WORKSPACESROOT (workspaces with an s)
                  _USTN_WORKSPACEROOT  (workspace no s, this path includes the workspace
                      name, but the name isn't defined yet)
              	_USTN_WORKSPACESTANDARDS
              	_USTN_WORKSETSROOT (worksets with an s)
              	_USTN_WORKSETROOT (workset, no s. this path includes the
              	    workset name, which isn't defined yet)
          ORD autoloads *.cfg from _USTN_ORGANIZATION folder
              I have our corporate standards here
      WorkSpace CSB => Define _USTN_WORKSPACENAME
          ORD autoloads workspacename.cfg from _USTN_WORKSPACESROOT
          Also *.cfg will be loaded from _USTN_WORSPACESTANDARDS folder
      WorkSet CSB => Define _USTN_WORKSETNAME
          ORD autoloads the worksetname.cfg from _USTN_WORKSETSROOT folder
          *.cfg is loaded from _USTN_WORKSETSTANDARDS folder

      I lock all the _USTN variables I set in that list. When I say a cfg file is autoloaded I mean a literal .cfg file in ProjectWise. I don't do any %includes to manually include cfg files. I put all other variables in one of the cfg files that are in projectwise. I try to avoid doing anything else in CSBs.

      One other trick I have is I define a root variable in the Predefined CSB. This is 1 of two places I set a ProjectWise folder in a CSB. All my other variables are strings referencing that variable. The other location is I set _USTN_WORKSPACESTANDARDS based on DMS_PROJECT(_DGNDIR) and _USTN_WORKSETNAME to lastdirpiece(DMS_PROJECT(_DGNDIR)). This way I don't need a custom workset CSB for every project.

      This differs from the Dynamic Config, but I believe it uses the same basic principles of defining the bare minimum in CSB and letting ORD auto-load cfg files from paths it defines. (I also don't try and do a single config for both V8i and ORD)

       

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Christopher Williams
      0 Offline Christopher Williams Thu, Jun 23 2022 1:36 AM in reply to Kevin van Haaren

      Kevin,

      I was having dinner with my family when your response came in and I was keeping an eye on my phone hoping someone would respond. I joked to my wife that you live in these forums because when I go hunting through them you respond to almost all the threads that come up for me. Bentley should be paying you a consulting fee.

      The variables were all locked, but Bentley's Dynamic Managed Workspace cfg files never defined any of the _USTN_WORSET* variables. They defined their _DYNAMIC_WORKAREA stuff but then never set it to the _USTN version. As soon as I did that everything came in.

      I still have some finessing to do on TxDOT's standard Workset.cfg file, but everything is finally loading up.

      Thank you so much!
      Chris

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Hinesh Mistry
      0 Offline Hinesh Mistry Wed, Jun 22 2022 10:50 PM

      Hi Chris, 

      Please feel free to reach out to me and we can certainly help. My email is hinesh.mistry@pencil9.com or use my meeting booking link: https://calendly.com/pencil9-hinesh/30min 

      Kind regards

      Hinesh

      • Cancel
      • Vote Up -1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Wed, Jun 22 2022 9:51 PM

      Are you also setting a workset name?

      have you tried locking the workspace name variable (and workset name)?

      do you have a .cfg named for the workspace name in the folder pointed at by workspaces root variable? Same for a workset name .cfg in the worksets root folder.

       

      • 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