Forum Discussion
Eric_J_Hansen
9 years agoQrew Cadet
This is actually what you need right here:
"<a class='Vibrant Primary' href='javascript:LinkAway(\"" & URLRoot() & "db/" & Dbid() & "?a=dbpage&pageid=87" & "\");' >Return To Dashboard</a>"You should also make sure this setting is turned on in the advanced settings for your table:
- MannyCruz9 years agoQrew Assistant CaptainHey Eric!
Sorry, I had to put this on the backburner for a bigger team project we had. I tried this but it gives me the error
"Home pages cannot be viewed using this interface. Use act=ShowPage instead"
Any ideas?
The saving part worked, so that's good. - MCFNeil9 years agoQrew Captainchange the
a=dbpage&
to bea=showpage&
that should fix the issue - MannyCruz9 years agoQrew Assistant CaptainNo dice, now the button does nothing at all haha. I will keep tweaking and see what works, but if you have any ideas as to why, I'm all ears (no quickbase error message for the formula)
- MannyCruz9 years agoQrew Assistant CaptainCorrection, it works now, but only when the record is in edit mode, not in view mode. Any way to get the redirect to work in view mode? Or should I just make two buttons and have one appear in view mode and one in edit mode?
- MCFNeil9 years agoQrew CaptainCorrect, the linkaway function only works in edit or add. So you are right you'll want to use your original href= button in view mode (and on reports).
"<a class=\"Vibrant Primary\" href=\"https://ctc.quickbase.com/db/bmqu5ffji?a=showpage&pageid=87\">Return To Dashboard</a>"