en:function_webexport
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:function_webexport [2022/10/06 09:03] – tom | en:function_webexport [2023/10/16 14:22] – tom | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | ====== WebViewer Export | |
- | ====== WebViewer Export ====== | + | |
---- | ---- | ||
- | The Onyx 3D WebViewer allows to create a web based representation of the dataset for viewing in web browsers, including on mobile devices. The WebViewer can be integrated into [[en: | + | The Onyx 3D WebViewer allows to create a web based representation of the dataset for viewing in web browsers, including on mobile devices. The WebViewer can be integrated into websites or web portals of service providers, but does not itself provide any functions that go beyond mere presentation. See also entry [[en:web_communication |
Line 22: | Line 21: | ||
| Patient Data | Select the data to display on the information popup | | Patient Data | Select the data to display on the information popup | ||
| Link | Result which can be given to the user or can be embedded into a patient-specific web page | | Link | Result which can be given to the user or can be embedded into a patient-specific web page | ||
- | | Password | + | | Password |
---- | ---- | ||
- | ===== Configuration ===== | + | ===== Configuration |
The upload has to be configured in [[settings|System Options]] on tab [[tab_uploaddata_webview|Upload Data]] > 3D-Web-Viewer before it becomes available as menu item. | The upload has to be configured in [[settings|System Options]] on tab [[tab_uploaddata_webview|Upload Data]] > 3D-Web-Viewer before it becomes available as menu item. | ||
- | ^ Entry ^ Description | + | For individualizing |
- | | Host | Your provider for the FTP-webspace | + | |
- | | Connection Security | + | |
- | | User Name | The user name für the FTP access | + | |
- | | User Password | + | |
- | | htaccess | + | |
- | | Host Directory | + | |
- | | Viewer Homepage | + | |
- | | Data Address | + | |
- | ++++ Code-Example for a page with individualized viewer | | + | ++++ Example |
<html xmlns=" | <html xmlns=" | ||
Line 64: | Line 55: | ||
---- | ---- | ||
- | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 82: | Line 72: | ||
++++ The viewer page reports "File not found - Please check link" | | ++++ The viewer page reports "File not found - Please check link" | | ||
- | * Check the data address in the configuration: | + | * Check the data address in the configuration: |
* Notice that the host directory is relative on the server and will be different from the data address which is needed for HTTP(S) access | * Notice that the host directory is relative on the server and will be different from the data address which is needed for HTTP(S) access | ||
* Open the development tools in your browser using F12 and look for any red error message in the console: | * Open the development tools in your browser using F12 and look for any red error message in the console: | ||
Line 90: | Line 80: | ||
++++ The viewer page reports "Wrong password or corrupt file" | | ++++ The viewer page reports "Wrong password or corrupt file" | | ||
- | * The file returned by the link in the mlink parameter is not the correct data, but in such cases often an error page from the server like " | + | * The file returned by the link in the '' |
* Check again by entering this link alone that the correct file is delivered by the server. | * Check again by entering this link alone that the correct file is delivered by the server. | ||
+ | ++++ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Extended Interface ===== | ||
+ | |||
+ | The webviewer supports a wide range of additional options for individualizing appearance and functionality. For instance, the icons can be exchanged and the font size can be controlled for " | ||
+ | |||
+ | ++++ Example code for the extended interface | | ||
+ | |||
+ | | ||
+ | |||
+ | // add event handler to catch the loading finished event from the viewer: | ||
+ | | ||
+ | |||
+ | var viewerLink = '// | ||
+ | var viewerData = window.location.search; | ||
+ | var iframe | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | // handle events from the viewer | ||
+ | | ||
+ | |||
+ | var eventObj = JSON.parse(event.data); | ||
+ | | ||
+ | // Do any initial setup here if required, like: | ||
+ | | ||
+ | /* functions for responsive design scaling and replacing icons | ||
+ | | ||
+ | | ||
+ | // id: possible values are: | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | // part: " | ||
+ | // value: d attribute of the svg path element for " | ||
+ | |||
+ | // Example for changing all the step icons to smaller icons (i.e. smaller numbers) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | // Example for changing all the icons back to the pin-icons: | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | */ | ||
+ | |||
+ | /* functions for controlling the timeline | ||
+ | | ||
+ | */ | ||
+ | |||
+ | /* possible functions for automatic control of the " | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | */ | ||
+ | |||
+ | /* functions for control of the " | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | */ | ||
+ | } | ||
+ | } | ||
+ | |||
++++ | ++++ | ||
---- | ---- | ||
===== Links ===== | ===== Links ===== | ||
+ | |{{: | ||
|{{: | |{{: | ||
|{{: | |{{: | ||
- | |{{: | ||
\\ | \\ | ||
en/function_webexport.txt · Last modified: 2024/04/08 07:58 by onyxadmin