-
staticZOHO.CRM.UI.Record.create(data){Promise}
-
Open CreatePage of the specified Record
Name |
Type |
Description |
data |
object
|
Configuration Object
Name |
Type |
Description |
Entity |
String
|
SysRefName of the module. |
|
Returns:
Type |
Description |
Promise
|
resolved with true | false |
Example
ZOHO.CRM.UI.Record.create({Entity:"Leads"})
.then(function(data){
console.log(data)
})
-
staticZOHO.CRM.UI.Record.edit(data){Promise}
-
open EditPage of the specified Record
Name |
Type |
Description |
data |
object
|
Configuration Object
Name |
Type |
Description |
Entity |
String
|
SysRefName of the module. |
RecordID |
String
|
RecordID to open |
|
Returns:
Type |
Description |
Promise
|
resolved with true | false |
Example
ZOHO.CRM.UI.Record.edit({Entity:"Leads",RecordID:"1000000036062"})
.then(function(data){
console.log(data)
})
-
staticZOHO.CRM.UI.Record.open(data){Promise}
-
Open DetailPage of the specified Record
Name |
Type |
Description |
data |
object
|
Configuration Object
Name |
Type |
Description |
Entity |
String
|
SysRefName of the module. |
RecordID |
String
|
RecordID to open |
|
Returns:
Type |
Description |
Promise
|
resolved with true | false |
Example
ZOHO.CRM.UI.Record.open({Entity:"Leads",RecordID:"1000000036062"})
.then(function(data){
console.log(data)
})
-
staticZOHO.CRM.UI.Record.populate(RecordData){Promise}
-
Populate the given data in the entity form
Name |
Type |
Description |
RecordData |
object
|
|
Returns:
Type |
Description |
Promise
|
resolved with true | false |
Example
ZOHO.CRM.UI.Record.populate({Annual_Revenue:"500",Description:"Populating test data",Phone:"85663655785"})
.then(function(data){
console.log(data)
})