Fetch choices | Zoho Creator Help

Fetch choices

This API service lets you manage the different functionalities in a form.

Fetch choices

Methods
fetchChoices(of:in:fromIndex:completionHandler:)This fetches 50 choices (if available) from the given Index for the lookup fields beyond the 500 choices (if available) that are fetched along with the form metadata.
 
fetchChoices(forSearchString:of:in:fromIndex:completionHandler:)This fetches the 50 most relevant choices (if available) for the given search string in the lookup fields.
 
fetchChoices(forReportLinkName:of:in:fromIndex:completionHandler:)This fetches 50 choices (if available) from the given Index for the lookup fields beyond the 500 choices (if available) that are fetched along with the form metadata while adding record from the report.
 
fetchChoices(forReportLinkName:forSearchString:of:in:fromIndex:completionHandler:)This fetches the 50 most relevant choices (if available) for the given search string in the lookup fields while adding record from the report.
 
fetchChoices(withRecordID:forReportLinkName:of:in:fromIndex:completionHandler:)This fetches 50 choices (if available) from the given Index for the lookup fields beyond the 500 choices (if available) that are fetched along with the form metadata while editing a record in the report.
 
fetchChoices(withRecordID:forReportLinkName:forSearchString:of:in:fromIndex:completionHandler:)This fetches the 50 most relevant choices (if available) for the given search string in the lookup fields while editing a record in the report.
 
fetchChoices(of:in:fromIndex:completionHandler:)

Parameters

fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.
 
fetchChoices(forSearchString:of:in:fromIndex:completionHandler:)

Parameters

searchStringA string that has to be searched on the available choices.
fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.
 
fetchChoices(forReportLinkName:of:in:fromIndex:completionHandler:)

Parameters

reportLinkNameThe report link name.
fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.
 
fetchChoices(forReportLinkName:forSearchString:of:in:fromIndex:completionHandler:)

Parameters

reportLinkNameThe report link name.
searchStringA string that has to be searched on the available choices.
fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.
 
fetchChoices(withRecordID:forReportLinkName:of:in:fromIndex:completionHandler:)

Parameters

recordIDThe ID of the record that needs to be updated.
reportLinkNameThe report link name.
fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.
 
fetchChoices(withRecordID:forReportLinkName:forSearchString:of:in:fromIndex:completionHandler:)

Parameters

recordIDThe ID of the record that needs to be updated.
reportLinkNameThe report link name.
searchStringA string that has to be searched on the available choices.
fieldAccessPathThe access path of field for which the choices are to be fetched.
formThe Form object which holds the choice field.
indexIndex from which the choices are to be fetched.
completionHandlerThe choices and Error will be returned to the completionHandler.

  1. Adding a record from a report
  2. Adding a record in a form
  3. Adding an entry in a Lookup field
  4. Editing a record in a report
  5. Bulking editing records
  6. Upload media
  7. Deluge script executions
  8. Formula calculations
  9. Field actions