Thursday, March 28, 2013

VIMS - Sharepoint 003

I need to use a Hyperlink on which, when the user clicks on the same, InfoPath form shall open in Client.

Resolution:
1. Publish the Form to a Form Library
2. Create the Hyperlink with the URL as below:

href="Javascript:createNewDocumentWithProgID(escapeProperlyCore(‘
/Forms/template.xsn', true), ‘
/', 'SharePoint.OpenXMLDocuments', true)"

For e.g.
href="Javascript:createNewDocumentWithProgID(escapeProperlyCore('http://vims/ActsRegistration/Forms/template.xsn', true), 'http://vims/ActsRegistration/', 'SharePoint.OpenXMLDocuments', true)"

No comments:

Post a Comment