Update relationship field through a button

Hi, I have the following issue

I have two collections:

  • Shipping
  • Status

Relationship: A Shipping can have one status and a status can have multiple shipments.

The user should be able to cancel the shipping through a button (without having to select the new status from a dropdown) and the status of the shipping should be updated automatically. I can’t find a way to update the shipping status without referring to a selected item from a dropdown in the update function.

Any help much appreciated

Hi Guillermo,

Welcome to the community :partying_face:

You should see a section like this :

status

But when you click the button the status updates for all the shipments that has that status. You could create a text property or a true/false property on the Shipments collection to store the status of that shipment instead of a collection.

Thank you

That’s worked perfectly, thank you so much!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.