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="javascript: var 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?