QuickBaseCoachD
11 years agoQrew Captain
URL formula to edit a record and ""refresh the page
I regularly use little API URL formula buttons like this one.
var text $CopyStatustoPreviousStatus = blah blah blah ......;
$CopyStatustoPreviousStatus
& "&rdr=" & URLEncode($ReDisplayReport)
That works well when I have a button dedicated to either refreshing the record I am sitting on or refreshing a particular report.
I also use this great technique a lot to not refresh the report (so the user does not lose their place in the report or does not lose their Dynamic filter selections.
var text URL= blah blah blah ....;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"$.jGrowl('email Triggered to Prospect', {life: 5000});" &
"});"
&
"void(0);"
If there a way to modify the code above to incorprate this concept
&"javascript:location.reload(true);"
and not do the growl pop up. ie I'm looking for a button to be able to execute a URL formula which would say edit a record and then refresh whatever screen the user is on. In that situation with a refresh, typically the user's feedback that the button click "took" will be that the report refreshed or the record refreshed, so we don't need or want that jgrowl pop up.