Not understanding how to use javascript in a page to run a DoQuery and return a Variable that can be used in an API call.

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

 In a nutshell I want to run 

https://XXX.quickbase.com/db/XXX?a=API_DoQuery&apptoken=XXX&query={50.TV._curuser_}&clist=10

Where clist field name is EmailID. Save this EmailID which is a single record to a variable that I can make API calls with. I would like to run this through a code page that can be called via the image on load process.

Any other ideas would be greatly appreciated.

Photo of baltschul

baltschul

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Scott

Scott

  • 314 Points 250 badge 2x thumb
Perhaps the UNOB technique by dandiebolt will suit your needs.

https://quickbase-community.intuit.com/questions/1144099-what-is-the-unob-technique