Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
4 years ago

Latest QB Release solves many issues! Control size of popup, refresh page on popup close, and utilize new record ID

In case other people missed this (I didn't see it, except I happen to get an email from Juiced Technologies that tipped me off), some GREAT new features. I have tested 2, have not tried the third which is really one of the best ones, being able to use the new record ID that was just created on add record.

Additional improvements to new CSS classes

In our April release, we improved the formula-url and formula-rich text fields, giving builders more customizable and powerful workflows.

This release, we added three key options that continue to improve these features in formula-rich text fields:

  • Refresh the source page when a popup is closed using the data-refresh parameter.

  • Customize the size of a popup using the data-width and data-height parameters

Here's an example that uses these two features in combination with the OpenAsPopup class:

"<a class='Vibrant Success OpenAsPopup' data-height=200 data-width=200 data-refresh=true href='" & [url] & "'>Click here</a>"
  • Use record ID# as a parameter when you click a custom hyperlink from an add record form. This lets you leverage newly created record IDs and expands custom code page workflow options. Use record ID# in formulas with data-replaceRid=true and %%rid%% where you would like the RID.
    Note: You can only use this parameter when the hyperlink navigates to the same tab, not when it is set to open in a new tab or popup.

Here's an example of a formula-rich text field that uses this feature:

"<a class='Vibrant Success SaveBeforeNavigating' data-replaceRid=true href='https://community.quickbase.com/db/abc?a=dr&rid=%%rid%%'>Click here</a>"


------------------------------
Mike Tamoush
------------------------------
  • Hi Mike,

    It is great to hear you are finding the new features so helpful and I definitely hope you let us know how being able to use the new record ID that was just created on add record works for you when you get a chance to use it. Customer feedback and research by our product team helped point out some great enhancements like this that our team could put in place to give users more flexibility and options so it is great to hear that users are finding use for them so fast. We are also working on some how-to content to go along with the new features to help out with taking advantage of the new features. Thanks so much for the feedback Mike.

    ------------------------------
    Evan Martinez
    Community Marketing Manager
    Quickbase
    ------------------------------
    • BradLemke's avatar
      BradLemke
      Qrew Assistant Captain
      Being able to use the Record ID from an Add record process has integrated perfectly into two of my three most used processes.  It replaces all of my javascript #saveandkeepworkingmenuoption()​ invocations perfectly.  I've also been able to integrate that process into a redirect to an exact form redirect as well.

      I'm planning to do some more testing to see if this can be applied to an api_editrecord, pushing the new RID into a field in another table that would enable even more advanced functionality that I didn't have before.

      ------------------------------
      Brad Lemke
      ------------------------------
    • TylerMaskiewicz's avatar
      TylerMaskiewicz
      Qrew Member
      Hi Everybody,

      I love the data-refresh parameter, but my popup doesn't automatically close when the record is saved. Is there a parameter for that?

      ------------------------------
      Tyler Maskiewicz
      ------------------------------