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 ?
Go to Solution.
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.
loop for all sequence flows from the keywordcreate a new object with getobjectfromid (id from the loop object)
on the new object all attributes are available.
happy programming !