Forum Discussion

MikeTamoush's avatar
MikeTamoush
Qrew Commander
2 years ago

Next URL doesnt work from a Button on Report?

This is some strange behavior, and I can't see what is possibly happening. Anyone else experience this?

I have a rich text button that performs some actions, and then uses Next URL. For my testing, I just used my NextURL to go to the app homepage.

When I click the button from a form, this is the URL:
https://mycompany.quickbase.com/db/bsnxkbpae?a=er&dfid=10&rid=610&NextURL=https%3A%2F%2Fmycompany.quickbase.com%2Fdb%2Fbsge67emn

This returns to the home page as expected.

When I click the button from a report, this is the URL:
https://mycompany.quickbase.com/db/bsnxkbpae?a=er&dfid=10&rid=610&NextURL=https%3A%2F%2Fmycompany.quickbase.com%2Fdb%2Fbsge67emn

This does not return to the home page, it simply lands on the report from where it was launched.

Notice anything strange? The URLs are EXACTLY the same. How can two URLs that are exactly the same, function differently? What am I missing??

To add to the strangeness: If I copy the second URL and paste it in a new browser tab, it WORKS as expected. Returns me to the correct spot.

------------------------------
Mike Tamoush
------------------------------

4 Replies

  • It's "known" behavior that when you go into edit mode off a report, that in on Save, come hell or high water, you WILL be returned to that report, and it might even position you to the same scrolling down location where you were in the report.

    If users want to land somewhere different after saving they will need to first view the record, (thus sort of canceling out the knowledge that you came from a report) and then push a URL formula button there.

    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------
    • MikeTamoush's avatar
      MikeTamoush
      Qrew Commander
      Interesting. Yeah it seems if you use any for of add record or new record, I think you can use NextURL.

      What is really confusing to me is how the URL is actually correct, and even works if copy/pasted to a new tab. The notion that the same exact URL can work in one tab but not another is blowing my mind. What secret hidden code is happening?!

      Thanks for the confirmation though.

      I use the URL button to return places a lot, because on mobile you have zero options to redirect people (well, NextURL people...) so everything has to be done after landing on a form. I really hope their mobile enhancements include some sort of redirect option.

      ------------------------------
      Mike Tamoush
      ------------------------------
    • SimonH's avatar
      SimonH
      Qrew Cadet
      what about using a simple code page to redirect to the edit page with the nextURL passed?
      Would that cancel out the coming from a report behaviour?

      ------------------------------
      Simon H
      ------------------------------
  • KatlynAllen's avatar
    KatlynAllen
    Qrew Assistant Captain
    Has been a pain point of mine for a while. I just started asking users to open the record before using those buttons.

    ------------------------------
    Katlyn Allen
    kallen@eatatjacks.com
    ------------------------------