I have logichook aftersave, and in this I have send data to my api and based on api response I want to show message in SugarCRM 7.9. How can I achive this.
I have think to replace logichook with endpoint but in create.js I did not get record_id.
I have tried to custom/modules/Accounts/clients/base/views/create/create.js
var id = this.model.get('id');
var name = this.model.get('name');
This give me name but id is undefined. If this work then I will send id to my endpoint and according to endpoint response I can able to show alert message. In logichook alert message is not working. Please give me in this problem.