This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Embedding M-Files documents via https-links

Hi,
Our goal at this moment is that we can show to our customers that documents from M-Files Vault can be access via web link. And via shared web link  documents can be embed (iFrame html-method) onto our visual 360-contents. We can do this with Google Drive documents so why not with M-Files Web Access.
For this simple demo purpose I think that we do not need our own IIS server setup. Instead we just need some shared https-links to demo files coming from M-Files Vault/cloud. Can we test this somehow without setting up our own IIS server?
Thanks in advance.
  • For sharing via web link, any article in our KB would work:

    https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/views/

    Articles there are hosted on a vault here at M-Files and are publicly accessible. You can right-click on any object in that vault and select 'Get Hyperlink' to grab the URL of that object, or you can grab the URL from the web address to link specific searches and views. Such as:

    M-Files URL Properties.pdf
    https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/BE2AA2E4-8B75-43DF-8E31-C045A31938B0/latest

    For the embedding I'll have to look into this and get back to you. Are you looking to embed the direct link to the document, or embed the document itself so it can be included without having to open it?

  • Thank you very much. As an answer I would like to embed the document itself . It means that pdf files can be shown without opening it. Maybe pdf needs some player if browser does not provide it. Just like you can embed youtube video on your own website. Also videos, jpg-images etc. and what about pptx and other ms-files.

  • If you physically just want to embed a file then you can probably do that via the Knowledge base.

    However, M-Files itself isn't really designed for direct long-term public sharing of files. The closest we have are public links, but they are designed to be time-limited; they should not be used for long-term embedding.

    The knowledge base works as it's designed to be an entirely public resource. Almost no M-Files implementations work this way.

    If you want to embed content from M-Files then you should look to build an integration using one of our APIs. In this way the user would interact with your website which would request content from M-Files, probably using some sort of service account. If you do not wish to stand up an IIS instance for your testing then that means you need to use the COM API, although that's not what I would advise architecturally.

    As for what you use to render the content, I would probably suggest that the content is rendered as a PDF. Again: you can request that the file content is converted to a PDF when you access it via our APIs. There are a host of ways of embedding PDFs into HTML.

    Regards,

    Craig