Difference between revisions of "RPC HELP XWB GET VARIABLE VALUE RPC"
From VistApedia
Line 2: | Line 2: | ||
<h2>XWB GET VARIABLE VALUE RPC</h2> | <h2>XWB GET VARIABLE VALUE RPC</h2> | ||
[[RPC_HELP_XWB_XWB GET_VARIABLE_VALUE_RPC_Example|Example]] | [[RPC_HELP_XWB_XWB GET_VARIABLE_VALUE_RPC_Example|Example]] | ||
− | You can call the XWB GET VARIABLE VALUE RPC (distributed with the RPC Broker) to retrieve the value of any M variable in the VistA M Server environment. Pass the variable name in Param[0].Value, and the type ( | + | |
+ | You can call the XWB GET VARIABLE VALUE RPC (distributed with the RPC Broker) to retrieve the value of any M variable in the VistA M Server environment. Pass the variable name in [[RPC_HELP_TRPCBroker_Param|Param]][0].[[RPC_HELP_TParamRecord_Value_Property|Value]], and the type (referemce) in [[RPC_HELP_TRPCBroker_Param|Param]][0].[[RPC_HELP_TParamRecord_PType_Property|PType]]. Also, the current context of your user must give them permission to execute the XWB GET VARIABLE VALUE RPC (it must be included in the RPC multiple of the "B"-type option registered with the [[RPC_HELP_TRPCBroker_CreateContext_Method|CreateContext]] function). |
Latest revision as of 16:48, 6 July 2015
XWB GET VARIABLE VALUE RPC
You can call the XWB GET VARIABLE VALUE RPC (distributed with the RPC Broker) to retrieve the value of any M variable in the VistA M Server environment. Pass the variable name in Param[0].Value, and the type (referemce) in Param[0].PType. Also, the current context of your user must give them permission to execute the XWB GET VARIABLE VALUE RPC (it must be included in the RPC multiple of the "B"-type option registered with the CreateContext function).