Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For the maxOverrideDuration facet, your string should look like this: maxOverrideDuration=r:<time in milliseconds>, for example maxOverrideDuration=r:3600000

For the range facet,

  • if you use a frozen enum, your string should look like this: range=E:<frozen enum TypeSpect>, for example range=E:aaphp:AaPhpDataTypesEnum 
  • otherwise, your string should look like this: range=E:{<escaped tag>=<ordinal> pairs separated by commas}, for example range=E:{first=0,second=1}

For the Unit facet, it is rather complicated, your string should look like this:
<key>units=u:<unitName>;<symbol>;<dimension>;*<scale>;+<offset>;  for example: units=u:square meter;m²;(m2);;

some rules: 

  • <symbol>; is only added if symbol is different from unitName. The text is not escaped.
  • *<scale>; is only added if it is different from 0.
  • +<offset>; is only added if it is different from 1.
  • the last semi colon is mandatory.

the unitNames, symbols etc are available in the units.xml file in your C:\Niagara\Niagara-xxx\defaults folder

There are also keys of the TimeZone type but they are far too complicated to be done by hand. 

Finally if you want to use more than one key, you can separate you your key value pairs with the pipe "|" character. For example: min=f:0.0|max=f:10.0