Forum Discussion
myLogin_24886
Nimbostratus
Oct 10, 2007How to Create a empty pool using java?
Does anyone know what the actual format of an external string class file should be for v10.1?
I'm trying to translate some code from v9 to v10.1... And dropping the deprecated findclass functions. But
[class search -value $class equals $lookup]
returns nothing... Investigating a bit I realised that the iControl script I use to upload the content(That works for a v9 external class) doesn't get anything automatic for the new key:=value syntax...
But I can't find how to do this... At the moment I've stopped trying to use the iControl, and am just trying to create a new external file class (Of type string), but having tried
key:=some value
"key":="some value"
"key:=some value"
and just in case the v10 description on the wiki was a bit mixed up I even tried
class images {
"square.gif" := ""
"circle.gif" := ""
}
and several other combinations, all I ever get is an error when trying to create the new class with invalid format in line 1...
What's the ACTUAL syntax required in the file itself? (I can't use an internal group, because the values are base64 encoded html pages and images... The format of
filename mimetype base64encodedcontent
where the filename is the key and the "mimetype base64encodedcontent" is the value
(On v9 it as easy. Just
"filename mimetype base64encodedcontent",
"filename mimetype base64encodedcontent",
"filename mimetype base64encodedcontent"
Is this supported on v10.1? I did see a posting between Aaron and Sparkie that indicated it wasn't in 10.0... But Aaron thought it was going to be in 10.1...