Discussions

 View Only

Anyone run into this Add Record API glitch?

  • 1.  Anyone run into this Add Record API glitch?

    Posted 09-30-2022 10:56
    Edited by Mike Tamoush 09-30-2022 10:59
    Trying to figure out if this is a bug or what is happening.

    Sequence of events:

    Adding a parent using the native a=nwr type add, then while in add mode (before saving) add a child with add record API while setting an additional field. Parent autosaves when adding child (due to checkbox in advanced settings). All works great. Additional field is filled in.

    Now, repeat but instead of adding the parent using native a=nwr, add parent using Add Record API while setting an additional field on the a parent. Repeat same steps as above. This time, when adding the child, the additional field does NOT fill in correctly. Instead, it fills in the record ID of the parent. Even the URL when you click the add child button is really bizarre looking.

    ADD child URL in scenario 1:

    https://mycompany.quickbase.com/db/bsqfqqnke?a=API_GenAddRecordForm&_fid_24=16&_fid_10=test&z=ch7v


    Add child URL in Scenario 2

    https://mycompany.quickbase.com/db/bsqfqqnke?a=API_GenAddRecordForm&_fid_24=16&masterRid=16&_fid_10=16&masterRid=16&z=ciat

    What is happening???


    ------------------------------
    Mike Tamoush
    ------------------------------