1

Example DB - dynamic choice with JSON

Attached is a small example database showing how you can use an array of JSON objects as the data basis in the dynamic choice field instead of a table.

3 replies

null
    • szormpas
    • 2 wk ago
    • Reported - view

     Hi,

    Thank you so much for sharing your examples!

    They're really helpful for us as we start using the new JSON feature of dynamic fields.

    • John_Halls
    • 2 wk ago
    • Reported - view

    +1 A really clear example of how to use JSON. Thank you

    • John_Halls
    • 2 wk ago
    • Reported - view

    Just having a play. You can mix static data with dynamic data

    let a := [{
                id: 1,
                caption: "Everyone"
            }];
    let i := 1;
    let b := for c in select DynValues do
            i := i + 1;
            {
                id: i,
                caption: c.Text
            }
        end;
    array(a, b)
    

    I think someone was asking about this capability a few months ago

    Regards John

Content aside

  • 1 Likes
  • 2 wk agoLast active
  • 3Replies
  • 51Views
  • 3 Following