Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Linking deliveries to many values

eliasa31934321
Level 2
Level 2

hi,

we are struggling with finding a way to do the following:

1. Creating x amount of one to many relationship between a delivery template and custom data schema row.

2. Adding a selection tool (much like adding a proof recipient to a delivery) in the delivery template properties General Options tab.

what we want to achieve is linking x rows with different attribute values to a delivery template. When we then send a delivery it is created with these links so we can follow up that x.1 and x.4 is linked to the delivery.

Does anyone know a solution or have an idea how we can solve this?

thank you in advance.

regards

Elias

2 Replies
wodnicki
Community Advisor
Community Advisor

Hi,

Define the 1:n relationship in schema, then add an edit control to delivery form(s) with type="linklist".

There is an example of how to create the control in the form for nms:plan, for its asset field.

Thanks,

-Jon

eliasa31934321
Level 2
Level 2

Hi Jon,

thank you for the reply. Unfortunatly this was the way we first headed and we could not make it work for two reasons.

a. The rows we could seleCT could not display a label (only id).

b. The rows we chose for the delivery did not save.

would you mind showing us how it Could be Done with code?

we are really stuck and it would be very much appreciated.

regards

Elias