Discussions

Expand all | Collapse all

Making a button to perform API_SetDBVar action

  • 1.  Making a button to perform API_SetDBVar action

    Posted 06-21-2018 13:32
    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.


  • 2.  RE: Making a button to perform API_SetDBVar action

    Posted 06-21-2018 22:39
    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 


  • 3.  RE: Making a button to perform API_SetDBVar action

    Posted 06-21-2018 23:45
    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