Forum Discussion
MarkShnier__You
Qrew Champion
The URL is incorrect. What is the the URL suppose to do, edit a record? Display a record?? Just go to a table?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
WallaceYeboah
4 years agoQrew Member
So I just updated my formula to the following:
var text AppToken = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=XXXXX";
But still getting an error
------------------------------
Wallace Yeboah
------------------------------
var text AppToken = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=XXXXX";
But still getting an error
------------------------------
Wallace Yeboah
------------------------------
- MarkShnier__You4 years agoQrew ChampionYou have not stated what you want the formula URL button to do. In the formula you posted above you have created what is called a formula variable which means an interim calculation and then you have not said what to do with that formula variable. Also you are asking to edit a record but you are not specifying any fields to be changed. Then lastly after you added a record you will need to redirect the user back to a report or a record otherwise you will see the XML success message be displayed on the screen.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- WallaceYeboah4 years agoQrew MemberAhh Long list of rookie mistakes. I was able to fix the issue. Thanks Mark!
------------------------------
Wallace Yeboah
------------------------------- MarkShnier__You4 years agoQrew ChampionOK!
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- MarkShnier__You4 years agoQrew ChampionAre you just trying to display a record in edit mode?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------