Hi
Could anyone tell me that is it possible to making a pseudo attribute for all or some items that could save last user name that modified that element?
Thanks in advance
Hi
Could anyone tell me that is it possible to making a pseudo attribute for all or some items that could save last user name that modified that element?
Thanks in advance
Hi,
The native pseudo attribute usermod should answer your need: https://help.aveva.com/AVEVA_Everything3D/3.1/wwhelp/wwhimpl/js/html/wwhelp.htm#href=DBRM/DBRM12.13.02.html
Thanks
But this attribute gives the windows username, how can I point the username of PDMS.
Another thing is that i want to extend this to making attribute to reflect the username and also the action which has been done by that user.
Thanks
You can explore the sessions side, perhaps that will meet your needs.
Sessions contain information about the identity of the user, but also about the actions that were made by this user (creations, modifications, deletions).
Another approach would be to use a database event (DBEvent), which, each time an element is created/modified by a user, would store the information you want (type of modification, author... ) in one or more UDAs on the element concerned.
Only use this approach if you have a good understanding of events, because depending on how it is implemented, it can have negative consequences on usage performance.
Thanks man.
can you introduce me a good refence to read or some example for this matter, creating pseudo attribute and also customization programming?
Thanks again
You can find all the information in the “Software Customization” section:
https://help.aveva.com/AVEVA_Everything3D/3.1/wwhelp/wwhimpl/js/html/wwhelp.htm#href=SOFTCG/SOFTCG_FP.html