This article explains the Get Data from Other App block that can be used to design an app.
- Fetching data from a master app in the Clappia’s Workplace
- Selecting and fetching from an employee/people/project master
- Checking live inventory status
- Creating a dynamic dropdown whose dropdown values keep increasing
Editing the block
Click on the block and start editing on the panel that appears on the right side.
This is what appears as the label for the dropdown that shows the list of the items from the master app. Usually people provide labels like “Select the customer/project/item”.
Data Source App
Next step is to select the app from which the data will be fetched. You should get a dropdown of all the apps that are there in your Workplace. If you don’t see anything then probably this is your first app. In such a case, you should create a master app first.
These are the fields that you need to show to the end users so that they can identify the item to be selected. For example, the app designer is setting Customer’s Id and Customer’s Name as selection field.
As an example, if there are the following entries in Customer Master –
- Customer Id = CLAP505, Customer’s Name = Dave Kris
- Customer Id = CLAP506, Customer’s Name = David John
- Customer Id = CLAP601, Customer’s Name = Dina Jones
Now while making a submission, if the user types “CLAP50 Dav”, the first two entries will match the search text. If the user types “CLAP50 David”, only the second entry will show up.
Pulled fields based on selection
Here you select the items that will be pulled against the main selection made by the user. For example, if the user selects a Customer from the dropdown, all the details selected below will be fecthed against that customer.
Clappia allows admins to set status for each submission. It can be configured in the app designer configuration tab. You can set the status of each item in the master app and then fetch only those items that have a particular status. For example, you can set the statuses as Active/Inactive customer or Available/Unavailable (for inventory master).
This is optional and you should configure the status in the master app first to configure this.