Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Document name attribute
    • Sign In

    • State Suggested Answer
    • Replies 2 replies
    • Answers 1 answer
    • Subscribers 61 subscribers
    • Views 1529 views
    • Users 0 members are here
    • document name
    • System variable
    • ProjectWise
    • Attributes

    Document name attribute

    Ole Bro
    Offline Ole Bro over 4 years ago

    Hi,

    I'm working with MS Office integration between Projectwise and MS Word and need to get the Document Name from Projectwise into my MS Word template. The Exchange between the Attributes from the Environment works flawlessly, but I can't get access to the document name.

    In the dialog where I find the System variables, I have $VAULT.FULLNAME$ and $DOCUMENT.FULLNAME$. Both Variables contains the same value - The document name with the full path included. What I need is the short document name.

    How can get that ?

    Thanks in advance

    Ole Bro

    • Sign in to reply
    • Cancel

    Top Replies

    • Alex Acton
      Offline Alex Acton Mon, Apr 1 2019 10:55 PM +1 suggested
      Hey Ole, I have had to do the same thing and unfortunately there is no system variable in ProjectWise for the Document Name. For Office documents I use some of the built in MS Office attributes/bookmarks…
    Parents
    • Alex Acton
      0 Offline Alex Acton Mon, Apr 1 2019 10:55 PM

      Hey Ole, 

      I have had to do the same thing and unfortunately there is no system variable in ProjectWise for the Document Name.
      For Office documents I use some of the built in MS Office attributes/bookmarks to grab the file name.

      When the name is needed to push into other fields or if you need to have the variable to reference in other attributes, I create a dummy Attribute and set it with an SQL UPDATE statement:
      SELECT O_ITEMNAME FROM DMS_DOC WHERE O_PROJECTNO=$VAULT$ AND O_ITEMNO=$DOCUMENT$

      Hope this helps.

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Ole Bro
      0 Offline Ole Bro Wed, Jul 24 2019 6:55 AM in reply to Alex Acton

      Thanks Alex,

      I will try that.

      /ole


      ORD Connect:10.08.01.033

      MS Connect: 10.14.02.01

      Projectwise: 10.00.03.49

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Ole Bro
      0 Offline Ole Bro Wed, Jul 24 2019 6:55 AM in reply to Alex Acton

      Thanks Alex,

      I will try that.

      /ole


      ORD Connect:10.08.01.033

      MS Connect: 10.14.02.01

      Projectwise: 10.00.03.49

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    No Data

    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