Fomatting Date returned in Json Response
I followed the example listed here: How to use Pipelines to email a report at a specific time of day | Qrew Discussions (quickbase.com) However, my Json reponse includes a date. The example formats Percentage and Currency, but does anyone know the syntax need to format a date data? I need it in the MMDDYYYY format (no time stamp). Thank you. Mark30Views0likes1CommentEmbed quickbase form on public web page
I have done this before, but it's been a while, and my brain doesn't seem to be working today. I've also searched and not come up with the solution. I have a form to add a record, it's open to "everyone on the internet". I can open it in a browser I am not logged into and it works as I want it to. Now I want to embed this on a public web page. I cannot figure out the iframe embed code to make it work. I have a specific form assigned to "everyone on the internet", and I'd like to strip all the Quickbase "stuff" from the page and just have a "Submit" button that saves and redirects to some kind of thank you page on the site.Solved58Views0likes6CommentsOpening Form with API Parent Child Relationship
I have a Parent/Child relationship that has a Report Link and a URL Formula calling a form. I would like to create another similar relationship (same partent/child setup) but call a different form and display a different report related to this new form. I am not sure the best way to handle this? Should I create a new table relationship basically the same as the first one but edit the results when creating the report link and the URL formula? Seggestions? Thanks, Brian15Views0likes0CommentsCustom Edit Record URL for EOTI
Hello All - Here's my situation: I have a community app that captures Parents in the Parents Table (name, email, cell). I then have a Parent/Child relationship (no pun intended) to the Child table [Child 1 (name, age, dob), Child 2 (name, age, dob), Child 3 (name,age dob)]. I would like my workflow to look like this: EOTI audience visits my registration link Parent registers by entering their initial information (regular html form to parent table) Parent receives email confirmation of registration (pipeline to mail chimp) In the body of the email, there's a series of welcome text and other information. At the bottom, there will be a link that says "Click here to complete registration and add children." The link will allow them to add 1 or many records to the Child table. The only way I can think of to achieve this is to create a Pipeline: Trigger - QB Record Created Action - Outlook Email - where the body of the email contains the Add Record API URL linked to the parent record. Right now, I have constructed the URL by entering the following text in the body: https://andtechllc.quickbase.com/db/bt2mpv3zh/form?a=er&rid=Record CreatedRecord ID&rl=ct&page=1 Is this the right way to do this? If it works, I can see it working for the first child, but how do I ask them if they want to add another child? I hope this makes sense. What other information do you for me to help you help me???9Views0likes0CommentsAPI_GetUserInfo
Hello, The purpose of my pipeline is to dynamically add a user via API calls. The user who submits the request to add a "new" user has to input the "new" users email address. I understand that I then need to use that email address within the API_GetUserInfo to check if the user's email exists on any realm within Quickbase. If it does, then I should use the @id response data and insert it into API_AddUserToRole -> API_SendInvitation. If it doesn't exist, then I should use API_ProvisionUser -> API_SendInvitation. My issue is that if a user is not found within the API_GetUserInfo, it throws an error: "Quickbase reported an error: 2 : Invalid input : The user with the specified email address or username does not exist." I have tried adding an if statement to avoid the error and simply continue on: {% if b.json.qdbapi.user['@id'] != "" %} true {% endif %} However, it still throws the error if the user is not found. Is there any way to prevent this error from occurring? Thank you.34Views0likes3CommentsSave & Redirect in a Formula URL Using API_GenAddRecordForm
Hi. I have a need to "duplicate" the record and populate some fields on the new record (from the original record). It's not saving my current record before adding the new record, how do I get it to save first? I have the advanced setting turned on. This is my Formula URL Button: If( [Request] = "Include Existing Contractor + Add NEW FTE for Conversion", URLRoot() & "db/" & Dbid() & "?a=API_GenAddRecordForm" & "&_fid_53=" & URLEncode([Related Business case]) & "&_fid_129=60" & // Softcode the Months Needed to 60 FTE "&_fid_68=This Request is related to " & URLEncode([Request]) & "&_fid_123=14" & // Sets Request to "New FTE (Related Conversion)" "&_fid_127=FTE" & // New Employee Type "&_fid_43=" & URLEncode([Contractor PID - Dept]) & "&_fid_139=" & URLEncode([Related Level]) & "&_fid_138=" & URLEncode([Related Role]) & "&_fid_140=" & URLEncode([Related Hiring Manager]) & "&_fid_171=1" & // Start Date Override Checkbox to Yes "&_fid_259=" & URLEncode([Record ID#]), If( [Request] = "Add New Contractor + Add New FTE for Conversion", URLRoot() & "db/" & Dbid() & "?a=API_GenAddRecordForm" & "&_fid_53=" & URLEncode([Related Business case]) & "&_fid_129=60" & // Softcode the Months Needed to 60 FTE "&_fid_68=This Request is related to " & URLEncode([Request]) & "&_fid_123=14" & // Sets Request to "New FTE (Related Conversion)" "&_fid_127=FTE" & // New Employee Type "&_fid_84=" & URLEncode([Related Role]) & "&_fid_29=" & URLEncode([Related Level]) & "&_fid_38=" & URLEncode([Related Hiring Manager]) & "&_fid_43=" & URLEncode([New Dept1 #]) & // Dept #: sets field 195 to field F "&_fid_259=" & URLEncode([Record ID#]), "" ) )57Views0likes4CommentsWhat is the matter with my API Button formula?
Trying to create an API button to open a new record in another table (ideally will love to build this out while passing details on to specified fields. But. I can't even just get it to do a new record). What gives? I've compared this to some of my other similar records, and can't figure out why this won't work. Thanks!56Views0likes4CommentsSave Before Navigating and API Edit Record Bug - Not bug...
I posted earlier about this and said I would update, but cannot find the original posting any more. I located what I felt was a bug, but Customer Service has stated is expected. This behavior may affect many of you, and I would be curious to know how many others have realized this is happening. When using SaveBeforeNavigating, if you have changed field values it is a random chance if the order will be: Save the Record and Grab the New Field Values or if it will be Grab Old Field Values then Save Record. Thus, you are are utilizing any changed fields (perhaps you are using an edit record api and taking the value of Field A, which was just changed), you will sometimes get the original value of Field A, and sometimes get the new value of field A. I guess both actions happen at the same time (grabbing the field values and saving the record), so it's a mini race to see which one happens first, and it switches back and forth. As they are labeling this as expected behavior, I suppose we will need to start a feedback if it is something we would like to see sequential (save then get field values). Wondering if others would be interested in this feature.29Views1like0Commentsautomate role granting process - add admin to all apps
Hi guys. I am currently working on a project thats going to automate role granting process based on the requests in ServiceNow so I am looking to utilize the HTTP API to grant user a role through API_AddUserToRole. First I want to export current roles related to all active apps in Quickbase - a whooping 429 apps to be able to create a predefined drop-down (we are currently not creating more roles/apps). I understand that through API_UserRoles call I can get all roles associated with one app, so if it means that an account with admin access on all apps can generate list of all roles for all apps. How can I streamline granting such admin access to 429 apps? Or granting some access level to all apps? Any advice or strategies would be greatly appreciated.15Views0likes0Comments