The
getDimensionValueId
task returns a dimension value Id when
you specify a dimension name and dimension value specification. (This task is
the reverse of
getDimensionValueSpec
.) This information may be useful for
debugging.
The syntax for this task is:
cas-cmd getDimensionValueId -d dimensionname [-h HostName] [-l true|false] -m managername [-p PortNumber] - s dvalspec
Where:
-d
(or--dimension
) specifies the name of the dimension that you want to get the Ids for. Required.-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.host
property incommandline.properties
. If the property is not set, the value then defaults tolocalhost
. Optional.-l
(or--isPortSsl
) specifies whether to communicate with the service using an HTTPS connection. A value oftrue
uses HTTPS and treats thecom.endeca.itl.cas.server.port
property as an SSL port. A value offalse
uses HTTP and treatscom.endeca.itl.cas.server.port
as a non-SSL port. Specifyfalse
if 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.port
property incommandline.properties
, in<install path>
\CAS\workspace\conf<install path>
/CAS/workspace/conf8500
. Optional.-s
(or--spec
) specifies the dimension value specification that you want to get the Ids of. Required.
To get a dimension value Id:
Example 15. Example of getting dimension value Ids
This example gets the dimension value Ids of the Bordeaux dimension value:
C:\Endeca\CAS\11.0.0\bin>cas-cmd.bat getDimensionValueId -m dvalmgr -d Region -s Bordeaux Bordeaux 1