The
getDimensionValueSpec task returns a dimension value
specification when you specify a dimension name and a dimension value Id. (This
task is the reverse of
getDimensionValueId.) This information may be useful for
debugging.
The syntax for this task is:
cas-cmd getDimensionValueSpec [-h HostName] -i dimension_value_id [-l true|false] -m managername [-p PortNumber]
Where:
-h(or--host) specifies the host where the CAS Service is running. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.hostproperty incommandline.properties. If the property is not set, the value then defaults tolocalhost. Optional.-i(or--dimension_value_id) specifies the Id of the dimension that you want to get the specification for. Required.-l(or--isPortSsl) specifies whether to communicate with the service using an HTTPS connection. A value oftrueuses HTTPS and treats thecom.endeca.itl.cas.server.portproperty as an SSL port. A value offalseuses HTTP and treatscom.endeca.itl.cas.server.portas a non-SSL port. Specifyfalseif you enabled redirects from a non-SSL port to an SSL port. Optional.-m(or--dimension_value_id_manager) specifies name of the Dimension Value Id Manager that is getting the Ids. Required.-p(or--port) specifies the port of the CAS Service. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.portproperty incommandline.properties, in(on Windows) or<install path>\CAS\workspace\conf(on UNIX). If the property is not set, the value then defaults to<install path>/CAS/workspace/conf8500. Optional.
To get dimension a value specification:
Example 16. Example of getting dimension value Ids
This example gets the dimension value specification of the Bordeaux dimension value:
C:\Endeca\CAS\3.1.2\bin>cas-cmd.bat getDimensionValueSpec -m dvalmgr -i 1 Dimension: Region Spec: Bordeaux

