How can I preview data from a Data Endpoint datasource in AIV?

Modified on Tue, 15 Oct, 2024 at 9:10 AM

To preview data from a Data Endpoint datasource in AIV, follow these steps:

  1. Select Columns: In the query window, choose the columns you want to preview from the desired table.

  2. Access the Preview Tab: Click on the "Preview" tab located in the query window.

  3. Invoke the /data Endpoint: AIV will automatically call the /data endpoint from your project's URL to fetch the data.

  4. Implement the /data Endpoint: Ensure that you have implemented the /data endpoint in your project. This endpoint should retrieve the requested table data from the database.

  5. Return Data to AIV: The data should be returned as a Map of Key-Value pairs to AIV, allowing it to be displayed in the preview window.

By following these steps, you can efficiently preview data from your Data Endpoint datasource in AIV, enabling better data analysis and reporting.

For more information, visit our documentation at Creating a Data Endpoint Datasource in AIV or contact us at support@aivhub.com.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article