Trouble with URL button to copy a record with custom GUID (key) field
Hi, I'm trying to create a button that will allow users to copy a record but I'm using my own key field so I need to increment that automatically in the process. Context: We have an online form for employees to created 'SDO Requests'. These get transferred from the resulting spreadsheet to a Quickbase 'helper' table where some transformations happen and a new GUID is assigned before a pipeline sends them to the master table. The custom GUID is necessary to weed out duplicate entries on import and transfer. Since these requests involve dates and time periods they sometimes span two pay periods. I'm trying to provide the people that approve and audit the requests an easy way to 'split' a request by making a copy of the original so that they can just edit the end date of the original and start date of the copy (one day I'll dig into how to automate that as well since I have a table of pay periods to reference but I digress). I have no idea if I'm even on the right path here but my thought was to pass the original GUID (e.g. key) field to the new record and just add the Quickbase generated Record ID# to the end of it to ensure a new unique value. I've tried variations of this: URLRoot() & "db/" & Dbid() & "?a=GenCopyRecord&rid=" & [Record ID#] & "&_fid_6=" & URLEncode([SDO Request GUID]&"-"&ToText([Record ID#])) And so far I either get the same GUID as the original record or it momentarily populates the original GUID but goes blank (I suspect this is a result of me trying to add a concatenated value to the field. Fid_6 is the id of my GUID field. URL coding is certainly not my strong suit in Quickbase to date so any help would be greatly appreciated. I'm not married to this idea either, I just need to be able to allow users to copy a record and generate any kind of new unique value for fid_6.Solved16Views0likes4Commentsifv and OpenAsPopup conflict
I have a rich text button for the user to click to make a quick edit, which opens a popup window that leverages a code page to close automatically when saved (following the "CloseWindow.html" pattern illustrated here). I am attempting to also hide the normal qb UI in the popup window utilizing an ifv parameter, but when I do this the window no longer closes automatically. My base url is in a field [Edit User Alert]: URLRoot() & "db/" & Dbid() & "?a=er&rid=" & URLEncode([Record ID#]) & "&dfid=11" & "&z=" & Rurl() My rich text button adds the ifv (currently commented out) and NextURL parameters to the url and sets the class: var text url = "'" & [Edit User Alert] & //"&ifv=10" & "&NextURL=" & URLEncode(URLRoot() & "db/" & AppID() & "?a=dbpage&pageid=5") & "'" ; ... var text class = "'OpenAsPopup' data-height=600 data-width=850 data-refresh=true "; ... The window closes correctly without the ifv parameter but when it's added the window no longer closes. Where am I going wrong?111Views1like4CommentsWhat does the ifv url parameter do?
What is the ifv parameter used for? As in "&ifv=0", "&ifv=1", etc. It seems to have something to do with iFrames but I don't see in the documentation or any Qrew discussions an explanation of what it's actually doing. The specific context I'm running across it is in a rich text report formula containing a hyperlink to display a specific record/form in a popup window. At first I thought it was just controlling whether the link would open as a popup, but that appears to be done using `class='OpenAsPopup'`. Also I'm see examples online using values other than 0 or 1, so I don't think my guess makes sense.Solved215Views1like4CommentsInvoice Routing
Tried a few searches but not quite sure how to describe my desire in just a few words. What I'd like to find out if it is possible would be to build an application for the tracking and routing of invoices. I know I can build tables and pipelines to functionally achieve this but the part I'm not sure how to do is to design the app so that when a user receives an email, indicating they have an invoice to review, to build in the ability for them to indicate somehow in that email their response. We are currently using a SharePoint Power Automate workflow but it seems to run into issues and I am the only one that knows how to investigate and fix those flows. The email provides basic information in the body, includes the original invoice as an attachment and then gives them the option to Approve or Reject from right in the email. For the majority of our invoice approvers they never actually visit our SP site, their interactions are solely through the approval emails they receive. Once they've selected their response the flow continues on to create an "approval page" and then merges that page with the original invoice. Post merge it is forwarded to a specific accountant for payment. I've been trying to migrate our solutions to various QuickBase apps as it has proven easier for non-technical persons to use and manage. Just wondering if a similar set up could be built in QB so that users wouldn't have to log into QB to respond to invoice approval requests. Thanks ------------------------------ Ember ------------------------------135Views0likes1CommentURL Formula to print report that shows related child records
Hello, I need a URL formula that creates a print button, where the related project field in the child table is the [RECORD ID] of the parent record. Currently I have this: URLRoot() & "db/" & Dbid() &"?a=printr&rid=" & [Record ID#] & "&dfid=14" This prints the child records report displayed on the parent form, however I need to print a different report from the child table, not the report I'm displaying on the parent record's form. Thank you in advance :) #urlformula #Print #Button ------------------------------ Mackenzie Phillips ------------------------------ 93Views0likes1Comment