I think the issue is that you haven’t configured your scan data type as secure, meaning it doesn’t
have an element display configuration to return there. The stored searches used by the display table code requires that, as you can tell :) You can read more about this in the
documentation for Working with Scan Listings.
You can test this by enabling that data type manually:
- Go to Administer -> Data Types in the XNAT UI
- Click the Setup Additional Data Type button
- Find your data type in the Data Type list and click Submit
- Make sure Is this Data Type Secure? is set to true (it’s set to that by default)
- Enter any other info (e.g. singular and plural names) and click Next
- Click Next again
Your scan data type should now be configured, so try the table view again.
@XnatPlugin(value = "mrIsmrmrdPlugin",
name = "XNAT MR ISMRMRD Data Type Plugin",
version = "1.0",
dataModels = {@XnatDataModel(value = XnatIsmrmrdMrismrmrdscandata.SCHEMA_ELEMENT_NAME,
singular = "MR Raw Data",
plural = "MR Raw Data",
code = "MRD")})
public class MrIsmrmrdPlugin {
}
This will have the same effect as manually enabling the data type, so it’s better for production systems and distributing your plugin to other users.
Rick Herrick
Senior Software Developer
------ Original Message ------
Date 12/29/2022 8:17:04 AM
Subject [XNAT Discussion] New data type - ismrmrd