Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to publish documents to SharePoint now that SharePoint Web Part is replaced by SharePoint Add-in

Last updated on 5 September 2022 · 2 min read

Admin

Overview

The old M-Files Web Part for SharePoint Online has been deprecated and replaced with the newer M-Files Add-in for SharePoint Online. However, the new add-in does not support storing common credentials for publishing documents from M-Files to SharePoint for users who do not have credentials to M-Files. How can documents be published from M-Files to SharePoint with the add-in?

Solution

The SharePoint add-in can be combined with the anonymous login feature, which enables users to access the new Web client without credentials. This opens two configuration possibilities:

  • Enable anonymous login in the main vault and make sure that the documents that require publishing have such permissions that they can be seen by the anonymous user that is automatically added to the vault when anonymous authentication is enabled. The anonymous user must not have permissions to any objects that should not be publicly available.
  • Create a separate publishing vault and replicate the documents to be published from the main vault to the publishing vault. Make sure that only documents that are meant to be publicly available are replicated to the publishing vault. Again, the anonymous user needs to get permissions to all the documents to be published.

Important Note: anonymous access affects both the new Web client and the Mobile client. When defining permissions for the anonymous user, keep in mind that the documents that are published for the anonymous user will also be available via the new Web client and the Mobile client, not only via the SharePoint add-in.

After anonymous authentication is enabled in some vault, you can configure the SharePoint add-in to connect to that vault. The target vault contents will be displayed in SharePoint without the need for users to provide any credentials.

For more details on the anonymous authentication feature, please see this page of the user guide:

https://www.m-files.com/user-guide/latest/eng/document_vault_authentication.html#document_vault_authentication__anonymous_authentication_web

Still need help?

On this page