Stump the Panel Topic: Setting a hyperlink field with a long URL http://www.endusersharepoint.com/STP/ SharePoint QA en Mon, 27 Jul 2009 16:18:30 +0000 jbhoward on "Setting a hyperlink field with a long URL" http://www.endusersharepoint.com/STP/topic/setting-a-hyperlink-field-with-a-long-url#post-8632 Thu, 23 Jul 2009 09:57:38 +0000 jbhoward 8632@http://www.endusersharepoint.com/STP/ <p>Depending on how many querystring key/value pair you might end up with (and the length of the values), you'll most likely need to shorten your keys:</p> <p>Church/Event Name = n (BTW, that / is going to give you trouble, anyway)<br /> Address = a<br /> City = c<br /> etc.</p> <p><a href="https://server/sites/Lists/Scheduling%20form/NewForm.aspx?n=TEST&#38;a=TEST&#38;c=TEST" rel="nofollow">https://server/sites/Lists/Scheduling%20form/NewForm.aspx?n=TEST&#38;a=TEST&#38;c=TEST</a>…</p> <p>You might also make your link relative:</p> <p>/sites/Lists/Scheduling%20form/…</p> <p>or from QuickLaunch:</p> <p>Lists/Scheduling%20form/…</p> <p>Where are you getting the lookups? And why are you prefilling so many? Wouldn't it be better to set defaults in the columns?</p> <p>Where is this hyperlink going to be? Could you concatenate a couple of fields when you are drawing the link, rather than trying to store it all in one field?</p> <p>Blessings,<br /> Jim Bob </p> eric on "Setting a hyperlink field with a long URL" http://www.endusersharepoint.com/STP/topic/setting-a-hyperlink-field-with-a-long-url#post-8631 Thu, 23 Jul 2009 08:34:43 +0000 eric 8631@http://www.endusersharepoint.com/STP/ <p>It is probabaly the Sharepoint 260 character limit your hitting. You'll have to decide what values need to be prepopulated and which ones don't (or could be set as default values on the column level). </p> bhorner on "Setting a hyperlink field with a long URL" http://www.endusersharepoint.com/STP/topic/setting-a-hyperlink-field-with-a-long-url#post-8620 Wed, 22 Jul 2009 20:10:23 +0000 bhorner 8620@http://www.endusersharepoint.com/STP/ <p>I'm trying to use SharePoint designer to set a hyperlink field with a bunch of the values that are part of that item (so that I can use the JQuery pre-populate script on another page). What happens, it seems, is that I'm hitting a character limit in creating the link, somewhere around 280, and it just errors out my workflow. My link looks like this:</p> <p><a href="https://server/sites/site/Lists/Scheduling%20form/NewForm.aspx?Church/Event" rel="nofollow">https://server/sites/site/Lists/Scheduling%20form/NewForm.aspx?Church/Event</a> Name=TEST&#38;Address=TEST&#38;City=TEST&#38;State=TEST&#38;Zip Code=TEST&#38;Church Phone Number=TEST&#38;Website=TEST&#38;Contact Name=TEST&#38;Cell Phone=TEST&#38;Email=TEST&#38;Music Style=TEST&#38;Concert Location=TEST&#38;Dress=TEST, Schedule an Event</p> <p>Replace TEST with lookups and that's what I have. If I cut the link in half, it works, but to add all that data, it doesn't. Any ideas on how to get this to work? I tried looking at a calculated column but hyperlinks get messed up whenever there's a space involved. </p>