Using hyperlinks in infopath2003 forms with sharepoint2003 doc/form libraries??

Posted on 2011-05-10
Last Modified: 2012-05-11

I've created a handy dandy form that appears to be fully working as intended; it submits it's XML file to a sharepoint form library and maps some columns to a content type so they can be viewed along with it directly from sharepoint.

I have 2 fields in my forms for URLs... one is for a Wiki link and the other is for a Discussion link.

Ideally, when this form is submitted and reviewed, the reviewer will open a discussion list on the same site for people to discuss the request. I want them to be able to take the URL to that particular discussion and insert it in the form to link them up, so to speak.

The same would apply for the wiki... once the issue is resolved, it would be added to the wiki to retain the knowledge and document it for future requestors.

When trying to submit the discussion URL in the form, the form takes it fine, and saves it/retains it. However, the column in the form library doesn't... I presume it's a length issue because the sharepoint URLs are disgustingly long.

So - I need a way around this. Either I take it out of the form library sharepoint view and turn it into an easily clickable link inside the form itself...   or ... well I don't know how else to solve this.

Maybe keep my text box/hyperlink field... and somehow make a link/button that opens the website referenced in a particular field inside the form?

Help :(    (I'm not using browser-enabled forms by the way, because I can't... if that makes a difference)
Question by:runelynx
    LVL 28

    Accepted Solution

    Putting the hyperlink into the InfoPath form is quite easy.
    just add a hyperlink control and point it at the field, you can even have a formatting rule which hides it if blank.

    another option to research is relative paths in SP. so instead of needing the whole path you only need how to get there from your form library. not sure if that helps but you could look into it.

    Author Comment

    Ahh the dynamic hyperlink field will have to work then!

    I'll keep relative SP paths in mind though - some of these links are just insanely long!

    thanks :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
    For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now