How to create a link to edit a SharePoint custom list item in InfoPath? - InfoPath Dev
in

InfoPath Dev

How to create a link to edit a SharePoint custom list item in InfoPath?

Last post 03-24-2013 01:23 PM by davec. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-20-2013 03:38 PM

    • davec
    • Not Ranked
    • Joined on 03-20-2013
    • Posts 2

    How to create a link to edit a SharePoint custom list item in InfoPath?

     I have an InfoPath 2010 form that I want to open in InfoPath Filler when the user clicks on a link containing a reference to an item in a SharePoint custom list. I haven't been able to get Filler to successfully open the item. The closest I've got uses the following onclick handler:

         onclick="BLOCKED SCRIPTvar objOpenXMLDoc = new ActiveXObject('SharePoint.OpenXMLDocuments'); objOpenXMLDoc.EditDocument2(window , 'http://myserver{@FileRef.urlencodeasurl}', 'InfoPath.Document'); return false;"

    This will open the InfoPath Filler application but displays an error dialog saying the Internet address  'http://myserver/NOC/Lists/OperatorAreaOfResponsibility/11_.000' is not valid. Other posts I've read have suggested using {@Link} for this purpose but when I try that it renders as an empty string. A little help here?

     

     

  • 03-24-2013 12:48 PM In reply to

    Re: How to create a link to edit a SharePoint custom list item in InfoPath?

    Hi DaveC and welcome,

    Shiraz Cupala blogged a technique showing how to do this several years back. http://www.infopathdev.com/blogs/shiraz/archive/2007/08/16/best-way-to-launch-forms-from-web-pages.aspx

    Good luck!

    Patrick Halstead
    Project Manager at Qdabra
  • 03-24-2013 01:23 PM In reply to

    • davec
    • Not Ranked
    • Joined on 03-20-2013
    • Posts 2

    Re: How to create a link to edit a SharePoint custom list item in InfoPath?

     Thanks Patrick - that's part of the picture. I'm trying to open an item in a custom list, not an xml document from a library.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.