End With
The hard part is getting the action object that you want.
If you are adding a new action each time then it is easier since you can create the new action first then you already have the object and you can add the attribute as above.
If you are adding on to an existing action (or creating the action through the IOM profile) then you have to iterate through the actions on the record to find the right object using some criteria like action type/date added/added by etc. and use that object.
Tom Wright
Hi all,
I'm working with a data file that has a field containing slash-delimited ticked numbers. (e.g. "001/002/003/004/009")
What I'd like to do is create an action with an attribute for each of these ticket numbers. My instinct says the best way would be to split the string and iterate over the numbers, creating an attribute for each. Trouble is, I'm not sure how I'd go about that last part. How can I programmatically add an attribute to an action?
Keen to hear any interesting suggestions!
Cheers,
Tom