Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
_Toc389215515
_Toc389215515
Anchor
_Toc408172007
_Toc408172007

To export the data of an app by invoking a button or row click event, you can call the exportData API. For detailed information on Canvas JavaScript APIs, refer Canvas JavaScript APIs. The following code snippet serves as a sample reference:

Code Block
languagejs
canvas.app.exportHandler.exportData(
        {	"exportType" : "PDF",
			"viewId" : "CT_LOAN_SUMMARY_VIEW",
			"widgetId" : "CT_LOAN_SUMMARY_WGT" //widgetId is the App ID
		});
Tip
titleNote

By calling the exportData API, you can export the data of the grid widgets alone.