Applies To Product(s): eB web Version(s): 15.xx Environment: N/A Area: N/A Subarea: N/A Original Author: swapnil Tapadia, Bentley Technical Support Group Why we need hard coded “Date Effective”? Keeping the “Date Effective” hard coded and set it to default system date, we can keep track of the actual document creation date. By doing it, no one can edit the “Date Effective” field. For audit reason we can set it to current date by default. How to set current date to “Date Effective” field: We can restrict user for editing the “Date Effective” and also set it to current date by default. We can achieve this by editing the extended behavior of the respective templates. For reference steps are given below: 1) Login to Director and open the template of the document class. 2) Click on Configure of extended behavior 3) Select the check box of “OnTempalteInstantiated” as shown in below figure: 4) Then go to “Actions” field and click on “Add”. 5) Click on “New” 6) Give the Action name as per your ease and select the field as per below image: 7) NOTE : The “Id” under “Object To Change” should be select from “property”. It is shown in below figure: 8) Save it. 9) Now open Layout Editor 10) Travel into the respective template of the class (in which we had added the extended behavior) and click on “Edit” (as show in below figure) Select the “Section”. 11) Select the “Date Effective” and uncheck it from the properties 12) Now for same class click on “View” and make it “Yes” in required field Now whenever you create a document using the edited class template, you can’t see the date effective in it while editing/creating.
↧