Hi,
I am wondering if it is possible to have Reference Data relationships.
Let say I have the following reference data headers:
- Ref1: Site, Building, LockerId, ItemId
- Ref2 : LockerId, Length, Width, Key Type
- Ref3 : ItemId, Name, Type, Quantity
I created a form where the user is aksed to select the Site, Building, LockerId and ItemId.
Next, I want to show the item and locker details.
Is that possible?
0
Comments
Please sign in to leave a comment.
Hello
Yes, that is possible using dependent reference data:
How to set up Dependent Reference Data in the Legacy Builder – GoCanvas Help Center
https://help.gocanvas.com/hc/en-us/articles/360003054814-How-to-set-up-Dependent-Reference-Data-in-the-Legacy-Builder
Hello Nathan,
Dependent Reference Data is what I use for filtering among all Ref1 ItemIds and selecting the correct one.
But how can I use the LockerId or ItemId to filter Ref2 and Ref3?
Hi Florent,
Great question. Based on what you have said here, it sounds like these reference files are separated. In order for ItemID to influence LockerID, the spreadsheet needs to have a column associated each LockerID to it's ItemID. Or vice versa for LockerID to ItemID.
Hi Lauren,
Yes, reference data are separated.Below the skeleton of the form I would like to create.
The first dropdown fields are dependent as mentioned earlier. When selecting the "Item ID" field, I would like to show the item and locker details (read only fields automatically populated).
Example of the data structure. I hope it clarifies the behavior.
Ref1:
Ref2:
Ref3:
Thank you for these screenshots! It looks like the files are properly formatted to include the ItemID and LockerID before the relevant data. After the last drop down menu, the remaining fields would simply need standard reference data. The reference field would be LockerID or ItemID, depending on the spreadsheet where the data is located. Once the last drop down is selected, the rest of the fields will automatically populate.
I would check out this article too: How to Map Reference Data to your Fields in the Advanced Form Builder
I got it!
It requires two additional dropdowns linked to the other reference data. I unchecked the "Mobile visible" option as users don't need them.
Then, the other fields refer to those dropdowns and are populated automatically.
Awesome, I'm glad you were able to find the right combination of drop down menus to reach the result you needed!