You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/basics/customize/build-plugins.en.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,13 +130,13 @@ To test the plugin with an installed version of Weasis without making any change
130
130
- Build a valid URI with the above parameter (see [How to build an URI](../../../getting-started/weasis-protocol/#how-to-build-a-uri)) and launch Weasis from the command on a terminal:Construct a valid URI using the parameter mentioned above (refer to [How to build a URI](../../../getting-started/weasis-protocol/#how-to-build-a-uri))) and launch Weasis from the terminal using a command:
Copy file name to clipboardExpand all lines: content/basics/customize/integration.en.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ or by [building your own connector](#build-your-own-connector). The launch of th
13
13
Using [weasis-pacs-connector](https://github.com/nroduit/weasis-pacs-connector) or [ViewerHub](../../../viewer-hub) allows a high degree of integration and facilitates connection to a PACS. Here are some of the advantages:
14
14
15
15
- Automatically build a manifest according to a configuration with a PACS
16
-
- The initial URL starts with HTTP and is then redirected to weasis:// (useful when custom URI scheme is not allowed by wiki, blog platforms, etc.)
16
+
- The initial URL starts with HTTP and is then redirected to weasis://? (useful when custom URI scheme is not allowed by wiki, blog platforms, etc.)
17
17
- Efficiently manages to build the manifest simultaneously with the start of Weasis, optimizing loading time
18
18
- Easily handles secure manifest requests and manages tokens for the DICOMWeb services
19
19
@@ -135,15 +135,15 @@ Use [$dicom:rs](../../commands/#dicomrs) to load DICOM files. Here are some conf
135
135
136
136
This configuration requires at least dcm4chee-arc-light 5.22.2 and Weasis 3.6.0. To activate Weasis in dcm4chee-arc-light user interface, you need to add the four following properties in the web portal from the left menu *Configuration > Devices > dcm4chee-arc > Extensions > Edit extension > Child Objects > Web Applications > DCM4CHEE*
The **Weasis Protocol** enables the launch of Weasis (starting from {{< badgeC "v3.6.0" >}}) in a web context using a specific URI scheme: `weasis://commands`.
8
+
The **Weasis Protocol** enables the launch of Weasis (starting from {{< badgeC "v3.6.0" >}}) in a web context using a specific URI scheme: `weasis://?commands`.
9
9
10
10
### How to Use the Weasis Protocol
11
11
12
12
To launch Weasis from various contexts:
13
-
1.**From a Web Page**: Create a link that begins with `weasis://` (see below [How to build an URI](#how-to-build-a-uri)).<br>
13
+
1.**From a Web Page**: Create a link that begins with `weasis://?` (see below [How to build an URI](#how-to-build-a-uri)).<br>
14
14
If certain web frameworks (e.g. WIKI) or contexts only support HTTP protocols, you can use a URL redirection starting with `https://`. A tool such as [Weasis PACS Connector](https://github.com/nroduit/weasis-pacs-connector">weasis-pacs-connector) can assist with this.
15
15
2.**From the Command Line**: Utilize the appropriate Weasis command from the terminal:
open weasis://%24dicom%3Aget+-w+%22https%3A%2F%2Fnroduit.github.io%2Fdemo-archive%2FLumbar%2Fmf.xml%22
29
+
open weasis://?%24dicom%3Aget+-w+%22https%3A%2F%2Fnroduit.github.io%2Fdemo-archive%2FLumbar%2Fmf.xml%22
30
30
{{< /highlight >}}
31
31
{{% /tab %}}
32
32
{{< /tabs >}}
33
33
34
34
### How to Build a URI
35
-
The `weasis://` URI scheme allows you to launch Weasis directly from the system's URI handler. By constructing the correct URI path, you can execute [Weasis commands](../../basics/commands) to load images or perform other actions.
35
+
The `weasis://?` URI scheme allows you to launch Weasis directly from the system's URI handler. By constructing the correct URI path, you can execute [Weasis commands](../../basics/commands) to load images or perform other actions.
36
36
37
37
[Weasis PACS Connector](https://github.com/nroduit/weasis-pacs-connector#launch-weasis) can dynamically generate manifests (listing references for images to load) and build the required URI through an API. This tool also manages user preferences and other launch parameters.
38
38
39
39
If you're not using the Weasis PACS Connector, you can build a URI manually by following these steps:
40
40
1.**Choose Commands**: Select one or more [commands](../../basics/commands) to execute.
41
41
2.**Encode the Commands**: Use a URL encoder to format the commands correctly for URI inclusion.
42
-
3.**Prefix the Commands**: Add the `weasis://` scheme at the beginning of the encoded command string to create the final URI.
42
+
3.**Prefix the Commands**: Add the `weasis://?` scheme at the beginning of the encoded command string to create the final URI.
43
43
44
44
##### Example: Loading a Remote Image
45
45
1. Use [$dicom:get](../../basics/commands/#dicomget) to load an image from URL
0 commit comments