11-18-2019, 02:56 PM
What does:
assets = server.eval("@SOBJECT(dolly3d/assets)", skey)
give you?
Just FYI, there is an extremelly useful feature in expressions, especially when you are navigating connections. TACTIC caches all the relationships between sobjects as it evaluates the expression. While the API does not have access to this yes, we have mapped the function onto the Search object in 4.7. So instead, you would call:
server.get_eval_cache("@SOBJECT(dolly3d/assets['code', 'ASSETS00577'].parent:dolly3d/assets_in_assets.child:dolly3d/assets)")
which would return a complicated dictionary with all the relationships between all the sobjects found.
assets = server.eval("@SOBJECT(dolly3d/assets)", skey)
give you?
Just FYI, there is an extremelly useful feature in expressions, especially when you are navigating connections. TACTIC caches all the relationships between sobjects as it evaluates the expression. While the API does not have access to this yes, we have mapped the function onto the Search object in 4.7. So instead, you would call:
server.get_eval_cache("@SOBJECT(dolly3d/assets['code', 'ASSETS00577'].parent:dolly3d/assets_in_assets.child:dolly3d/assets)")
which would return a complicated dictionary with all the relationships between all the sobjects found.