Hi all, I'm new to Infopath but wanted to share what's happening to see if any of you may be able to help:
I have a list in sharepoint that contains information on different products, with each product having an infopath form filled out for it (product details, numbers, help information etc.). There were so many attachments that I wanted to add for each product that I decided to create a separate document library just to help keep the documents organized. My thought was that I could simply add a link in the infopath form to the document in the document library, and we'd have one place to keep all documents nice and organized.
Now, I'm wanting to show hyperlinks of those documents in the document library in the infopath form for each associated product. I've gotten it all to work so far with creating a site column that looks-up corresponding fields that match both on the list and document library. In other words, if I have a form that is filled out for product A, then it will show information on the different document library (I added it as a data source) of documents for that same product A.
The problem is I want to show a hyperlink that can be viewed in Infopath so that someone can click on the link, and have it take them to the corresponding document in the document library. I thought the change-control hyperlink would be perfect for this, but when I change it, it disappears?
For example, say that I have a field named 'Title' for the document library, if I bring in that title field to the infopath form it will show correctly when in view mode/edit mode. If I change that title field (which was originally a text field) to a hyperlink filed, it will show the hyperlink properties as a link to XPath: "d:Title". I then open the infopath form, and for like a SECOND, it will flicker the link correctly. But after that first second, the link disappears, and nothing is shown. It just goes blank. If I click on that view again (there are 4 views on the infopath form, the view that I have for these links is the 'Supporting Material' view) it again will flicker when I first click on it, then disappear?
I've even tried dragging in the insert-hyperlink thing (from the insert menu, not from the control side), and linking it to the data source ' title'. This way it at least showed the hyperlink without disappearing in the form, but when I click on the link it just pulls up an about:blank IE site. I then tried grabbing the full XPath (by right clicking on the datafield for Title and copying the xpath), then pasting that xpath into the link to:Address area, (so the Link To address showed: /dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title) . But now it pops up a Dialog window stating the address is not valid.
Any tips to help this show? Any other ideas on how I can have multiple links on an infopath form that take you to the corresponding document in a separate library?
Thanks in advance for your time and help,
-Will