I am using EsuApiLib.
I want to call CreateObjectOnPath() and overwrite any existing object.
Is there some option for this (overwrite)? I cannot find it.
Is there some way to an an ObjectID from a path?
When I call CreateObjectOnPath() on an existing object, I get the exception "The resource you are trying to create already exists.".
At this point, I would like to call UpdateObject(), but this takes an ID. How do I get the ObjectID from the path?
Thanks for any help.
The UpdateObject call takes an Identifier. Both ObjectID and ObjectPath are instances of Identifier, so you can pass either an ObjectID or ObjectPath to that call.