Report Related Methods - ZCUISDKUtil | Zoho Creator Help

Report related methods

The ZCUISDKUtil of Zoho Creator's Android SDK lets you manage the interface of the components of your Zoho Creator applications.

Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage.

static Fragment getFragmentForReport(String appOwnerName, String appLinkName, String reportLinkName, ZCReportType reportType, String queryString, ReportAttributes reportAttributes)

This will return the UI component for the report component to be embedded it in your custom screen.

Parameters:

appOwnerNameThe owner name of the application.
appLinkNameThe link name of the application
reportLinkNameThe link name of the report.
reportTypeType of the report component.
queryString
The column value (s) to be used for filtering records Format:
column1=value&column2=value
reportAttributesThis lets you customize report component UI like changing header/footer visibility and report actions visibility ( Refer ReportAttributes )

Returns:

FragmentReport's fragment instance that you can embed in an activity.

static void startReportActivity(Activity callingActivity, String appOwnerName, String appLinkName, String reportLinkName, ZCReportType reportType, String reportDisplayName, String queryString, ReportAttributes reportAttributes)

This method will launch the Report Activity with the specified report loaded in it.

Parameters:

callingActivityCurrent activity instance to launch the next activity.
appOwnerNameThe owner name of the application.
appLinkNameThe link name of the application
reportLinkNameThe link name of the report.
reportTypeType of the report component.
reportDisplayNameDisplay name of the report.
queryString
The column value (s) to be used for filtering records Format:
column1=value&column2=value
reportAttributesThis lets you customize report component UI like changing header/footer visibility and report actions visibility ( Refer ReportAttributes )

fun getFragmentForReport( appOwnerName: String, appLinkName: String, reportLinkName: String, reportType: ZCReportType, queryString: String, reportAttributes: ReportAttributes? ): Fragment?

Returns the UI component for the specified report, which you want to embed in the custom screen of your Android app.

Parameters:

appOwnerNameThe Zoho username of the Creator application’s owner.
appLinkNameThe link name of the Creator application.
reportLinkNameThe link name of the required report.
reportTypeType value of the required report component.
queryString
The criteria to filter the records, which is to be passed in the format:
field1=value1&field2=value2
reportAttributesThis lets you customize the report component's UI, like hiding its header and footer, hiding the report-level actions like edit, delete, and duplicate. Refer to report attributes.

Returns:

FragmentThe report's fragment instance that you can embed in an activity.

 

fun startReportActivity( callingActivity: Activity, appOwnerName: String, appLinkName: String, reportLinkName: String, reportType: ZCReportType, reportDisplayName: String, queryString: String, reportAttributes: ReportAttributes?)

Launches the Report Activity with the specified report loaded in it.

Parameters:

callingActivityThe activity instance that has to be used to invoke the next activity.
appOwnerNameThe Zoho username of the Creator application’s owner.
appLinkNameThe link name of the Creator application.
reportLinkNameThe link name of the required report.
reportTypeType value of the required report component.
reportDisplayNameThe display name of the required report.
queryString
The criteria to filter the records, which is to be passed in the format:
field1=value1&field2=value2
reportAttributesThis lets you customize the report component's UI, like hiding its header and footer, hiding the report-level actions like edit, delete, and duplicate. Refer to report attributes.

  1. Common methods
  2. Form related methods
  3. Page related methods
  4. Class Definition (Kotlin)
  5. Class Definition (Java)