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
    • 8 days 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
    • 8 days ago
    • Reported - view

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

    • John_Halls
    • 8 days 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
  • 8 days agoLast active
  • 3Replies
  • 46Views
  • 3 Following