A silly question

62 views
Skip to first unread message

Valentí Montoya

unread,
May 19, 2021, 6:07:46 PM5/19/21
to cornerstone platform
Hi;

I build a "Static Asset output" from cloned GitHub https://github.com/OHIF/Viewers repository.

I deployed these assets on a IIS and I runs ok.

By default, always show the "StudyList" page first, I select a study and then the study is showed.

I tried to use the URI visible when I click on a Study (e.g. http://<myServer>/viewer/1.3.6.1.4.1.25403.345050719074.3824.20170125095258.1) to open a new tab with it, but doesn't work (I get a message like: 404 - File or directory not found).

How can use de OHIF Viewer without a StudyList precondition. I want to run a URI for view a study passing the StudyInstanceUID, i.e. runs a URI like http://<myServer>/viewer/1.3.6.1.4.1.25403.345050719074.3824.20170125095258.1 to view a study directly?


Thanks a lot!!

se®kan

unread,
May 20, 2021, 9:17:14 AM5/20/21
to Valentí Montoya, cornerstone platform
Hello Valentie,
Adding a redirect setting to the WEB-INF/web.xml file in the folder where the application is located might be the solution. 

    <error-page>
        <error-code>404</error-code>
        <location>/index.html</location>
    </error-page>

    <error-page>
        <error-code>410</error-code>
        <location>/index.html</location>
    </error-page>

sl1.png


--
You received this message because you are subscribed to the Google Groups "cornerstone platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cornerstone-plat...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cornerstone-platform/1a9a81fd-b975-4c05-8f0d-831b1dbde0c3n%40googlegroups.com.


--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Serkan Se®t
Sisoft Sağlık Bilgi Sistemleri  -  AR-GE Yazılım Geliştirme
serka...@sisoft.com.tr

Middle East Technical University
Teknokent Galyum Blok ZK2
06531 ODTÜ Yerleşkesi

ANKARA / TÜRKİYE

 Telefon : +90 (312) 210 19 20 (pbx)
 Fax : +90 (312) 210 19 24


Valentí Montoya

unread,
Jun 1, 2021, 6:31:22 AM6/1/21
to cornerstone platform
Thank you so much.

Augmented Reporting

unread,
Jun 26, 2022, 1:03:23 PMJun 26
to cornerstone platform
for OHIF v3-stable, you can launch the viewer for one study with:

http(s)://<ohif_web_server_host>/viewer/?StudyInstanceUIDs=<study_UID>

not sure if “showStudyList” is still supported in v3. does anyone have a list of all configuration options in v3?

there is a list of many configuration options in v1 here:
https://github.com/OHIF/Viewers/blob/aa2259777647f00f1af79fef839161b95e7e9e2f/Packages/ohif-servers/both/schema/servers.js
Reply all
Reply to author
Forward
0 new messages