ContributionsMost RecentMost LikesSolutionsRe: New Redirect (Doredirect)Thanks Evan! Yes, I did submit a support case and was told that yes this is an identified bug and that I will be notified when it's been resolved. Jill ------------------------------ Jill Engle ------------------------------ Re: New Redirect (Doredirect)Thanks Mike and Mark! I will put in a support ticket and report back if I learn anything new. I appreciate the help! ------------------------------ Jill Engle ------------------------------ Re: New Redirect (Doredirect)What you've described is what I was hoping it would do. Instead when the button is visible, the user pushes the button, the page refreshes and returns to the app home page instead of to the report the user was on when they pushed the button. ------------------------------ Jill Engle ------------------------------ Re: New Redirect (Doredirect)The button triggers an email to send but it doesn't happen instantly so I want the button to disappear until the email has actually gone out. People are a little "button happy" around here so I want to keep them from clicking it multiple times in a row and sending multiple emails while they are waiting for the email to go through. var text URL= URLRoot() & "db/" & [_DBID_TABLE] & "?act=API_EditRecord" & "&rid="&[Record ID#] & "&_fid_2232=" & Now() & "&apptoken=###"; var datetime sent = [Courier: Welcome Email - Date Sent]; var datetime triggered = [Courier: Welcome Call Email - DateTime Triggered]; //fid_2232 var bool triggerBlank = IsNull($triggered); var bool showButton = $triggerBlank or $sent>=$triggered; If($showButton,$URL & "&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()),"") ------------------------------ Jill Engle ------------------------------ Re: New Redirect (Doredirect)Yes, I would like the button to redirect the user to wherever they were when they clicked the button. The button worked that way in a form but did not work to return the user to a table report. ------------------------------ Jill Engle ------------------------------ Re: New Redirect (Doredirect)I am encountering this problem, too, that when my button is embedded in reports it doesn't return me to where I started but instead returns me to the app home page. In testing I discovered that when I put my whole URL in an If() statement the URL inside that If() statement doesn't work correctly. When I pulled the URL out of the If() statement it then worked exactly as described. I wanted to be able to toggle off my button under certain circumstances but apparently that will not be an option? Example: var text URL = URLRoot() & "db/" & [_DBID_PARENTS] & "?a=API_EditRecord&rid=" & [Record ID#] & "&_fid_6=today"; var bool boolA = true/false; If($boolA, $URL & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()),"") ------------------------------ Jill Engle ------------------------------ Re: quick base message returned web hooks are exceeding the threshold rateAre there any good ways to delay a webhook by a few seconds so that when tables send webhooks back and forth to each other that it wouldn't overload the webhooks?Re: quick base message returned web hooks are exceeding the threshold rateI have received the same error using QB Actions so am interested to hear if anyone has further insight on this.Re: Javascript refresh and position to a spot on the formThanks for your insights. The point of all of this is that I want a way to return to the same place I already was after a button click, whether it is a report, tab on a form, whatever. The button script referenced in the first part of this post works wonderfully when placed wherever we want it. The only exception being that when the button is placed on a form tab, it never reloads that particular tab after being pressed, it returns to the first tab of that form. I know I can but I don't want to specify a specific tab being clicked because then I lose the ability to put this button wherever I want.Re: Javascript refresh and position to a spot on the formI did find that there is some code in the pages that does have a reference to the "activeTab". Now if I can only learn enough coding to make use of that fact. :) Here's the bit I found and put on a sticky note for future reference: $("#tabHolderSection.ui-tabs-uxv2").tabs({ selected: QB.Storage.UserDB.get("activeTab", 0)