Forum Discussion

PaulPeterson1's avatar
PaulPeterson1
Qrew Assistant Captain
5 years ago

Application Variables for buttons

I am trying to create buttons using application variables.  Every attempt has yielded the same results, a hyperlink, but no button appearance.

Is it possible to create buttons using application variables?

------------------------------
Paul Peterson
------------------------------
  • I guess you can do that, but it must be an unusual use case.  Is the button intended to be hyperlink Rich Text field or a URL formula button?

    But in any case an app variable is just a string of text.  You would them  still have to make a button on each table as a formula and use the app variable as the formula.

    I would have to see your app variable code to help debug.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
  • Yes! This can be done so long as you have a static button and not one that dynamically changes with info from the record.

    App Variable Example (Variable Name: Visit Quick Base Junkie):
    <a class='Vibrant Success' href='https://quickbasejunkie.com' target='_blank'>Visit My Site</a>ā€‹


    You can also replace the Class with Style (If you want to learn more about formatting custom buttons check out my training here)

    Formula - Rich Text field (placed on the desired table/form/report):

    [Visit Quick Base Junkie]


    While you can add the button formatting to each table's field, adding it to the Variable is the fastest and most consistent way of doing it if the buttons will be used in multiple locations throughout your app.

    Let me know if this helps šŸ˜ŠšŸ‘



    ------------------------------
    Sharon Faust (QuickBaseJunkie.com)
    Founder, Quick Base Junkie
    https://quickbasejunkie.com
    ------------------------------
    • PaulPeterson1's avatar
      PaulPeterson1
      Qrew Assistant Captain
      The "buttons" do not have any functionality as actual buttons.  They are being used to indicate status changes.  My end goal is the ability to set a variable that can conditionally take text and formatting elements to alter the appearance and text.  These objects are used in several places in one form at the moment and possibly in others.  It would be much easier to maintain the app if there was a way to update in one place other than in multiple locations.

      ------------------------------
      Paul Peterson
      ------------------------------
      • QuickBaseJunkie's avatar
        QuickBaseJunkie
        Qrew Commander
        I see.

        You should find this video very helpful as it is exactly along this topic!



        ------------------------------
        Sharon Faust (QuickBaseJunkie.com)
        Founder, Quick Base Junkie
        https://quickbasejunkie.com
        ------------------------------