SharePoint Document Library Link Not Work on One View - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

SharePoint Document Library Link Not Work on One View

Last post 09-21-2023 07:55 AM by dapklp. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-20-2023 07:38 AM

    SharePoint Document Library Link Not Work on One View

    I have a document library where the “All Items” view contains a “key” column “Name (linked to document with edit menu)” which provides access to the form. . I have another VIEW on the same document library that also has the same “key” column, but the link that displays this warning for all documents: . Warning: Document was created with the newer version of the form template; do you want to open with the current version of the template? Click OK to resume filling out the form. You may want to check your form data for errors. OK . Pressing OK results in: . Error: Schema validation found non-datatype errors. Click Try again to attempt to load the form again. If this error persists, contact the support team for the Web site. Click Close to exit this message. SHOW ERROR DETAILS: Correlation ID:ae51dca0-1f4a-6028-3c82-fo0d37dc63ea . I have another document library set up the same way and the links on both Views work as expected. We are still on SharePoint 2013 (on-prem). Linking from the Restricted View is not critical because it contains additional columns that the end-users use primarily for reports. This is a FormsViewer form that uses the JavaScript redirect to FormsViewer
  • 09-20-2023 07:51 AM In reply to

    Re: SharePoint Document Library Link Not Work on One View

    Are you using FormsViewer for your form? Does the link in the All Items view open in FormsViewer? You can tell by the little maroon icon on the tab in your browser. It sounds like from one view the form is opening in FormsViewer and from another it isn't. Since you are on SharePoint 2013 on-prem, I'd guess you are using a JavaScript file to overwrite links in your view. You may need to modify the view that is opening the forms in InfoPath Forms Services (which is what the error message sounds like is happening) so that it has the JS Link to your JavaScript file for the library.
    Hilary Stoupa

  • 09-21-2023 07:55 AM In reply to

    Re: SharePoint Document Library Link Not Work on One View

    Yup...that was it. I forget that EACH view must have the JavaScript redirect file. Good as Rain. Thanks
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.