I'm running a method on the property event "onChangedCell". When the method is called on a newly created related item, the following statement successfully get's the property:
var my_item = parent.item.querySelector("#" + relatedID);
var my_property = aras.getItemProperty(my_item, "my_property");
The problem though is when a user edits the cell of an existing related item, I don't get the related item with the query selector. How do I handle the different scenarios of the related item being newly created and the related item being loaded since it is an existing relationship? Since the user just finished changing the property I figured that property at least would be in the cache similar to a newly created item but I'm obviously missing something.
Thank you in advance!