This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
guides:oi10:presentation_server_model:495_webview_object [2025/01/16 13:27] – [MAPHOSTNAMETOFOLDER method] Fixed typo in example bshumsky | guides:oi10:presentation_server_model:495_webview_object [2025/01/16 13:29] (current) – [MAPHOSTNAMETOFOLDER method] bshumsky |
---|
|HostName |Yes |Specifies the virtual host name to set. After setting the mapping, documents loaded in the WEBVIEW object can use HTTP or HTTPS URLs at the specified host name to access files in the local folder specified by the FolderPath parameter. | | |HostName |Yes |Specifies the virtual host name to set. After setting the mapping, documents loaded in the WEBVIEW object can use HTTP or HTTPS URLs at the specified host name to access files in the local folder specified by the FolderPath parameter. | |
|FolderPath|Yes |Specifies the local folder path to map to. Both absolute and relative paths are supported for folderPath. Relative paths are interpreted as relative to the folder where OpenInsight.exe is located.\\ \\ This parameter must not exceed the Windows MAX_PATH limit (260 characters). | | |FolderPath|Yes |Specifies the local folder path to map to. Both absolute and relative paths are supported for folderPath. Relative paths are interpreted as relative to the folder where OpenInsight.exe is located.\\ \\ This parameter must not exceed the Windows MAX_PATH limit (260 characters). | |
|AccessType|Yes |Specifies the level of access to resources under the virtual host from other sites. Can be one of the following values:\\ \\ <code>\\ 0 : Deny\\ 1 : Allow\\ 2 : DenyCORS\\ </code>\\ \\ Specify the minimal cross-origin access necessary to run the app. If there is not a need to access local resources from other origins, use “0” (Deny).\\ \\ Cross-origin resource access types are documented on the Microsoft website under the topic:\\ \\ “CoreWebView2HostResourceAccessKind”| | |AccessType|Yes |Specifies the level of access to resources under the virtual host from other sites. Can be one of the following values:\\ \\ 0 : Deny\\ 1 : Allow\\ 2 : DenyCORS\\ \\ \\ Specify the minimal cross-origin access necessary to run the app. If there is not a need to access local resources from other origins, use “0” (Deny).\\ \\ Cross-origin resource access types are documented on the Microsoft website under the topic:\\ \\ “CoreWebView2HostResourceAccessKind”| |
| |
=== Returns === | === Returns === |