Is there a way to disable the disclaimer for now with launching parameters.

49 views
Skip to first unread message

Amro Salama

unread,
Mar 5, 2020, 7:04:09 PM3/5/20
to dcm4che

The new version is nicer and faster to start up than the old. But still There is no access to build with the new Native weasis (3.5.4) at this time there fore customization is still an issue.

Is there a way to disable the disclaimer for now with launching parameters, configs on the server ?

An example would be great.

We Launch it from our code as follows
"weasis://$dicom:get -w \"http://ip:port" +  .....etc...



Then we pass an xml to it as in the older version

<?xml version="1.0" encoding="utf-8" ?>
<wado_query xmlns= "http://www.weasis.org/xsd" xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance" wadoURL="http://localhost:8080" requireOnlySOPInstanceUID="false" additionnalParameters="" overrideDicomTagsList="" >
<Patient PatientID="GE1140"  PatientName="Bradley Tyson"  PatientBirthDate="18000101" >
 <Study StudyInstanceUID="1.2.840.113674.1140.196.200" StudyDescription="L KNEE/PAIN" StudyDate="19950204" StudyTime="000000.000000"  >
   <Series SeriesInstanceUID="1.2.840.113674.1140.196.180.300" SeriesDescription="" SeriesNumber="103" Modality="MR" DirectDownloadThumbnail="/pacsweb/imageprocingrp/;jsessionid=06A8468A30AC27556253BF216D1C86F7?sid=104010173&amp;det=&amp;imgno=1.2.840.113674.950809133255332.100&amp;ROWS=28" >
       <Instance SOPInstanceUID="1.2.840.113674.950809133255332.100" InstanceNumber="1" DirectDownloadFile="/pacsweb/imageprocingrp/;jsessionid=06A8468A30AC27556253BF216D1C86F7?sid=104010173&amp;det=dcm&amp;imgno=1.2.840.113674.950809133255332.100" />
       <Instance SOPInstanceUID="1.2.840.113674.950809133257339.100" InstanceNumber="1" DirectDownloadFile="/pacsweb/imageprocingrp/;jsessionid=06A8468A30AC27556253BF216D1C86F7?sid=104010173&amp;det=dcm&amp;imgno=1.2.840.113674.950809133257339.100" />..................etc

Nicolas Roduit

unread,
Mar 7, 2020, 2:19:29 PM3/7/20
to dcm4che
There is an ongoing WeasisConfig project (an extension of weasis-pacs-connector but not yet open source) that will manage roaming user preferences and templates for launch contexts and preferences.
I can't give a date when this project will be available but it's already possible to configure preferences or arguments directly in the URL like the XML file for the Java Webstart version.

Currently, it is possible to modify the preferences directly in the URL:
It is also possible to change the preferences on the server-side by coupling the server version (weasis.war) with the native version. See how to change the default preferences.

Amro Salama

unread,
Apr 4, 2020, 9:15:20 AM4/4/20
to dcm4che
Thank you ! it works well.

weasis://$weasis:config pro="weasis.show.disclaimer false"  that worked !

But I'm trying to load a different resource file, no luck... Can you give an example or let us know what is wrong with this line below.
weasis://$weasis:config pro="weasis.resources.url https://localhost/jkjjfytwaseryy7654a8a7a654/weasisbase/resources.zip"


Also, I treid coupling weasis.war with the native install by pointing to the weasis.war from url, but did not work. Can you give example.

weasis://$weasis:config pro="weasis.codebase.url https://localhost/jkjjfytwaseryy7654a8a7a654/weasisbase"
where I placed weasis.war

Nicolas Roduit

unread,
Apr 13, 2020, 10:22:29 AM4/13/20
to dcm4che
Currently, the property "weasis.codebase.url" can only be modified in ext-config.properties (because it required to be associated with a distribution). You can override the ext-config.properties URL and change the default preferences inside.
Reply all
Reply to author
Forward
0 new messages