ContributionsMost RecentMost LikesSolutionsRe: Home page URL in Button bar to autocreate record in a tableThat was going to be my workaround, and as QuickBasePros_IDS pointed out, turns out it did have something to do with the javascript.Re: Home page URL in Button bar to autocreate record in a tablePerfect. I did not get that message in my app. Thank you so much! Re: Home page URL in Button bar to autocreate record in a tableI don't get a system response when used on a record, I've stated it works as a formula field in my original post. Just not as dashboard homepage. I'm not sure why either, but thank you anyways. _\_(_)_/__Re: Home page URL in Button bar to autocreate record in a tableI have the correct DBID, and that field is not in that table. I removed that field anyways to see what would happen and I get "error code 0". "No error". Works fine as a formula field, just not as a home page URL button.Re: Home page URL in Button bar to autocreate record in a tableThe correct DBID is in there, I just removed it from this example and replaced it with[_DBID_MY_TABLE_ID]Re: Home page URL in Button bar to autocreate record in a tableThanks for a quick reply and yes this would just add a blank record, as crazy as it may sound, so I'm trying to make it as simple as possible for my users. Also, I'd like to just return the user back to the home page, which I believe the javascript will do fine. Appreciate the feedback.Home page URL in Button bar to autocreate record in a tableHi, I am trying to create a URL button in a home page button bar that will automatically create a record in a table. I found a post here saying to create it first in a formula field and remove the label to expose the link address to paste as the URL. I did this and works greats as a formula field, but when using the link address on a homepage button I get the error. "Trying to add a non-unique value to a field marked unique. The field named "my_field" with field id XXX requires a unique value." What confuses me is that this field is not within or associated in anyway with the table_ID in which the record getscreated. Can anyone assist with this or explain why this is preventing a record from being created? Formula field: var text URL = URLRoot() & "db/" & [_DBID_MY_TABLE_ID] & "?a=API_AddRecord"; "javascript:" & "$.get('" & $URL & "',function(){" & "location.reload(true);" & "});" & "void(0);" URL link address on homepage: javascript:$.get('https://(company).quickbase.com/db/(MYTABLEID)?a=API_AddRecord',function(){location.reload(true);});void(0); Re: Help with URL Button to add child record and then save automaticallyYour suspicion is correct :) Thank you sir!Re: Help with URL Button to add child record and then save automaticallyThank you for the info. To answer your question, this button would actually be on a report so I'd like it to reload back to that report.This report also displays the last activity created, so the user will be able to verify that the button worked. EDIT: I defined $URL to the report, but am met with an error page. However, the record did save properly. ERROR: "This XML file does not appear to have any style information associated with it. The document tree is shown below.Help with URL Button to add child record and then save automaticallyHi, I have a URL formula button to add a child record and pre-populate fields. Is it possible to have this button automatically save the child record as well without it opening the new child record and having to save it there? I did my best to research these forums, but couldn't find a solution. I realize I could achieve this with a checkbox and QB automation, but I'd rather have a button for this. Here is my current formula URLRoot() & "db/" & [_DBID_ACTIVITIES] & "?a=API_GenAddRecordForm&_fid_38=" & URLEncode ([Record ID#]) & "&_fid_6=" & "Mailed Letter" & "&_fid_125=" & "Birthday" & "&_fid_23=" & "Outreach" & "&z=" & Rurl() Appreciate any help.