30-06-2016 03:39 PM
Hello,
I have a question regarding mega API.
When i use oObject.GetProp("predicate").ToString in my vb.net application, i get always empty string ("")
when running the same code on the same object in the script editor, it returns the text filled in on the predicate attribute.
obj = oroot.getobjectfromid("C9BDE58D55DA41C0")
Print(obj.getprop("predicate")) -> OK
I tested the object on _hexaidabs to make sure i have the right object, ok
Any idea what might be wrong ?
kind regards,
Wim VdV
Solved! Go to Solution.
01-07-2016 09:28 AM
I managed to find the problem.
When starting from a keyword, getting the connected sequence flows, not all attributes are available (as "predicate")
It seems the object is in kind of limited or protected context.
workaround :
loop for all sequence flows from the keyword
create a new object with getobjectfromid (id from the loop object)
on the new object all attributes are available.
happy programming !
kr,
Wim VdV