SharePoint 2013 and 2019 Form Library Edge - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

SharePoint 2013 and 2019 Form Library Edge

Last post 02-14-2020 08:28 AM by oOoSLIPPYoOo. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-21-2020 10:47 AM

    SharePoint 2013 and 2019 Form Library Edge

    We're dropping IE soon.  SharePoint 2013 form libraries and SharePoint 2019 form libraries in Edge or Chrome do not open SharePoint Form Library form templates in the client application, InfoPath, for users to fill out.  Both browsers give an error that the form cannot be opened in the web browser.  Form library is set to open forms in client application by default.  Any JavaScript'd link to open the form template for a new form submittal doesn't work.  Any HTML link to open the form template for a new form submittal doesn't work.  Is there anyway to get an InfoPath client form stored in SharePoint 2013 or 2019 to open in the InfoPath client in Edge or Chrome easily?  Also, stakeholders are trying hard not to use Compatibility Mode in Edge.

  • 01-27-2020 07:51 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

    I don't know of anything other than third party Chrome extensions may be available to help with this.... I can try to experiment later this week & see if I can find a work-around, but I'm not super hopeful. I was hoping someone else in the community would have had direct experience with this.
    Hilary Stoupa

  • 01-27-2020 08:00 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

     Thank you.  I'm not sure there's a solution other than Microsoft Edge Compatibility Mode.  I tested compatibility mode since my post.  Our Security Team isn't too keen on using it but it does allow the New Item links to work within SharePoint to open the form within the InfoPath client.  I agree with you Chrome may not be a solution at all but Microsoft Edge Compatibility Mode may be the only solution since IE will be going away in my organization. 

  • 02-14-2020 06:06 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

    Hi all - just checking in; if anyone has found a solution please let me know. Our corporation upgraded to SharePoint 2019 and it has effectively broken my process I had set up. Direct links to the forms won't work anymore - giving the "cannot be opened in web browser" message. But if I browse to the form library directly then I can click the link and it opens in InfoPath Client ccorrectly.
  • 02-14-2020 06:56 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

    That's terrible!  I'm sorry you're going through that issue.  Background on what I know from my testing at this point is it's complicated....We are working to get off of Internet Explorer in Compatibility Mode as fast as possible due to security issues with IE.  IE still works for me with SharePoint 2019 and InfoPath as long as IE is in compatibility mode. 

    At this time, in my development SharePoint 2019 environment, in a classic site, (not modern) all my forms are unable to be opened in Edge or Chrome via a HTML <a href=""></a> tag, a JavaScript link, an xml coded link, or from clicking New Item/New Document in a form library. I'm completely down in my development SharePoint 2019 environment from an InfoPath standpoint. Edge in compatibility mode should work (tested it) but security team won't allow it so I'm awaiting a fix for an Edge Microsoft product that is not working with another Microsoft product, InfoPath, currently not at end of life yet.  Won't be end of life until 2026.  Compatibility mode shouldn't be a solution so I'm told.   I understand degradation of functionality happens as we move to newer versions of SharePoint for InfoPath, but to not have a user be able to click a form library new item/document button to open a form in the InfoPath client within SharePoint 2019 is not acceptable.  Microsoft currently has an open ticket with us.  It's been open for about a month almost two.  If I get a solution I'll post.

    Try Edge or IE in compatibility mode, add your domain to the compatibility mode listing and see if that works. Google Chrome is a lost cause unless there's a solution and I haven't found a solution yet.  Also, make sure your form library settings have Open in Client set rather than let server decide or Open in Browser.

    Hope I assisted and if I didn't...hopefully someone else can chime in.

    SharePoint to the end! 

  • 02-14-2020 07:39 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

    Thanks for the quick reply! This SharePoint 2019 seems to be quite a challenge. Since direct linking to the InfoPath form isn't working, I thought maybe my work around could be to filter the Form list on a unique value using FilterField1 and FilterValue1 in the URL - of course it appears in 2019 that doesn't work either and requires some sort of hash code in the URL for a filtered view to work. What a mess!
  • 02-14-2020 07:55 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

    In the direct link, do you include any URL params, like maybe "openin" or "noredirect"? I'm wondering if those might help here. https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ms772417(v%3Doffice.14)
    Hilary Stoupa

  • 02-14-2020 08:28 AM In reply to

    Re: SharePoint 2013 and 2019 Form Library Edge

     Hi, Hilary! Thank you for your reply. Here are two link code examples that work in IE compatibility mode and Edge compatibility mode.

     Example 1

     <!-- Create a new InfoPath document from a web page -->
     <script language="vbscript">
     ' Set the URL to the form Library. 
     ' Note that it must NOT be URL encoded (e.g. use " ", not "%20").
     Dim urlLibraryPOR 
     Dim urlTemplatePOR
     urlLibraryPOR = "http://WebApplicationTitle/sites/SiteCollectionTitle/FormLibraryName/"
     urlTemplatePOR = urlLibraryPOR + "/Forms/template.xsn"

     Sub CreateNewInfoPathPOR
       Dim objOpenXMLDocuments
       Set objOpenXMLDocuments = CreateObject("SharePoint.OpenXMLDocuments")
       objOpenXMLDocuments.CreateNewDocument2 window, urlTemplatePOR, urlLibraryPOR
      End Sub
     </script>
    <center>
    <table><tr><td><center>
      
      <button style="background-color: #E5E9F4" onclick="CreateNewInfoPathPOR()">
       <font color="#1F3E6D">
        <B>Submit Button</B>
       </font>
      </button>
     </center></tr></td>
    </table>
    </center>

    --------------------------------------------------------------------------------------------------------------------------------------------------

     Example 2 

    <a href="/sites/SiteCollectionTitle/_layouts/FormServer.aspx?XsnLocation=http://WebApplicationTitle/sites/SiteCollectionTitle/FormLibraryTitle/Forms/template.xsn&amp;SaveLocation=http://WebApplicationTitle/sites/SiteCollectionTitle/FormLibraryTitle&amp;ClientInstalled=true&amp;Source=%20http://WebApplicationTitle/sites/SiteCollectionTitle/FormLibraryTitle/Forms/MyItems.aspx&amp;DefaultItemOpen=1">
       <img src="/sites/SiteCollectionTitle/PublishingImages/default/Image.png" alt="" style="margin: 5px;"/></a>

     

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