Hello,
I made an override of Quotes entity and made a relation with new entity named "Object". In data::function() method I want to collect all the information of entity "Object" records. So far I have ID's of those records only. I reach them by using this.model.attributes.objectnames. Is there a function something like getEntityById or do I have to write a PHP function to get it? How could I do so?
At the moment I made a post ajax request to Quote controller and I get all the necessary information in that file, but it looks like a bad way to do so. Isn't it?
Thanks.
I made an override of Quotes entity and made a relation with new entity named "Object". In data::function() method I want to collect all the information of entity "Object" records. So far I have ID's of those records only. I reach them by using this.model.attributes.objectnames. Is there a function something like getEntityById or do I have to write a PHP function to get it? How could I do so?
At the moment I made a post ajax request to Quote controller and I get all the necessary information in that file, but it looks like a bad way to do so. Isn't it?
Thanks.
Comment