Nested API Button open form to add input, check box and redirect back to original form
I have another API Button question...similar to my last question. Using the same table set up (below), but this time the button would be selected if it's for a license that would not be applicable and input from the User would be required. I created a simple table that would pop up when the button was pushed asking the User to add information into the field. It would also check the [Not Applicable] button, then refresh back to the original page. However, I get the attached error page. Any thoughts? License Master(parent table) Pending Locations(parent table Suggested Licenses(a child (many to many table) to both above) Licenses (child (many to many table) to both License Master and Pending Locations / unrelated to Suggested Licenses) var text UpdateSuggestedLicense=URLRoot() & "db/" & [_DBID_SUGGESTED_LICENSES] & "?act=API_EditRecord" & "&rid=" & URLEncode([Record ID#]) & "&_fid_18=true" //Check Not Applicable to this Location & "&apptoken=MY TOKEN" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]); var text OPEN="<a class=\"OpenAsPopup\" data-height=900 data-width=900 href='" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#] // Suggested License ID & "&dfid=11" // Not Applicable form ID & "&apptoken=MY TOKEN"; var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();//refresh and redirect back to License page $OPEN &"&rdr=" & URLEncode($UpdateSuggestedLicense) & URLEncode("&rdr=" & URLEncode($RefreshPage))2Views0likes0CommentsNesting API Button Help (Add record and update another)
I have 4 tables I'm working with: License Master (parent table) Pending Locations (parent table Suggested Licenses (a child (many to many table) to both above) Licenses (child (many to many table) to both License Master and Pending Locations / unrelated to Suggested Licenses) I have a pipeline that searches criteria in the License Master to see if it matches criteria in the Pending Location. If any License Master records match they are copied to the Suggested Licenses table. On the Licenses main form the Suggested License embedded report has the API button I'm trying to create. I want to be able to click the button to Add the Suggested License record to the Licenses table if it is applicable for that location. Then edit the Suggested License record by checking the box "Added to Location" to then filter it off of the Suggested License report for that location. This is the formula I currently have and I'm so close. It adds the record and refreshes back to the Licenses page, but it does not perform the 2nd API to check off the box in the Suggested License record. var text ADD=URLRoot() & "db/" & " [_DBID_PERMITS_LICENSES]" & "?act=API_AddRecord" & "&_fid_95=" & URLEncode([Related Pending Location]) & "&_fid_44=" & URLEncode([Related License Master]) & "&_fid_8=" & URLEncode([License Master - Related Issuing Authority]) & "&_fid_21=" & URLEncode([License Master - Related Remittance Agent]) & "&apptoken=XXXXXX"; var text UpdateSuggestedLicense=URLRoot() & "db/" & [_DBID_SUGGESTED_LICENSES] & "?act=API_EditRecord" & "rid=" & URLEncode([Record ID#]) & "&_fid_17=true" & "&apptoken=XXXXXXX"; $ADD & "&rdr=" & URLEncode($UpdateSuggestedLicense) & URLEncode("&rdr=" & URLEncode($RefreshPage)) var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl(); Any help to what I'm missing would be awesome! Thank you.Solved10Views0likes2CommentsAPI Button Help
Hello Everyone, I have created an API button, but I keep getting an update_id error. Can someone please help me understand what this error means so I can fix it? Thank you -Bart <qdbapi> <action>API_AddRecord</action> <errcode>0</errcode> <errtext>No error</errtext> <rid>26238</rid> <update_id>1731629328550</update_id> </qdbapi>Solved40Views0likes9CommentsQuickbooks Online Authorization: Auth2.0 Tokens expiring after 24hrs
Getting an "invalid_grant" error after 24hrs. For the life of me I cannot figure out how to keep the tokens working past 24hrs. This pipeline runs every hour and returns updated refresh and access tokens. Everything works fine for 24hrs. This is from Inutuit Dev: "Tip: We update the value of the refresh_token value every 24 hours hours, or the next time you refresh the access tokens after 24 hours. This is an additional security measure by Intuit to reduce risk of compromise." Somehow refreshing both every hour is not meeting this requirement? We had a pipeline running every 12hrs also to get a refresh token separately but the results were the same. I feel like we are close, but just missing the timing of the pipelines or something else simple. PLEASE HELP!! I can provide more information beyond the two attachments as needed.29Views0likes0CommentsPass international phone format while updating phone number with Quickbase Restful API
I need to pass phone numbers from a 3rd party app to Quickbase via the Restful API. We receive phone numbers from outside the United States, so I need to pass in the country format as well as the phone number. After all my research, it seems like you can only change the country format through the Quickbase user interface. However, if there is a way to not have users do double the work, that would be ideal.8Views0likes0CommentsUPSERT Order processing preferences
When a Quickbase server gets a large UPSERT via API, how does the server perform the process/calculation to locate the correct Record ID# and determine whether to update/add the record in the table? Does the Quickbase system have a preference for the order of records? I'm thinking about what uses more processing in terms of an UPSERT. When I API a bulk UPSERT to a QB table leveraging a UNIQUE field (not the Record ID#) what is the preferred sort order of the records UPSERTED? I can sort using the UNIQUE field. I can sort using Record ID#. I can not sort. Wonder if anyone at Quickbase has performed this type of test and measured the performance?9Views0likes1CommentQuickBase Scripts
I have top tier QB enterprise access. I need a way to build and run a script within QB and have it systematically run it on a schedule. what I want to do can't be done with the default pipeline builder. I have a table that has a ticket number, open date, resolution date and a check box called Hard Down. The objective is to review each ticket ticket and determine if it was open at 7:30 am each day and has the Hard Down box checked. For every day the ticket was open at 7:30 am, we will insert the ticket number and the date it was open into a separate table. For example, if a ticket was opened on 10/3/2024 at 09:00 am and resolved on 10/6/2024 at 06:45 am. There would be 2 rows added to the Hard Down Trends table for dates (Ex. INC00000001234567 10/04/2024 and INC00000001234567 10/05/2024). We would not include 10/3 because it was created after 7:30 am. We would also not include 10/6 because it was resolved before 7:30 am. With all of that said, believe it or not, I have it built out and working in a code page. Anytime someone loads the page it will run through this 83 line HTML/JS code. Here is where I need help. Is there a way to run a coded page on a schedule or through a pipeline? Is there a better place to put a script that will run on a schedule? MS Copilot and Google's Gemini keep telling me there is an option within the pipeline to run a script, but I can't find it anywhere. Ultimately I don't care were it is or what language it is in. I just want it to be contained within QB and run by QB. Any thoughts are appreciated.Solved37Views0likes3CommentsUsing Webhooks
Hello, This is a very general question, but I would like to integrate QuickBase with our maintenance program Upkeep. Specifically, I would like to create work order requests in QuickBase that can automatically create one in Upkeep. Is this possible? I do not have much experience with webhooks but would love to learn if this is even possible before I go down that path. Thank you, and any help would be greatly appreciated.15Views0likes1CommentDocument creation - Save PDF to field in record
Loving the new Document creation feature, but now I want to expand upon it and save the generated PDF to a file attachment field on the form. The feature just makes an API call and the PDF is returned in the response, so we should be able to build a Pipeline to iterate through the JSON response and save the PDF. I've been trying to set this up for a few days, but to no avail. Has anyone done this yet?177Views0likes2CommentsAPI_AddRecord Then Redirec To Dashboard
Greetings, I have been searching and experimenting for some time now. I have given up and decided to try posting, as everything I have found is not working so far. I have a dashboard that I would like to add a button to. The button is intended to make an API_AddRecord call and then return to the dashboard. I can get the API_AddRecord URL together and it works as intended. The desired record will be added successfully. I have the URL to bring up the dashboard as well. What I can't get to work putting them both in a formula URL that will return the page to the dashboard after the call is made. Can someone give me the structure for how this is to work? Thank you in advance for any input / direction you can provide. James54Views0likes4Comments