{"id":20021,"date":"2023-07-20T09:36:58","date_gmt":"2023-07-20T09:36:58","guid":{"rendered":"https:\/\/smarterbusinessprocesses.com\/?p=20021"},"modified":"2024-05-20T15:21:43","modified_gmt":"2024-05-20T15:21:43","slug":"url-query-string-in-smartsheet","status":"publish","type":"post","link":"https:\/\/smarterbusinessprocesses.com\/url-query-string-in-smartsheet\/","title":{"rendered":"URL Query String in Smartsheet","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"\n<p>Looking to save time when filling forms in Smartsheet? Using a URL Query String in Smartsheet lets you prefill different default values for the same form.<\/p>\n\n\n\n<p>It also lets you customize form links with query strings for instance in email shots to provide different default values for each recipient.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg\" alt=\"\" class=\"wp-image-21458 lazyload\"\/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"682\" src=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg\" alt=\"\" class=\"wp-image-21458 lazyload\" srcset=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg 985w, https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-300x208.jpg 300w, https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-768x532.jpg 768w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/noscript><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Case Example<\/h2>\n\n\n\n<p>Suppose you are managing a team logging support calls. You can provide everyone in your team with a link to the same form that prepopulates their individual name and department. <\/p>\n\n\n\n<p>Simply create one base form, and then give each team member a different URL with parameters unique to them, providing them with a query string that prefills their name, department, and whatever other unique information you need them to provide. Each team member can easily log each support call with all the relevant information prefilled on the form. <\/p>\n\n\n\n<div class=\"wp-block-stackable-heading stk-block-heading stk-block-heading--v2 stk-block stk-cb7e637\" id=\"how-to-build-a-query-string-to-form-a-url\" data-block-id=\"cb7e637\"><h2 class=\"stk-block-heading__text\">How to Build a Query String to form a URL<\/h2><\/div>\n\n\n\n<p>To build the query string for a form URL:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the menu bar, select Forms &gt; Manage Forms.<\/li>\n\n\n\n<li>Hover over the form you want to distribute with custom URLs.<\/li>\n\n\n\n<li>Select Copy Form URL.<\/li>\n\n\n\n<li>In a spreadsheet or any word processing application, paste the URL.<\/li>\n\n\n\n<li>At the end of the URL, type a question mark (?) For example:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-78b5275 stk-block-background\" data-block-id=\"78b5275\"><p class=\"stk-block-text__text\">app.smartsheet.com\/b\/form\/6145a2c33c4e42e68bf53900e4a4845b<span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\"><strong>?<\/strong><\/span><\/p><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type the value for the form field that you&#8217;d like to populate. For example:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-54969b6 stk-block-background\" data-block-id=\"54969b6\"><p class=\"stk-block-text__text\">app.smartsheet.com\/b\/form\/6145a2c33c4e42e68bf53900e4a4845b<strong><span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\">?First-Name<\/span><\/strong><\/p><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type an equal sign (=)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type the value you want to set as the default. For example: <\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-910cc60 stk-block-background\" data-block-id=\"910cc60\"><p class=\"stk-block-text__text\">app.smartsheet.com\/b\/form\/6145a2c33c4e42e68bf53900e4a4845b<span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\"><strong>?<strong><span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\">First-Name<\/span><\/strong>=J<\/strong><\/span><strong><span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\">ohn<\/span><\/strong><\/p><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To include multiple fields in the URL, join them with an ampersand (&amp;).&nbsp; For example:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-2749dcd stk-block-background\" data-block-id=\"2749dcd\"><p class=\"stk-block-text__text\">app.smartsheet.com\/b\/form\/6145a2c33c4e42e68bf53900e4a4845b<strong><span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\">?<strong><span style=\"color: var(--theme-palette-color-1, #3bac33);\" class=\"stk-highlight\">First-Name<\/span><\/strong>=John&amp;Last-Name=Smith<\/span><\/strong><\/p><\/div>\n\n\n\n<p>The image below shows what the form will look like with all requested values filled in. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/07\/image-1.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/07\/image-1.png\" alt=\"URL Query String automatically loaded to a Smart Form in Smartsheet\" class=\"wp-image-20037 lazyload\"\/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"553\" src=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/07\/image-1.png\" alt=\"URL Query String automatically loaded to a Smart Form in Smartsheet\" class=\"wp-image-20037 lazyload\" srcset=\"https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/07\/image-1.png 596w, https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/07\/image-1-300x278.png 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/noscript><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Tips To Remember<\/h2>\n\n\n\n<p>A prefilled query string won&#8217;t work if users have to log in to access the form.  <strong>Authentication clears any customization from the URL.<\/strong><\/p>\n\n\n\n<p>If your team needs to submit the same data again, they can use the browser&#8217;s back button to reload the form with the last submitted values, including prefilled values. Then, they can overwrite anything they need to change and resubmit the form.<\/p>\n\n\n\n<p>In your form settings, remember to select \u2018<a href=\"https:\/\/help.smartsheet.com\/articles\/2481836-manage-form-display-and-submission-options#toc-send-the-user-a-copy-of-their-form-responses\" target=\"_blank\" rel=\"noopener\">Allow submitter to email a copy of form submission option<\/a>.\u2019 Once this is set up, you can use query strings to automatically enter a default email address. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Want to know more?<\/h2>\n\n\n\n<p>To stay up to date with our <a href=\"https:\/\/smarterbusinessprocesses.com\/category\/tipstricks\/\">tips and tricks<\/a>, blogs, latest products and all the latest from Smartsheet.<\/p>\n\n\n\n<p> <a href=\"https:\/\/smarterbusinessprocesses.com\/contact\/\">Subscribe to our mailing list<\/a> to stay up to date.<\/p>\n\n\n\n<p>Read more about our <a href=\"https:\/\/smarterbusinessprocesses.com\/smarter-forms-editing-smartsheet-data-in-a-form\/\">Smarter Forms tool<\/a> here, and watch our webinar on creating webforms in Smartsheet below. <\/p>\n\n\n\n<div class=\"wp-block-stackable-columns stk-block-columns stk-block stk-834f1c7\" id=\"Video-centred\" data-block-id=\"834f1c7\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-content-align stk-834f1c7-column\">\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk-block stk-0b45668\" data-v=\"4\" data-block-id=\"0b45668\"><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-0b45668-container stk--no-background stk--no-padding\"><div class=\"stk-block-content stk-inner-blocks stk-0b45668-inner-blocks\">\n<div class=\"wp-block-stackable-columns stk-block-columns stk-block stk-da7be5e\" data-block-id=\"da7be5e\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-content-align stk-da7be5e-column\">\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk--hide-tablet stk--hide-mobile stk-block stk-c6aba92\" data-v=\"4\" data-block-id=\"c6aba92\"><style>@media screen and (min-width:690px){.stk-c6aba92{flex:var(--stk-flex-grow,1) 1 calc(10% - var(--stk-column-gap,0px) * 2 \/ 3 ) !important}}<\/style><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-c6aba92-container stk--no-background stk--no-padding\"><div class=\"stk-block-content stk-inner-blocks stk-c6aba92-inner-blocks\">\n<p><\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk-block stk-50dd6a5\" data-v=\"4\" data-block-id=\"50dd6a5\"><style>@media screen and (min-width:690px){.stk-50dd6a5{flex:var(--stk-flex-grow,1) 1 calc(80% - var(--stk-column-gap,0px) * 2 \/ 3 ) !important}}<\/style><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-50dd6a5-container stk--no-background stk--no-padding\"><div class=\"stk-block-content stk-inner-blocks stk-50dd6a5-inner-blocks\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe class=\"lazyload\" title=\"Smarter PDF Creator PLUS - Tech Q&amp;A\" width=\"1370\" height=\"771\" data-src=\"https:\/\/www.youtube.com\/embed\/TJLE5ncQ1W8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-stackable-column stk-block-column stk-column stk--hide-tablet stk--hide-mobile stk-block stk-89593be\" data-v=\"4\" data-block-id=\"89593be\"><style>@media screen and (min-width:690px){.stk-89593be{flex:var(--stk-flex-grow,1) 1 calc(10% - var(--stk-column-gap,0px) * 2 \/ 3 ) !important}}<\/style><div class=\"stk-column-wrapper stk-block-column__content stk-container stk-89593be-container stk--no-background stk--no-padding\"><div class=\"stk-block-content stk-inner-blocks stk-89593be-inner-blocks\">\n<p><\/p>\n<\/div><\/div><\/div>\n<\/div><\/div>\n<\/div><\/div><\/div>\n<\/div><\/div>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>Save time when prefilling a form in Smartsheet with a URL Query String. <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":11,"featured_media":21458,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,558,557],"tags":[714,716,561,717],"class_list":["post-20021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-hero","category-tipstricks","tag-query-string","tag-smarter-forms","tag-smartsheet-forms","tag-tipsandtricks"],"blocksy_meta":{"disable_featured_image":"yes"},"featured_image_urls_v2":{"full":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg",985,682,false],"thumbnail":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-150x150.jpg",150,150,true],"medium":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-300x208.jpg",300,208,true],"medium_large":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-768x532.jpg",768,532,true],"large":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg",985,682,false],"1536x1536":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg",985,682,false],"2048x2048":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String.jpg",985,682,false],"wp_review_small":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-65x65.jpg",65,65,true],"wp_review_large":["https:\/\/smarterbusinessprocesses.com\/wp-content\/uploads\/2023\/09\/URL-Query-String-320x240.jpg",320,240,true]},"post_excerpt_stackable_v2":"<p>Save time when prefilling a form in Smartsheet with a URL Query String. <\/p>\n","category_list_v2":"<a href=\"https:\/\/smarterbusinessprocesses.com\/category\/blog\/\" rel=\"category tag\">Blog<\/a>, <a href=\"https:\/\/smarterbusinessprocesses.com\/category\/hero\/\" rel=\"category tag\">Hero<\/a>, <a href=\"https:\/\/smarterbusinessprocesses.com\/category\/tipstricks\/\" rel=\"category tag\">Tips &amp; Tricks<\/a>","author_info_v2":{"name":"Julie Harris","url":"https:\/\/smarterbusinessprocesses.com\/author\/julieh\/"},"comments_num_v2":"0 comments","gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/posts\/20021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/comments?post=20021"}],"version-history":[{"count":0,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/posts\/20021\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/media\/21458"}],"wp:attachment":[{"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/media?parent=20021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/categories?post=20021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smarterbusinessprocesses.com\/wp-json\/wp\/v2\/tags?post=20021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}