Currently, columns of this type can be added by EV, but only one value per stream.
I wonder if it wouldn’t be better for performance to add support for reading a stream in JSON format containing multiple columns, with the following data: name, label (column header), value, type (so EV knows how to handle the value).
I believe the intention to add support had already been discussed.
Is still in the roadmap?
Support for several custom columns in one ADS file
Re: Support for several custom columns in one ADS file
It's on my TODO list.
For now, to pull values out of multi-line text/plain alternate data streams with regex:
For DWORDs, please try the following:
What type of data are you storing in your ADS?
For now, to pull values out of multi-line text/plain alternate data streams with regex:
add-column:1 regex:alternate-data-stream-text-plain*:\bkey=.*
For DWORDs, please try the following:
add-column:a a-label:ADS-DWORD a:=HEX2DEC($alternate-data-stream-hex:)
What type of data are you storing in your ADS?
Re: Support for several custom columns in one ADS file
In fact, it is a small utility for Directory Opus that allows users to define fields where to read and save data in an ADS.
These values can be text, integers, doubles, dates, etc.
Then is stored in JSON format in the ADS.
E.g. with 2 fields named "customstr" and "customint"
It includes some data that may be useful for other programs when reading it, like the column's label or the value's type. By other programs I mean EV only at least for the moment, and I would like to make it compatible so that Everything can read such data.
So your feedback on the format or the values it contains is more than welcome.
Thanks and happy new year btw!
These values can be text, integers, doubles, dates, etc.
Then is stored in JSON format in the ADS.
E.g. with 2 fields named "customstr" and "customint"
Code: Select all
{
"customstr": {
"value" : "some important value",
"label" : "My custom string value",
"type" : "string"
}
"customint": {
"value" : 3,
"label" : "My custom rating",
"type" : "int"
}
}
So your feedback on the format or the values it contains is more than welcome.
Thanks and happy new year btw!
Re: Support for several custom columns in one ADS file
I will consider support for JSON data in alternate data streams.
Thank you for the suggestion.
Happy New Year!
Thank you for the suggestion.
Happy New Year!