managment of document

Posted by abirRR on 27-Sep-2016 09:14

hi , help please.

I need to do with ROLLBASE , I view that detect if I done a modification in my file , and save the previous version and the new version .

is it possible with Rollbase to treat the file , and decide if there is a change ?

All Replies

Posted by Mohammed Siraj on 28-Sep-2016 01:16

Abir,

A simple way to implement this would be to have VersionDocument object to track multiple versions of the Document field in your main record. Document -> VErsionDocument relationship cardinality will be 1:M

On Document field update, configure an ObjectScripper trigger that runs 'Before Update', creates a new VersionDocument record with the current Document.

Please refer attached sample for additional details.

[View:/cfs-file/__key/communityserver-discussions-components-files/25/TestFileVersion_5F00_v1.xml:50:20]

This thread is closed