This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Document's old revision items are not displaying old files.

teskins - Thursday, August 14, 2014 2:57 AM:

Hi,

I updated the excising Document ItemTpye by adding a new Filed(name:attachment, datatype:Item, source: File) to attach a file and deleted the Files relationship form the ItemType.

I created a new Document Item and attached an  Excel file to the new field. Now we want to create versions for the Documents.Opened the created  Document item and selected 'Check Out' from Menu,  the file is now downloaded to my local folder.  I updated the content of Excel file, saved it.  Now I selected 'Check In ' from menu and the item is saved.

Now the Document is updated with the new file. But the old version of the document(Generation:1) is also showing the updated file not the old file.

Document Generation 1 is also showing File Generation 2. How to make Gen 1 Document to display Gen 1 of Excel file.

Please help. Or there any other way to look for old generation file form old generation document?

 

Thank you

Teskin S



Brian - Friday, August 22, 2014 12:50 AM:

Hi Teskin,

Pretty sure the problem is due to the property you added (attachment) having a "Floating" behaviour.

Scroll all the way to the right of the Properties tab and you will see the Behaviour column. Select "Fixed" and it will create a permanent relationship to the file item you are attaching. Whenever the document is saved it will save a relationship to a file item that should keep up with the changed files.

You might find some unusual behaviour for old document items that were created with the "attachment" still as a floating relationship.

Hope this helps,

Brian.