Adding hyperlink in Infopath custom list which opens pdf document available in document library

Hi,
I have a custom list(modified in InfoPath 2010) and a document library having 2 pdf documents.
In the Custom list, i have used the attachment option for another field.
How to create a link in the InfoPath list, which when clicked opens the corresponding pdf from the document library?
How to achieve this?
Thank you

Hi Venkatzeus,
From your description, you have a list and attachments for the list are uploaded to a document library. To display the hyperlink in InfoPath form, you can directly use 2 Hyperlink controls. And give the document' URL in this control using formula.
I’m not sure how you upload the list item attachments to another document library. But make sure you have made a connection between the list item and attachments in document library. Here is an example.
ListTitle         ID
Item1     1
Item2     2
Pass the ID to the document library when we create the attachment.
Document Name             ItemID
attachment1 for item1    1
attachment2 for item1    1
attachment3 for item2    2
attachment4 for item1    1
attachment5 for item2    2
So here, we can see attachment1, attachment2, attachment4 are item1’s attachments and attachment3, attachment5 are item2’s attachments, because of ItemID.
1. Create a new column for document library, named it DocumentURL.
2. Create a workflow and set to start when new item is created automatically with following action.
Set DocumentURL = http://server/topsite[%Current Item:URL Path%].
3. Custom list form.
    1) Add a data connection to receiver data from document library.
    2) Insert document library connection as repeating section.
    3) Add a hyperlink control within the repeating section (Insert > Hyperlink).
    4) Select DocumentURL as the data source for Link To and Display options.
4. Add a formatting rule to the repeating section control.
If ItemID in document data connection is not equal to ID in Main data connection, then hide this control.
5. Done.
Let me know if you have any question.
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support

