Matthew 'Fringe' Duhan wrote:
> Is it possible to create a new card in a stack on the fly, based on data
> received from a database? One of the things I'm looking to do is have
> cards
> where users can input data. However, the fields available to any given
> user
> will vary, and I may not be able to predict every variation in advance.
> What
> I'd like to do is build the card on-the-fly, with just the appropriate
> fields added plus a standard submit button, and ideally placed in some
> managed configuration (as I can do with the Geometry Manager). Is this
> possible? Thanks.
Yes, you can create the card and all the objects necessary on it. Check out
the create card command, and the create field command in the Transcript
dictionary. You might want to set the geometry on the objects by setting
properties on templateObjects, for example the templateField. If you want a
standard combination of objects on every card, group them and place the
group onto the card.
Hope this helps. Post again if this isn't clear or you have other related
questions.
Cheers,
Michael
--
Michael Fisher <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Ltd - Power to the Developer!
Tel: +44 (0)131 718 4333 Fax: +44 (0)1639 830 707