I'm sure there is a simple architecture aspect I'm missing, but I'm struggling to work out how to manage multiple results within an extension.
I have a custom extension that creates a result. It employs User Objects to request data from the extension user. It works well if I add a single example of the result in. However, practically it would be useful to have anywhere between about 3 and 10 instances of the result in the model, and this is where I'm running into a difficulty.
I believe my issue lies with the way I'm using GetUserObjects. If we use this line as an example:
ExtAPI.DataModel.GetUserObjects('FlangeUtil')[1].Properties[8].Value=Tens
I think the issue lies with the [1] referring to a fixed index.
If I could find an ID for each specific instance of the result being added in, that may work, but I'm struggling to find out how to do so.
Is there a way to create/identify and reference each instance of the result as it is added in? Or is there another way to structure multiple user objects to deal with this?