Is there a timeout limit for "&z=" & Rurl() ?

  • 0
  • 2
  • Question
  • Updated 1 year ago
  • Answered

I successfully use API_GenAddRecord to create records in a child table, and preset some values. The user then selects choices from drop down menus and when the record is saved they are returned to where they came from in the Parent record because I'm using &z=" & Rurl() at the end of my formula.

This works as expected except I have recently come across an occassional issue where the user is NOT returned to the Parent record upon save, they are returned to the View mode of the saved form in the Child table. This only happens when the user has remained on the Child record for a long period of time (30+ minutes) before saving.

It appears that there is some sort of time limit where the &z=" & Rurl() no longer is recognized and therefore the redirect back to the parent does not happen. I'm interested to see if there is a reason for this and is there a specific time limit after which the formula won't recognize that there was a &z=" & Rurl() that needed to fire after save?

Wondering if anyone else has come across this unique problem before!

Photo of gmcroberts

gmcroberts

  • 180 Points 100 badge 2x thumb

Posted 5 years ago

  • 0
  • 2
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,434 Points 20k badge 2x thumb
There is probably some type of internal caching mechanism going on so that QuickBase can efficiently return to the report page without a full querying of the table and regeneration of the report. The cache is probably timing out after a period of time but this is just speculation because this type of low level detail is not documented.
Photo of Surya Avantsa

Surya Avantsa

  • 218 Points 100 badge 2x thumb
Actually my issue is I see this &z= & Rurl() all over the place in the formula urls, but when I do it, it just doesn't work. I am trying to understand what exactly this Rurl() is all about?
Photo of Jim Harrison

Jim Harrison

  • 1,978 Points 1k badge 2x thumb
Surya, URL Formula Buttons for Dummies v1 this will help you understand. Also https://help.quickbase.com/user-assistance/ the Quick Base help is useful. 
Photo of Surya Avantsa

Surya Avantsa

  • 218 Points 100 badge 2x thumb
Jim,  Thanks. I saw this article. http://www.quickbase.com/developer/articles/using-zrurl-and-rdr-formula-url-fields

This is helpful too.

BTW, the Dummies V1 link asks me to signin to a quickbase app that I don't have access to.
(Edited)
Photo of Jim Harrison

Jim Harrison

  • 1,978 Points 1k badge 2x thumb
Search the Quick Base Exchange for that name. That article is good too. 
(Edited)
Photo of Jim Harrison

Jim Harrison

  • 1,978 Points 1k badge 2x thumb
gmcroberts If you're using save & keep working, search on the Community for save & keep working behavior.