Looping through the public properties of an object in LotusScript

Is it possible to list all properties and values of a given object (build in or custom) using LotusScript. Something like:

Sub ObjectInspector(obj as Variant)

Forall prop in obj

Print prop.name

Print prop.value

End Forall

End Sub

This would allow to process unknow classes and build a lib to unify webservices tasks.

Subject: Looping through the public properties of an object in LotusScript

You could try exporting the object to DXL, and then parse that to find what you need.

I haven’t done anything with DXL myself, but it seems to me that it should work.

/Peter

Subject: Looping through the public properties of an object in LotusScript

I do not think LotusScript has reflection.