Forum Discussion
KirkTrachy1
4 years agoQuickbase Staff
Hi John:
QuickBase is migrating away from allowing NEW use of javascript in buttons.
You might try excluding the javascript portion and go right to the dbpage. In essence you would be trimming off the portion that opens in a new window.
You'd be removing this off the front:
------------------------------
Kirk Trachy , Senior Solutions Consultant
QuickBase | 603-674-5454 M | ktrachy@quickbase.com
------------------------------
QuickBase is migrating away from allowing NEW use of javascript in buttons.
You might try excluding the javascript portion and go right to the dbpage. In essence you would be trimming off the portion that opens in a new window.
You'd be removing this off the front:
"javascript:void(window.open('" & ​
and remove this on the end:& "','copyRecursive','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))"​​
Leaving you with:URLRoot() &"db/" & Dbid() & "?a=dbpage&dbid=" & [_DBID_STAGING_TYPE]
& "&pagename=copyParentChild-Select.html&onlyDBIDs=Table1.Table2.Table3&rid=" & URLEncode([Project Staging Type - Record ID#])
&"&dest=refresh&destrid=null&Table1-43=" & URLEncode([Staging ID]) & "&Table2-32=" & URLEncode([Staging ID]) & "&Table3-32=" & URLEncode([Staging ID])
& "&Table1-45=" & URLEncode(Today())
& "&Table1-44=" & URLEncode([Related Job])
& "&Table2-35=" & URLEncode(Today())
& "&Table2-33=" & URLEncode([Related Job])
& "&Table3-34=" & URLEncode(Today())
& "&Table3-32=" & URLEncode([Staging ID])​
I have done this with a number of other buttons to avoid the javascript warning/inhibition. I don't have your environment to test but you should be able to go directly to the page.
------------------------------
Kirk Trachy , Senior Solutions Consultant
QuickBase | 603-674-5454 M | ktrachy@quickbase.com
------------------------------
Related Content
- 2 years ago
- 7 months ago
- 6 months ago
- 2 years ago