Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Variable load order of CSB variables and cfg files
    • Sign In

    • State Verified Answer
    • Replies 1 reply
    • Subscribers 61 subscribers
    • Views 401 views
    • Users 0 members are here

    Variable load order of CSB variables and cfg files

    Joel Zimmerman
    Offline Joel Zimmerman 11 months ago

    I would like some clarification on setting variables in CSB and cfg in the CONNECT Edition WorkSpace/WorkSet configuration in ProjectWise.

    The load order of Managed CSBs are:

    1. Predefined

    2. Global

    3. etc...

    At any point in the CSB a cfg file is evaluated due to a variable being set in a CSB.

    So when in the Predefined CSB a variable is set for _USTN_CONFIGURATION to the WorkSpace folder the WorkSpaceSetup.cfg file is loaded.

    In the WorkSpaceSetup.cfg file the _USTN_WORKSPACESROOT variable is referenced to set the _USTN_WORKSPACEROOT value.

    The _USTN_WORKSPACESROOT variable is populated in the WorkSpace Managed CSB which is loaded after the Predefined CSB and then the WorkSpaceSetup.cfg?

    If everything is loaded in order, the WorkSpaceSetup.cfg won't know the value of _USTN_WORKSPACESROOT because it won't load until the WorkSpace Managed CSB is loaded?

    Thanks,

    Joel

    • Sign in to reply
    • Cancel

    Top Replies

    • Kevin van Haaren
      Offline Kevin van Haaren Wed, Dec 28 2022 4:17 PM +1 verified
      The _USTN_WORKSPACESROOT variable is populated in the WorkSpace Managed CSB which is loaded after the Predefined CSB and then the WorkSpaceSetup.cfg? If everything is loaded in order, the WorkSpaceSetup…

    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