Difference between revisions of "Pandora - Locate a Contact/User"
From SmartWiki
(Created page with '==Function Overview== This function is used to return a recordset of contacts. ''contact_find(flag,callbackfunc,fields,filter,order,start,end,prefix)'' {| border="1" !Parame…') |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
− | + | contact_find(flag,callbackfunc,fields,filter,order,start,end,prefix) | |
Line 22: | Line 22: | ||
|'''Fields''' ||The field list to be retrieved. | |'''Fields''' ||The field list to be retrieved. | ||
|- | |- | ||
− | |'''Filter'''|| The criteria to apply on the return records. | + | |'''[[Pandora Filter Examples|Filter]]'''|| The criteria to apply on the return records. |
|- | |- | ||
|'''Order'''|| The field to be ordered by for the return records. | |'''Order'''|| The field to be ordered by for the return records. | ||
Line 35: | Line 35: | ||
|} | |} | ||
− | |||
− | Fields = | + | * Fields = the driver for created record set. |
+ | * Filter = "lastname like 'y%'" | ||
+ | * Order = "lastname desc" | ||
+ | * Start = 0 to 200 default = 0 | ||
+ | * End = 200 default = 200 | ||
− | + | ==Notes== | |
− | + | * Use "name" to obtain or filter by the name of the contact's parent company. | |
− | + | * use "isactive" to determine if a user is active (1=Administration or Portal Interface, 3=User Centric or Applicant Interface) | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==See Also== | |
+ | * [[Pandora Filter Examples]] | ||
[[Category: Pandora]] | [[Category: Pandora]] |
Latest revision as of 15:08, 22 August 2012
Function Overview
This function is used to return a recordset of contacts.
contact_find(flag,callbackfunc,fields,filter,order,start,end,prefix)
Parameter | Description |
---|---|
Flag | Asynchronous processing Flag
Set to False for synchronous processing. Set to True for asynchronous processing. |
Callbackfunc | User created Java function to manage the callback from an asynchronous function. |
Fields | The field list to be retrieved. |
Filter | The criteria to apply on the return records. |
Order | The field to be ordered by for the return records. |
Start | The index of the first record to be returned from the record set retrieved based on the filter. |
End | The index of the last record to be returned from the record set retrieved based on the filter. |
Prefix | Used by system to process fields across multiple entities. |
Return | ssRecordSet object |
- Fields = the driver for created record set.
- Filter = "lastname like 'y%'"
- Order = "lastname desc"
- Start = 0 to 200 default = 0
- End = 200 default = 200
Notes
- Use "name" to obtain or filter by the name of the contact's parent company.
- use "isactive" to determine if a user is active (1=Administration or Portal Interface, 3=User Centric or Applicant Interface)