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
I wanted the viewer to be accessible like this /vewier/scan?id=6sdasd838878sad
So I created a new datasource in /extensions/default/src/ScanIdDataSource/index.js , which is basically a clone of DicomJSONDataSource updated to fetch the id param and query an API, this returns dicomJSON.
When I go to this route, the console prints the statements ScanIdDataSource/index.js, but nothing renders on the screen and no console errors.
Steps to Reproduce
This is the script /extensions/default/src/ScanIdDataSource/index.js that is printing the console logs
Added to datasources
Browser View
Console
The current behavior
Blank Viewer
The expected behavior
It should load the scans in the Viewer
OS
Windows 11
Node version
20
Browser
Latest Chrome and edge
The text was updated successfully, but these errors were encountered:
highoncarbs
changed the title
Custom Data source Viewer not rendering - black blank screen
[HELP - BUG] Custom Data source Viewer not rendering - black blank screen
May 30, 2024
Describe the Bug
I wanted the viewer to be accessible like this
/vewier/scan?id=6sdasd838878sad
So I created a new datasource in
/extensions/default/src/ScanIdDataSource/index.js
, which is basically a clone of DicomJSONDataSource updated to fetch the id param and query an API, this returns dicomJSON.When I go to this route, the console prints the statements
ScanIdDataSource/index.js
, but nothing renders on the screen and no console errors.Steps to Reproduce
This is the script
/extensions/default/src/ScanIdDataSource/index.js
that is printing the console logsAdded to datasources
Browser View
Console
The current behavior
Blank Viewer
The expected behavior
It should load the scans in the Viewer
OS
Windows 11
Node version
20
Browser
Latest Chrome and edge
The text was updated successfully, but these errors were encountered: