Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Clearing document attribute when near version of document created
    • Sign In

    • Replies 1 reply
    • Subscribers 59 subscribers
    • Views 1305 views
    • Users 0 members are here
    • ProjectWise Interface
    • projectwise ss3
    • ProjectWise

    Clearing document attribute when near version of document created

    shenry
    Offline shenry over 11 years ago

    Need to clear a  "Date_Sent", user defined, attribute when creating a new version of a document. Is there any way to do this without resorting to the SDK?

    Attribute Properties allow for fields to be cleared when "Copied inside environement" etc but an option for clearing attributes for new versions seems to missing.

    Had hoped that ticking "Copied inside document" would do the job but alas this only relates to copying between attribute sheets in a document.

     

    Suggestions?

     

    • Sign in to reply
    • Cancel
    • Ian Emery
      Offline Ian Emery Thu, Feb 2 2012 12:58 PM

      I have been here before...

      There is no safe way ot do this with out going to the sdk.

      new version works in several ways\call and each seams to update the database in differnet ways a realiable database trigger or like does not work..

      once you are in the sdk all you need to do is catch the on new version trigger and set a environment attributie to say 1. This will trigger a database update and yuo could reatea database trigger to clear variables etc if your new environemtn attribuie is set to 1 (and set it to 0 when finished.

      or

      just do the whole attributie clear directly from the sdk in an on new version trigger

      (if you can set one from the sdk you can set many..)

      Best regards,

      • Cancel
      • Vote Up -2 Vote Down
      • Sign in to reply
      • 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