Creating Direct Web Links
Note: This content is no longer updated.
For the latest content, please go to the user guide for M-Files Online. For information on the supported product
versions, refer to our lifecycle policy.
When automatic login is enabled, you can create direct weblinks between, for example, the company website and documents. You can give the opening page, openfile.aspx, these parameters:
Parameter | Description |
---|---|
objtype | The object type ID of the document that contains the file to be opened. This parameter is required. To see the list of object type IDs, do the first four steps of the Creating a New Object Type task. |
docid | The ID of the document that contains the file to be opened. This parameter is required. |
docver | The version of the document that contains the file to be opened. If this parameter is not set, the link always refers to the latest version of the document. |
fileid | The ID of the file to be opened. This parameter is only required when the document that contains the file is a multi-file document. |
filever | The version number of the file. |
showopendialog | Specifies whether the browser shows an opening dialog. By default, the value is 1 and the dialog is shown. If the value is set to 0, the dialog is not shown. |
Here are some examples:
- https://<server>/openfile.aspx?objtype=0&docid=71
- https://<server>/openfile.aspx?objtype=0&docid=71&docver=7
- https://<server>/openfile.aspx?objtype=0&docid=71&docver=7&fileid=71
- https://<server>/openfile.aspx?objtype=0&docid=71&showopendialog=0
Replace <server> with the web address of your own server.