CharlotteM
7 years agoQrew Assistant Captain
How to create/define child record relationship on import
I am importing tables from an outside application through the Sync feature.
There are several one-to-many relationships between them, which QuickBase needs to be able to work with.
However, the key of the main parent does not exist in the child tables, which would allow quick definition of the table relationships within QuickBase.
Rather, each main parent record contains a formatted text field which includes a list of keys to all of its children. To make it more complicated, the order of the keys listed in the string is actually also relevant because the order defines part of the key of one child table we must relate to.
So I think that each main parent record would have to have this field parsed to derive the list of child keys, and the order of them, and then using this list matched with the parent's own key, one or more (usually more) child records could be generated to express the relationships needed.
There could be up to 60 of these children per parent.
I know this can be done in code/script - can it be done natively?
Will the new automations feature help? I didn't see anything that seemed directly applicable (loops), but I'm hoping I missed it.
There are several one-to-many relationships between them, which QuickBase needs to be able to work with.
However, the key of the main parent does not exist in the child tables, which would allow quick definition of the table relationships within QuickBase.
Rather, each main parent record contains a formatted text field which includes a list of keys to all of its children. To make it more complicated, the order of the keys listed in the string is actually also relevant because the order defines part of the key of one child table we must relate to.
So I think that each main parent record would have to have this field parsed to derive the list of child keys, and the order of them, and then using this list matched with the parent's own key, one or more (usually more) child records could be generated to express the relationships needed.
There could be up to 60 of these children per parent.
I know this can be done in code/script - can it be done natively?
Will the new automations feature help? I didn't see anything that seemed directly applicable (loops), but I'm hoping I missed it.