We are trying to migrate from Centera SDK to XAM. When setting retention start time (using XAM) on an XSet which was opened with the ClipId (since it was created using Centera SDK), we get a new XUID upon committing the XSet. The original Clip is unchanged. That means that we should delete using he new XUID. Question is how do we delete the orginal CLIPID?
What is a CDF and how do we get to it via XAM api's?
Is there some documentation that explains this?
Are there any documented examples of how to delete legacy data that was stored in Centera using Centera SDK?
We have ClipId of the documents
When I set retention start time -- using XAM, I get a new XUID.
Using FieldIterator - I see that the fields in the original ClipID remained the same. The fields of the object with new XUID, has base starttime and event starttime.
Now I want to delete the object. Using ClipId, when I try xSystem.deleteXSet(xuID) -- I get an error.
How do I delete it?
Lastly, I was not able to reply (or add) to this post (instead I had to update the original discussion) -- Why is that?
In Centera parlance a CLIP is comprised of two things the Content Descriptor File and one or more blobs. So the Centera Clip = CDF + blobs. The Centera CLip is basically = XSet
The CDF is a (typically) small XML file which contains metadata and tags which contain info which link to the blobs on the system and its this that you get the Content Address for.
So when you open the legacy clip using the Content Address and apply retention to it an XSet is created and when you commit the Xset you get back a XUID.
However the existing CDF is still there as well as the new XSet (actually on the Centera its just a special form of CDF). The CDF still links to the blobs so to delete it just use the original Content Address that you used to open the legacy clip
mckeown_paul
409 Posts
906
0
Posted January 10th, 2012 13:00
use the original Content Address to delete the original CDF.