Similar Messages

  • Can't open pdf:s in My documents.

    I have moved My documents to a secondary hdd to save space on c:. I have Win7 pro and i have changed under my userprofile were the directory My documents is.
    The problem is that i can't open pdf-files on My documents with Adobe Reader. I only recieve a message, "There was a problem when this document was opened. Access is denied." (Translated from Swedish)
    I can open the file without any problem if i move it to c:. I don't have any problems with any other type of documents.
    Please help! I use the latest version of Adobe Reader and i have updated windows and drivers.

    Hi,
    Thanks a lot for the screenshots and the information.Would it be possible for you to try the following at your end.
    1. Create another folder under C:\ with some Latin Characters such as Ö or ä (as being used in the redirected path for My Documents etc.). Now place any PDF in this folder and try and access the same. Are you able to access it this time?
    2. Redirect the My Documents folder to some other path which does not have any Latin character and see if the issue is still reproducible.

  • I can't open pdf, it wants a document password.

    I can't open pdf, it wants a document password.

    Ask the person who created the document for the password.

  • Adding Hyperlinks in Report shuould take action in PDF Output

    Hi All,
    I had a requirement with reports
    Explanation of the requirement.
    I had a report aaa.rdf which gives a (one)employee monthly details.
    which need to be output in PDF.
    now the requuirement is
    I had added labels "next-month" and "previous-month" labels at either side of report title.
    I need the code to kept in these labels such that when this report is executed and taken into PDF file, when user
    user clicks on the "next-month" or "previous-month" in that PDF file, the action to take is it should re-ran the same report(aaa.rdf) and should display the output in PDF in the same window but now the output should show the
    coressponding next-month or previous-month results respectively of that employee.
    please let me know if this make sense.
    please guide for the above requirement.
    this is very very urgent your help will be appreciated.
    Thanks in advance
    RRM

    Hi,
    it is not too late ....
    It's possible to add such Hyperlinks to the pdf-Output of a report.
    With use of the built-in rw.set_hyperlink('hyperlink') in a format trigge you can realize that. "hyperlink" is for example then something like:
    '/reports/rwservlet?destype=cache&desformat=pdf&report=drilldetail.jsp&userid=scott/tiger@josi&p_deptno='||:deptno
    In your case it's a call to the same report you run before and you had to set your month-parameter in the call depending your current month (next or previous).
    With srw.set_hyperlink_attrs('string') it's possible to add additional attributes like for example
         srw.set_hyperlink_attrs('target=_new')
    which opens a new browser window.
    This works for HTML & PDF.
    Regards
    Rainer

  • Customized Workspace Cannot open PDF forms anymore

    Hello,
    I have customizaed my workspace with Flex Builder 3, Flex SDK 2 Hotfix 3. In previous months, everything is ok, and my workspace with IE 7.0 can open PDF forms inside processes. However, I do not know what is changed, my previous customized workspaces and new customized workspace can not open PDFs inside IE, but works on Mozilla Firefox. I have also tested workspace source without changing anything and deploying my server. However it still can not open PDFs, blank part is shown inside the PDF frame.
    It gives an javascript error, 'undefined' is null or not an object is given
    Line: 35
    Character: 2
    Code: 0
    Error Message: 'undefined' is null or not an object
    URL: http://lctk2:8080/WorkspaceTK/pdfContainer.html?Resource_78CC71E9-E28E-54CE-1451-B5E26744 9195&%2Fworkspace-server%2Fdocuments%2F8129227453799326550-310.pdf&application%2Fpdf
    What can be the problem,
    Any prompt answers will be appreciated.
    Asiye

    PDF forms can be created using Acrobat or LiveCycle but the basic structure of the forms created are very different. If the form is created by Acrobat then Adobe Mobile Reader can open the form. If the form is created by LiveCycle then Adobe Mobile Reader cannot open the form  and I suspect there maybe no iOS app that can process the form.
    As noted, you need to use a computer to fill-in the form. You also might want to inform the bank about the issue.

  • Failed to open pdf error on every document

    Today I came and started placing pdf documents in Indesign CS3 like I always do, and suddenly I start getting "failed to open pdf" errors on every pdf file I try and place. I have tried all the suggested tactics of selecting show import options, changing the crop to bounding box, etc. Nothing working.
    I also tried to open the pdf in acrobat and export into a different format or optimize it using the pdf optimizer, but when I do that I get gobbly **** text on the pdf. See screenshots
    The only workaround that works is to save as a raster image. But this is incredibly time consuming. I also tried importing these same files into Indesign cs 4 and I get the same errors. I am wondering if this is a system wide issue. Any ideas or suggestions?
    I noticed all these pdf were created using cs4 and above. Not sure if this helps.

    Hold the Shift key as you click Place or turn on Show Import Options in the Place dialogue.
    I get this from time to time. Here’s what I think happens: You placed a PDF with Import Options showing so you could select a different crop method, like bleed. This becomes the new default import option for PDF files. But if you import a file with no bleed data InDesign gives an error message instead of either jumping to import options or telling you the default crop options are unavailable for this file. I would call it a bug. I have encountered it from at least version 4 (aka CS2).

  • Bug in Adobe Reader when opening PDF's in a sharepoint library

    I can consistently reproduce this problem.
    A document library containing pdf's where the number of items exceeds the list view threshold.
    The documents are locked and checked out to another user.
    When a non-admin user clicks the pdf link, the following CAML query is sent to the server (presumably to see which user has the document checked out) - *However this CAML query fails because the list view threshold is exceeded*
    Here is an example of the caml query adobe generates
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/"><listName>{27277C40-B0FD-4E3C-9709-93434DDCCB95}</listName>
    <query><Query><Where><Eq><FieldRef Name="FileLeafRef"/>
    <Value Type="File">32977 - NZ2942.pdf</Value>
    </Eq>
    </Where>
    </Query>
    </query>
    <queryOptions><QueryOptions><IncludeMandatoryColumns>FALSE</IncludeMan datoryColumns>
    <Folder>Account Documents</Folder>
    </QueryOptions>
    </queryOptions>
    <viewFields><ViewFields><FieldRef Name="IsCheckedoutToLocal"/>
    <FieldRef Name="CheckoutUser"/>
    </ViewFields>
    </viewFields>
    <viewName></viewName>
    </GetListItems>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    HTTP 500 - List view threshold exceeeded.
    This is a bug in adobe and needs to be fixed.
    The final error is "The URL you have provided cannot be reached".
    Expected behavior - the document opens in read only mode because it is locked (and also because we are using reader and can't edit it)
    I see no reason for Reader to send a query to determine who has the document checked out.

    You will not get a response from the bug report but they DO read the reports and use them to make future updates.
    I notice a lot of the other issues reported here have not been responded to either.
    Is that the normal process?
    I haven't noticed that at all. In fact, most posts here get results as long as the poster gives enough details. Keep in mind that the answers are coming from fellow users and it is not an official avenue to contact Adobe personnel.

  • Issues opening PDF files from SharePoint document library reader/pro 11.0.5

    Hello,
    We have a sharepoint 2010 enviroment and recently upgraded our Acrobat X11 installs ( both reader/std/pro) to version 11.0.5.
    We have a mixture of WIndows 7 32/64Bit IE 8 and IE 9 machines
    After upgrading to 11.0.5 when users click a pdf file in a SP document libary one of two things happens depending if they have the
    Adobe Reader Plugin Enabled or not
    If the Adobe Reader Plugin is enabled, they will not get prompted to run/save the pdf file and it will not open in a new tab in the browser
    If the Adobe Reader Plugin is disabled, they will get a popup window that has the correct URL to the PDF in the address bar but they will not be prompted to save or run the file.
    If they click in the addrss bar and press enter the pdf will then load in the external reader/acrobat application.
    This issue started with 11.0.5 updates, rolling people back to 11.0.4 fixes the issue.
    I have attempted everything I can think of including rebuilding new machines with our image.
    Has anyone see issues like this with the 11.0.5 update?

    If a bug is confirmed, a fix may be delivered in the next release (can't promise). For a similar issue caused by a Microsoft bug, see http://forums.adobe.com/message/6106294#6106294.
    Ben

  • How to link Discussion Board with Custom list in sharepoint 2013

    I have a custom list, which  have collection of goals. and i have an discussion board for discussions about those goals from that custom
    list... so how can i link between those two. what my expectation is, if I select a "goal" from custom list, then the collection of discussions that related to goals will displays on other side...  and i have added a lookup column in discussion
    board that refer the goal name in the custom list so i am relating goal name between these two. 

    Hi VinoJash,
    According to your description, my understanding is that you want to click the ‘discuss’ column in the custom list to navigate to the associated discusstion. Is it right?
    You can do as the followings:
    Open your custom list
    Create a new column, the type is Hyperlink or Picture, select Format URL as: Hyperlink
    Navigation to a discussion, copy the URL of the discussion
    Back to the custom list, and new an item
    Type the title, and paste the URL copied in step 3 under ‘Type the web address:’, type a name for the description of the url
    Click Save
    In my testing, the result is :
    If I click ‘first discussion’, it will open the ‘first’ discussion.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • No search results when using custom list search

    Hi,
    I've built a custom list in SharePoint Online , which was supposed to be a new tracker. It was a combination of 3 different DBs. I combined the data in excel, scrubbed it and synced the data into my sharepoint list using Access. The question: Why
    don't I have any entries showing when I use the seach box within my list? It comes up with nothing found? I don't have SharePoint Admin rights, I'm just a site owner. Which elements should I look into first to make sure that my entries are found? Any help
    will be greatly appreciated. Thank You.

    Hi WSBR.Darius,
    After you added data into the custom list, if you want to search the items, you also need to run a crawl for your content source.
    However, for SharePoint 2013 Online, continuous crawls are enabled in SharePoint Online, with crawl frequencies managed by Microsoft. You need to wait for finishing continuous crawl.
    More information about Search feature in SharePoint Online:
    https://technet.microsoft.com/en-us/library/jj819291.aspx?f=255&MSPPError=-2147217396
    In addition, as this issue is about SharePoint 2013 online, I suggest you create a new thread on Office 365 forum, more experts will assist you with SharePoint Online.
    Office 365 forum:
    http://community.office365.com/en-us/f/default.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Cannot "Add new Item" in my SharePoint 2010 custom lists

    Hi guys,
                All these days it was working fine and all of sudden now when i click on "Add new item" in the the custom lists which i have created in my SharePoint 2010 and fill in the fields and click "save",
    I am getting an exception...:( 
    Please HELP!!!
    Neo Alpha

    One more thread for the same issue
    http://social.msdn.microsoft.com/Forums/en-US/51f37f3b-18a3-4d6b-b90f-2a4240306bf8/when-update-a-folders-property-it-throw-a-comexception-0x81020089
    hope this will help you
    Senthilrajan Kaliyaperumal

  • Standard Report for Customer Listing

    Hi Gurus
    Is there any standard report available for Customer listing which display customer details.
    Points will be rewarded..
    Regards
    Happy

    Hey Happy,
    I think there is no standard report functionality to get the list of the customer but you can get that in this way,
    Go to SE16 transaction enter the table KNVV then execute system will give the all customer which are maintaining sales area data.
    Take the table KNA1 to get the general data customers list
    Take the table KNB1 to the company code data customers list
    I hope it will help you
    Regards,
    Murali.

  • SharePoint 2013 access to custom lists a user creates

    In an InfoPath custom list form 2013, I have setup a group of test users with 'view' access to my test SharePoint website. These users are able to enter data in a custom list.
    When the user looks at the data that they originally entered by accessing the data from the sharepoint website, the InfoPath Form looks like the form is read only. However if the user clicks the auto generated edit buttons on the top of the form, they are
    able to change the data in the list.
    Basically I would like a way for the user to not be able to change the original data in the custom list.
    Is there a way that I can accomplish this goal like:
    1. disable the autogenerated buttons,
    2. have all the textboxes set as read only,
    3. change some kind of an access level?
     Would you let me know what method works and how to accomplish my goal?

    In InfoPath Designer go to File, Info, Form Options.
    In the Web Browser category uncheck Show InfoPath Commands in Ribbon or Toolbar.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Can I create a pdf with clickable links which open new pdfs?

    Hi,
    My client now wants me to create pdf with links to open new pdfs (in an offline mode). He wants to put all the content onto memory sticks to hand out at a conference.
    I have suggested the alternative of links which redirect to other pages within the same pdf, but if I could create one which open whole new pages or documents this would be really smart.
    Many thanks,
    Sam

    When you create the links, use "Go to a page view" type, as opposed to "Open a file". This allows you to create links that will open another PDF to a particular page and view (zoom and position).

  • Adding Hyperlinks to photos in iWeb

    Using a photo template in iWeb, I am having trouble adding hyperlinks to photos as well as to the 'captions' beneath the photos... is adding hyperlinks simply not possible in a photo template or available only on selected templates?
    Appreciate any help.

    Try this old technic:
    http://discussions.apple.com/thread.jspa?messageID=4888047&#4888047

Maybe you are looking for

  • Custom screen using BBP_CUF_BADI

    Hi, I am trying to call a custom screen using implementation of BADI, BBP_CUF_BADI. I have written the following code in the implementation of the PUT_DATA method. EV_REPID = 'Z_SCREEN'. EV_DYNNR = '8888'. The screen is not displayed. Also if you cou

  • Change Subviews in a Dashboard Widget

    I am trying to make a Dashboard widget, but the way I am trying to make it would involve using more than two subviews. The two that are already there by default are the front and the back, and I already know how to create more. The problem is that I

  • Message output systems

    Hi Gurus, I am a Functional Consultant and do not know much about the ABAP. I am making a Functional specification for the change Message out put which is for Remittance advise for the Vendors. I read few of the  Threads an I am sure now I can get so

  • .exe Build from LabWindow/CVI 7.1 run exception under RTE 8.0.1

    Below is the source file  of test1.exe, which was built using LabWindow/CVI 7.1 environment, OS is Windows XP SP3 Due to some reason(install TestStand, or LabView, or ...), the Runtime  Engine  cvirte.dll, cvirt.dll (exists in c:\windows\system32\ )i

  • Help request -- how to increase flash player streaming buffer?

    hello: i'm using flash player 9 for linux on firefox. how can i increase the size of the streaming buffer? typically while watching video clips on you tube the screen will freeze momentarily. i do not experience the same thing on mac os x or windows