You need to sign in to do that
Don't have an account?
alok garg 17
Existing 38 version Open CTI API (opencti.js) SCREENPOP_TYPE fuction seems to be changed
In Open CTI API, I was using API version 38.0 since couple of months but yesterday I found that one file "api/38.0/lightning/opencti.js" has modified.
Method "SCREENPOP_TYPE" was using 6 parameters earlier and not changed to 4 parameters, below is sample code:
old SCREENPOP_TYPE function from "api/38.0/lightning/opencti.js".
======================================
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list",
SEARCH: "search",
NEW_RECORD_MODAL: "newRecord"
}
======================================
Present SCREENPOP_TYPE function from "api/38.0/lightning/opencti.js".
======================================
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 this file has changed withing existing version, I verified latest version file "api/39.0/lightning/opencti.js" still having function with 6 parameter.
Please help me if someone facing same issue.
Method "SCREENPOP_TYPE" was using 6 parameters earlier and not changed to 4 parameters, below is sample code:
old SCREENPOP_TYPE function from "api/38.0/lightning/opencti.js".
======================================
SCREENPOP_TYPE : {
URL : "url",
SOBJECT : "sobject",
OBJECTHOME : "objecthome",
LIST : "list",
SEARCH: "search",
NEW_RECORD_MODAL: "newRecord"
}
======================================
Present SCREENPOP_TYPE function from "api/38.0/lightning/opencti.js".
======================================
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 this file has changed withing existing version, I verified latest version file "api/39.0/lightning/opencti.js" still having function with 6 parameter.
Please help me if someone facing same issue.