Making a button to perform API_SetDBVar action

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • In Progress
Is there a way to set a button that will set an app variable to a value in a field? I know about the API_SetDBVar, what I do not know is just how it is suppose to be written out in a Formula Rich Text Field in order to perform the proper function.

Any help is appreciated.
Photo of Mark Warstler

Mark Warstler

  • 70 Points

Posted 1 year ago

  • 0
  • 1
This works

"https://yqc.quickbase.com/db/xxxxxxxxxx?act=API_SetDBvar";
& "&varname=" & URLEncode("Test Application Variables")  
& "&value=" & URLEncode([some text])


where xxxxxx is the application level (Home) application ID 
(Edited)
Let me know if you need helpp in adding some code to this to either put up a message on the page or To refresh the page
(Edited)