Hi John,
Reading and writing to properties can both be done by using the indexer of the ObjectProxy object.
Only some special cases or often used properties have an own getter/setter method.
If you look at the list from GetAvailableProperties() you will find two types of names:
If the name contains a dot '.' the property comes from a feature and has the form
- Code: Select all
<feature-technical name>.<property-technical name>
if there is no dot in the name it is a "class" property of the object itself.
if you need to write to a specific template property just assign a value
- Code: Select all
obj["myfeaturename.mypropertyname"] = value
For handling elements of a strip the read indexer give you a IList<ObjectProxy> you can use to inspect.
Changing elements such a list must be done with the Add/Remove/Insert Attachment To/From Strip methods (e.g. AddAttachmentIntoStrip( propertyname, obj )