Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Environment Attribute to display Document Name
    • Sign In

    • State Verified Answer
    • +1 person also asked this people also asked this
    • Replies 11 replies
    • Answers 1 answer
    • Subscribers 62 subscribers
    • Views 438 views
    • Users 0 members are here

    Environment Attribute to display Document Name

    Lonnie Frater
    Offline Lonnie Frater 5 months ago

    Hi All,

    How can I create an attribute to display the "document name" as opposed to file name? There is no system variable, so how is it addressed.

    Thanks

    • Sign in to reply
    • Cancel

    Top Replies

    • Dave Cumming
      Online Dave Cumming Thu, Mar 30 2023 11:01 PM in reply to Lonnie Frater +1 verified
      Hi Lonnie, If you are just looking to bind the Document Name property to a tag/field in a file for attribute exchange with a Title Block (or with a Word or Excel file), you don't need to pass it to an…
    • Dave Cumming
      Online Dave Cumming Fri, Jun 23 2023 2:34 PM in reply to Lonnie Frater +1 suggested
      Hi Lonnie, Setting up the Attribute Exchange as I described in my March 30th post will still get you the result that it sounds like you are seeking - the ProjectWise Document Name is pushed to and displayed…
    Parents
    • Matthew Kovach
      0 Offline Matthew Kovach Thu, Mar 23 2023 7:50 AM

      Where are you trying to display the Document Name? In ProjectWise Explorer or elsewhere (Example: Document Properties > Attributes)?


      Matthew Kovach

      Design Systems Administrator

      ProjectWise Explorer CONNECT Edition, Version 10.00.03.453

      ProjectWise Drive 2022.1, Version 2022.1.638.0

      OpenRoads Designer CE 2021 Release 2, Version 10.10.21.04

      OpenRoads Designer CONNECT Edition, Version 10.09.00.91

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Lonnie Frater
      0 Offline Lonnie Frater Thu, Mar 23 2023 9:10 AM in reply to Matthew Kovach

      Hi Matthew,

      Yes, as an Environment Attribute to appear on Document > Properties > Attributes or ultimately be mapped to a title block or similar. 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Lonnie Frater
      0 Offline Lonnie Frater Thu, Mar 23 2023 9:10 AM in reply to Matthew Kovach

      Hi Matthew,

      Yes, as an Environment Attribute to appear on Document > Properties > Attributes or ultimately be mapped to a title block or similar. 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    • Dave Cumming
      +1 Online Dave Cumming Thu, Mar 30 2023 11:01 PM in reply to Lonnie Frater

      Hi Lonnie,

      If you are just looking to bind the Document Name property to a tag/field in a file for attribute exchange with a Title Block (or with a Word or Excel file), you don't need to pass it to an environment attribute. 

      In ProjectWise Administrator, just set up the binding using the property type = Document Property and then select DocName or whichever property that you want to exchange with the file. These would be the same list of properties that are located on the General Tab on the interface. 

      Answer Verified By: Dave Cumming 

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Lonnie Frater
      0 Offline Lonnie Frater Tue, Apr 4 2023 11:37 PM in reply to Dave Cumming

      Hi Dave,

      Sorry for delay in reply. Yes you are correct when it comes to the title block, we are doing this already. However if I want this to display on the Attribute page as well how can I achieve this? 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • JeremieDL
      0 Offline JeremieDL Fri, Jun 9 2023 7:15 AM in reply to Lonnie Frater

      Hey I'm looking for the exact same thing! did you find a solution to this?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Dave Cumming
      0 Online Dave Cumming Fri, Jun 9 2023 4:02 PM in reply to JeremieDL

       JeremieDL  Lonnie Frater 

      You would need to do this with a SQL SELECT statement. There are a couple ways to accomplish it, but doing so might be something that you regret doing in the future. Doing so would result in a static value that would not change if the Document Name changed ... Unless you also write some sort of custom automation, such as scheduling a PowerShell script to find and update the attribute value when it is out of synch. 

      I am curious though... What is the use case for having the Document Name on the Attributes tab?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • JeremieDL
      0 Offline JeremieDL Wed, Jun 21 2023 8:47 AM in reply to Dave Cumming

      In my case is to have the attribute driven by the file name instead of having the file name driven by the attributes... I manage to find what I was looking for (Environnement variable to get the file name or part of it - ProjectWise Design Integration Forum - ProjectWise - Bentley Communities) I will use this to populate our title block.  We do this because the file name need to be partialy in the titleblock.  I know that to update the attribute of the file name we need to change or modifiy any attribute but so far it's working fine for everyone because we change the file name when we add a revision in the title block or if nothing is nneed to realy change, just add a space bar somewhere and projectwise will re-read the title name and upgrade the attribute.

      What problems do you think we will face later on with this?

      • 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