You need to sign in to do that
Don't have an account?
alok garg 17
Existing Open CTI API (opencti.js) changed
In Open CTI API, I was using API version 38.0 in couple of months ago but yesterday i was found they has modified the existing file 38.0 version.
API URL:
api/38.0/lightning/opencti.js
Changed Method details:
Earlier this file has 6 parameters, in the SCREENPOP_TYPE function.
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list",
SEARCH: "search",
NEW_RECORD_MODAL: "newRecord"
}
Now, they remove two parameters "Search" and "NEW_RECORD_MODAL" and below is the syntax
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list"
}
Still Salesforce document showing 6 parameters in SCREENPOP_TYPE function. below is the salesforce document link:
https://developer.salesforce.com/docs/atlas.en-us.204.0.api_cti.meta/api_cti/sforce_api_cti_screenpop_lex.htm?search_text=screenpop
I'm not sure why they changed the existing file if they created new version 39.
Please help me if someone facing same issue.
API URL:
api/38.0/lightning/opencti.js
Changed Method details:
Earlier this file has 6 parameters, in the SCREENPOP_TYPE function.
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list",
SEARCH: "search",
NEW_RECORD_MODAL: "newRecord"
}
Now, they remove two parameters "Search" and "NEW_RECORD_MODAL" and below is the syntax
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list"
}
Still Salesforce document showing 6 parameters in SCREENPOP_TYPE function. below is the salesforce document link:
https://developer.salesforce.com/docs/atlas.en-us.204.0.api_cti.meta/api_cti/sforce_api_cti_screenpop_lex.htm?search_text=screenpop
I'm not sure why they changed the existing file if they created new version 39.
Please help me if someone facing same issue.