Usage Scenario: Listing Specific Collection Resources for Data Access
A user wants to view only resources synchronised with Google Drive. To do this, a button is added to the application interface, and when clicked, only resources belonging to the collection named ‘googledrive1’ are listed.
1. Add a ‘List Resources’ button to a new screen or an existing screen
Go to the relevant screen in your application or create a new screen.
Add a ‘List Sources’ button to the screen that users can click.
2. Link the Get All Source List Action to the Button
Select Get All Source List as the action type.
In the action configuration settings, enter ‘googledrive1’ in the Collection Name field.
3. Display the listing result
When the Get All Source List action is executed, only sources belonging to the ‘googledrive1’ collection are retrieved.
Display these sources to the user on the screen using a table or list component.
The user can access the relevant file or resource from this list.
4. Optional: Add Feedback for the User
If no resources are found, display an informative message such as ‘Google Drive resources not found.’
When the list is successfully loaded, you can display a message such as ‘Google Drive resources listed’ at the top or bottom of the page.