
UNSOLVED
Is there a createObjectOnPath with 'overwrite existing" option?
Hello:
I am using EsuApiLib.
I want to call CreateObjectOnPath() and overwrite any existing object.
1.
Is there some option for this (overwrite)? I cannot find it.
2.
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.
Thanks,
Responses (2)
Solutions (0)

JasonCwik
1 Rookie
•
281 Posts
818
1
Posted June 4th, 2014 08:00
Hi Terry,
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.