AnsweredAssumed Answered

how to call Custom Entry Points from record.js: version 8.0

Question asked by Usman Saeed on Jul 5, 2018
Latest reply on Jul 6, 2018 by Matt Marum

Hi All,


I am trying to call Custom Entry Points with some arguments from record.js. using SugarCRM version 8.0.

Entry point created using below link: 


I am using below code to call the end point.

var strUrl = app.api.buildURL('/index.php?entryPoint=customAssignUser&method=Update_Opportunity_Assigned_User&opportunity_id='+opportunity_id);'read', strUrl, null, {
success: function (data) {
error: function (data) {
}, {async: false});

error I am getting is :  SyntaxError: Unexpected token < in JSON at position 0


Have any body tried to call custom entry point from record.js.

Any help will be appriciated.


Thanks and regards,