Home Forums DocXtender and NavXtender DocXtender: Undefined Response from largeFileUpload. Cannot Retrieve Sharepoint

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Stijn BossuytStijn Bossuyt
      Post count: 5

      Hello,

      Some users are getting this error when dropping a file on the drag & drop box.

      DocXtender: Undefined Response from largeFileUpload. Cannot Retrieve Sharepoint URL

      When I try it, it works fine. However my user was the first one to use the exentension

      Br,

      Stijn

      Terri Vaive
        Post count: 506
        Upvote
        Up
        0
        Down
        Not Helpful
        ::

        Hello Stijn,

        If your user experiences file drag and drop issues, please check if permissions are assigned:
        Configure DocXtender Permissions

        Also, check the setup:
        Configure DocXtender Setup

        Thank you,

        Sergiy YakovlevSergiy Yakovlev
          Post count: 3
          Upvote
          Up
          0
          Down
          Not Helpful
          ::

          Hi! Me and my users are getting the same error message after yesterday night’s update 🙁  ext version: 2.4.9351.1, BC Version: 26.0.30643.35618

          DocXtender: Undefined Response from largeFileUpload. Cannot Retrieve Sharepoint URL

          I’ve got SUPER permissions, but also explicitly assigned dedicated Insight Works permissions as Terri kindly suggested.

          Interestingly Drag & Drop is working as expected for items that already have a folder with attachments in sharepoint, so it seems it’s struggling with creating new folders?

          when I’m trying to create a folder/file in the same site/library manually in sharepoint it works fine.

          Any suggestions please?

          thanks in advance, Sergiy

          Travis PlettTravis Plett
            Post count: 325
            Upvote
            Up
            0
            Down
            Not Helpful
            ::
            That error is coming from SharePoint, not from DocXtender. A couple of things you can check:
            1. Make sure that pop-ups and URL links are not being blocked in the browser or by a third party security application on the workstation. Check the workstation and browser for all security apps including: browser add-ons, firewall, anti-virus, anti-malware, popup blocker, spam blocker, app approvals. A good test would be to try it on a brand new PC or VM that has nothing but the operating system installed.
            2. The user must be able to open the SharePoint site in the same browser as Business Central without being prompted to login or an app approval. If they are prompted, DocXtender will not be able to connect automatically. The login is just cached in a browser SharePoint cookie, nothing is stored in Business Central. This is exactly the same as if you log into SharePoint and use the “remember me” option. You can try a different browser, but do not use private/incognito more or log out of the Microsoft login since that will prompt you to log into SharePoint again. If the browser cannot save the SharePoint login it will not be able to retrieve the link after the file is sent. If you are having issues eliminating the admin approval prompt, you would need to talk to your SharePoint partner or Microsoft. You may need to construct a URL to grant the needed permissions.  The information is in the following link from Microsoft: https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent
            Sergiy YakovlevSergiy Yakovlev
              Post count: 3
              Upvote
              Up
              0
              Down
              Not Helpful
              ::

              hi Travis, thank you for the answer. It would all make perfect sense if I weren’t able to load any files via Drag & Drop. But how can it work flawlessly for existing items if there’s an issue with security/permissions? I’m not suggesting that something is wrong with DocXtender but I believe something changed in the extension during the upgrade, because it literally stopped working after the extension was updated.

              thanks in advance again,

              Sergiy

              Travis PlettTravis Plett
                Post count: 325
                Upvote
                Up
                0
                Down
                Not Helpful
                ::

                DocXtender does not manage the SharePoint login, so we don’t have details in Business Central on exactly why it is failing. The wording of the message, especially when intermittent, sounds like SharePoint is timing out. It could be that the user has access to add files to existing folders, but do not have access to make new folders. We just list the settings that everyone else is using successfully to ensure that the browser can connect to SharePoint.

                Thayer CoburnThayer Coburn
                  Post count: 5
                  Upvote
                  Up
                  0
                  Down
                  Not Helpful
                  ::

                  FWIW, I just started getting this same error after changing my Windows/domain password.

                  Travis PlettTravis Plett
                    Post count: 325
                    Upvote
                    Up
                    0
                    Down
                    Not Helpful
                    ::
                    DocXtender does not manage your SharePoint login, so if the user’s password has changed, log back into SharePoint manually before attempting to attach new files in Business Central. The user must be able to open the SharePoint site in the same browser as Business Central without being prompted to login, MFA or an app approval. If they are prompted, DocXtender will not be able to connect automatically. The login is just cached in a browser SharePoint cookie, nothing is stored in Business Central. After a password change, you may have to clear the browser cookies to force a new connection to SharePoint.
                    Thayer CoburnThayer Coburn
                      Post count: 5
                      Upvote
                      Up
                      0
                      Down
                      Not Helpful
                      ::

                      Thanks, Travis. Deleting cookies fixed it.

                      David VilaDavid Vila
                        Post count: 1
                        Upvote
                        Up
                        0
                        Down
                        Not Helpful
                        ::

                        I’ve encountered the same error with a customer, and we identified that since the latest DocXtender update, the folders where DocXtender sends the files have changed. Previously, the folders were named “Sales Header”, but now it has created “Cab. venta” since we work in Spanish. The customer didn’t give employees the proper permissions to the new folders, so no one could attach documents to SharePoint. Now that they are aware of the new folders, they can assign the correct permissions and everything works normally.
                        <div>

                        From this issue, I have a question: what criterion does DocXtender use to name the folders? Does it depend on the user configuration in Business Central and the language they are using? I would appreciate it if you could confirm this.

                        Thanks.

                        </div>

                        Travis PlettTravis Plett
                          Post count: 325
                          Upvote
                          Up
                          0
                          Down
                          Not Helpful
                          ::
                          The root folder is configured on the DocXtender Setup page: http://kb.dmsiworks.com/knowledge-base/initial-configuration/
                          The SharePoint subfolders will be created based on the card that the document is attached to and are not configurable or extendable. This folder structure is hard coded to guarantee each path is unique:
                          – SharePoint Host– (Host from setup)
                           – SharePoint Site – (Site from setup)
                            – SharePoint Library (Documents – non-configurable)
                             – SharePoint Folder – (Folder from setup – optional)
                              – Document Type – (From the Caption of the table – i.e. Sales Order)
                               – Document Number – (From the single primary key of the record)
                                – Attachments – (files)
                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • You must be logged in to reply to this topic.