Spawning instances of templates

My new project involves the interesting challenge of creating a set of entities based on a set of templates. Both are MSCRM objects (so one is called xxxxxTemplate and the other is just xxxxx).

I create a new object that will contain all the other ones. This will kick off 1..n creations of a first child object and this object will then kick off the creation of probably about 10 child objects of its own. Each object created would take some basic info from the templates (usually just a name and one or two other pieces).

Thinking that using a plugin to control this action would be best (one on the top level creation and one on the creation of the first level child objects to create the second level). Does anyone have a better solution? Just a thought - I am a week or two away from beginning that part of the project so if anyone has any ideas please feel free to email me.

0 Responses to “Spawning instances of templates”: