Using Swagger API Actions on the Application Screen

  1. Create a list screen: Add a Table element to list product inventory.
  1. Name the table columns: Specify headers such as ID, Stock Code, Product Name, and Barcode.
  2. Add an Initial Action:
    • Click the +ADD ACTION button in the Properties panel.
    • Follow the path: Initial Actions > Custom > Datasource.
    • Under the “Rest” heading, select the “Stok Get Product List From Rest” action.
  3. Connect the table data source:
    • Go to the Datasource menu in the Properties panel.
    • Under the “Action” heading, select the “Stok Get Product List From Rest” action.