Forum Discussion

NickMangine1's avatar
NickMangine1
Qrew Trainee
3 years ago

Using QuickBase API from within iFrames

Has anyone else tried using the QuickBase API from within a page embedded in a form using the new "Embed as iframe in forms" option on URL fields? I have a code page that works to upload a file when I access it directly. But when it's embedded, none of my API calls work?

I believe this is being caused because the URL is being re-written when it's embedded as an iFrame: instead of [mydomain].quickbase.com is located in [mydomain].ui.quickbase.com.

Anyone have ideas on how to get around this?


------------------------------
--
Nick Mangine
The Link Group
IT Systems Architect
nmangine@tlg.com
919-903-7269
------------------------------
  • Hey all. I haven't found a real solution to this problem but I happened upon an accidental fix. By adding an extra "/" after the domain name, the url does not get written and the API calls work as expected.

    So this does not work: http://[mydomain].quickbase.com/db/..." 

    But this does: http://[mydomain].quickbase.com//db/..."

    ------------------------------
    --
    Nick Mangine
    The Link Group
    IT Systems Architect
    nmangine@tlg.com
    919-903-7269
    ------------------------------