tbischel - Friday, March 26, 2010 2:58 PM:
I have two items linked together through a relationship, where the source item has been revised several times. I want to be able to unlink this relationship through the IOM, but leave the relationship in tact for the older versions of the item.
Adding a new relationship was easy enough, I would just create the new relationship type and set the source_id and related_id to my objects of interest. It's not so clear how to remove it without killing the relationships for past versions.
The aml generated by Innovator when you do this within the tool is somewhat hard to figure out, since it seems to put all the source item's properties in the query. the one thing I was suspecting may be the solution was the line...
<css is_null="1"/>
which was in the related item.
Any suggestions?
RobMcAveney - Wednesday, March 31, 2010 11:30 AM:
Have you figured this out? The behavior you're reporting does not match the standard behavior -- when you delete a relationship it should not have any effect on older versions. For example, if you edit generation 3 of a Part and delete a relationship you should get generation 4 of the Part with the relationship deleted. Generation 3 should remain intact.
Rob
tbischel - Wednesday, March 31, 2010 2:10 PM:
Ok, I must have misunderstood what was happening. I'll try this again and be more careful about checking what gets removed.