Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum How to protect Microsoft Word templates for use with ProjectWise?
    • Sign In

    • State Suggested Answer
    • +1 person also asked this people also asked this
    • Replies 2 replies
    • Answers 1 answer
    • Subscribers 61 subscribers
    • Views 1026 views
    • Users 0 members are here
    • protection
    • integration
    • Microsoft Word

    How to protect Microsoft Word templates for use with ProjectWise?

    Ian Davidson
    Offline Ian Davidson over 3 years ago

    We have Microsoft Word templates configured to exchange attribute information with ProjectWise using custom document properties and fields within MS Word. The attribute exchange is working fine, however we find that users sometimes remove the fields thereby breaking the attribute exchange within the document.

    We have tried to use MS Word's built in 'Restrict Editing' functionality (with Editing Restrictions = 'Read-Only', and also with Editing Restrictions = 'Filling in forms') however this restricts the usage of Track Changes within the documents which we use heavily.

    I have also done some trials with inserting the fields into a  Rich Text Content Control (Form Control) and using the protection available within the properties of those controls. Unfortunately the property for 'Contents cannot be edited' prevents the ProjectWise integration from updating the field values. This could be overcome with VBA upon opening the file (unlock>update>re-lock) but then we run into issues around macro security for users and TB Updates and not being able to rendition a .docm file.

    Does anyone have any further suggestions to help protect the attribute exchange within a MS Word document without restricting other features?

    • Sign in to reply
    • Cancel

    Top Replies

    • Ian Davidson
      Offline Ian Davidson Wed, Sep 16 2020 8:31 AM in reply to Chris Andrew +1
      Hi Chris, I tried what you have suggested regarding grouping field and text, although users can simply right-click and choose "Remove Content Control" and proceed to edit which still isn't ideal. At the…
    Parents
    • Chris Andrew
      0 Offline Chris Andrew Thu, Sep 10 2020 10:50 AM

      I've used "Developer" Tab "Design Mode" and grouping the field and text you want to be locked, then turn Design mode off before saving

      There is an issue with tracked changes being left on when advancing a word document through a BS1192 workflow where because the field is locked and tracked changes is trying to record the change in revision it duplicate the field. 

      This leaves the file unlocked for editing but restricts access to deleting fields

      Regards

      Chris


      AECOM Roads UK&I Digital Engineering, Design & Solutions Lead | Sector Information Management Lead

      Associate Director – Digital

      OpenRoads Designer 10.12 | MicroStation 2023 | ProjectWise CE 10.3.4 | ContextCapture | ProjectWise PowerShell 2023 | ProjectWise WSG API | Generative Components | OpenBridge Designer 10.12

      Civil 3D 2023 | Dynamo | Navisworks Manage

      PowerShell | Visual Studio | Office 365 | Power Platform | Teams | SharePoint | Visio

      Speckle | BIMVision | Revizto | Solibri

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Ian Davidson
      0 Offline Ian Davidson Wed, Sep 16 2020 8:31 AM in reply to Chris Andrew

      Hi Chris, I tried what you have suggested regarding grouping field and text, although users can simply right-click and choose "Remove Content Control" and proceed to edit which still isn't ideal. At the moment I've inserted the field within a Rich Text Content Control (Form Control). I can lock the control to prevent users deleting it, but can't protect the contents as it prevents ProjectWise integration from updating. To offset that, I've styled the form control to make it more apparent to users not to be editing the contents, and also been able to use VBA to automate inserting the fields back into the correct form controls if users do edit/delete. 

      Thanks for the heads up on track changes within the workflow. I'll have to check that.

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Ian Davidson
      0 Offline Ian Davidson Wed, Sep 16 2020 8:31 AM in reply to Chris Andrew

      Hi Chris, I tried what you have suggested regarding grouping field and text, although users can simply right-click and choose "Remove Content Control" and proceed to edit which still isn't ideal. At the moment I've inserted the field within a Rich Text Content Control (Form Control). I can lock the control to prevent users deleting it, but can't protect the contents as it prevents ProjectWise integration from updating. To offset that, I've styled the form control to make it more apparent to users not to be editing the contents, and also been able to use VBA to automate inserting the fields back into the correct form controls if users do edit/delete. 

      Thanks for the heads up on track changes within the workflow. I'll have to check that.

      • Cancel
      • Vote Up +1 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