Database-less Sample Using LiveCycle Data Services Data Management and Destinations with Associations
I always strive for the simplest reproduction all the time, having too much code sometimes is needed, but often not. Why give a 40Mb file when all it really needed was a single XML file? Anyways, in one of the strives for perfection, I decided to take the database out the picture and created a simple DataStore that held a Documents->Chapters->Parts Object Graph that I could then use with the lovely LiveCycle Data Services Data Management features.
You can get the sample as a Flash Builder 4 project, sans the LCDS jars from clicking on this link (remember when they
always scolded you for putting a link on ‘click here’ text
) MultipleRelationshipsSample
In it’s format linked here, it’s very simple and shows one-to-many, but will most likely form the basis of a few of my LCDS related samples as it’s easy to transport and configure without any database, allowing for quick demo and additions to it’s current state. As always, check out the lcds-samples that ships with LCDS for sample code, it contains some great examples of LCDS in action.
Don’t forget my simple Ant Script if you need to compile and don’t have Flash Builder.