Hello All!
How would I go about adding a virtual detail that displays records from an API, but also allows for editing of the records, and sending the updates back to the API?
I have already implemented this just fine, but I need to add the ability to edit the records as well: https://community.creatio.com/articles/add-virtual-detail-page.
Thank you!
Chris
Like
Hello Chris,
In the detail, you can override the method onActiveRowChange to update data via API, calling your web service, and you can override method addRecord to insert data calling your web service. You can see the example of how the active row gets processed and records get normally stored in the system in the schema BaseGridDetailV2 in the package NUI and similarly to that push this data to your web service.
Best regards,
Dennis