Skip to main content
Question

Surface Field Value in Quick Base HTML page

  • February 14, 2020
  • 0 replies
  • 59 views

I am trying to surface Quick Base field value within Quick Base's native Page options. I have tried the following
https://<DOMAIN>.quickbase.com/db/<DBID>?a=API_GetRecordInfo&rid=<RID>&apptoken=<APPTOKEN>;
<Domain>=quickbase site (example.quickbase.com)
<DBID>=Table ID found in URL (bp4e5xxxx)
<RID>= field ID which is just (7)
<APPTOKEN>=Token for the app being used (b472nq_kh9p_b5xxdus26ek9dnty7g6xxxx)

When doing this within a code page I get two results. 
1. If I enter this into a quick base web page via url I get the following:
   

2. When I enter it as a button pointing to a Quick Base Page of Code type, I get the following
https://example.quickbase.com/db/bp4e5xxxx?a=API_GetRecordInfo&rid=7&apptoken=b472nq_kh9p_b5xxdus26ek9dnty7g6xxxx https://

My Java script and general programming knowledge is very limited so any help is in very simplified terms with examples is appreciated.

Eventually I plan to plug this value into my tableau dashboard html I have running in Quick Base, but for now would like to start here and surface the field value I need.

Thanks!




------------------------------
Quinn Francis
------------------------------
This topic has been closed for replies.

  • Quickbase Alumni
  • February 14, 2020
So you want to pull a value via the api back to your code page and then do something with it? "surface Quick Base field value within Quick Base's native Page options" is a little confusing to me. If you could try explaining what your end goal here is maybe that would help.

What you will get returned via the call you are making is the entire record and all fields within it plus the data in xml format. Then you would need to use JavaScript or something else to break that xml down into what you want. I'm not sure there is a simple way to explain that but check stack overflow and search what you need to do. If you need to convert xml to json or something else, etc. Or even pull values from the xml without conversion. That site can give examples but it will take some searching and time.