QAD QAD QXtend 1.8.8 > User Guide > Configuring and Using QXtend Inbound > Hiding Data in QDoc Response and Log Files
  
Hiding Data in QDoc Response and Log Files
The hideFields property in the session context provides the ability to hide data in the QDoc Response and log files. When some fields are defined with hideFields in the request QDoc, the corresponding values in the response QDocs and log files (qdocRequests.log and qdocResponses.log) are displayed as asterisks.
Example: You want to hide the values for the Salary and Bonus fields in the response QDoc.
Define the parameters in the request QDoc as follows:
<qcom:ttContext>
<qcom:propertyQualifier>QAD</qcom:propertyQualifier>
<qcom:propertyName>hideFields</qcom:propertyName>
<qcom:propertyValue>Salary,Bonus</qcom:propertyValue>
</qcom:ttContext>
.......
<tEmployeeData>
<EmployeeName>ABC</EmployeeName>
<DateOfBirth>1980-02-16</DateOfBirth>
<Salary>100,000</Salary>
<Bonus>10,000</Bonus>
......
</tEmployeeData>
In the response QDoc, the values for the two specified fields are replaced with asterisks. See the following response:
<ns1:tEmployeeData>
<ns1:EmployeeName>ABC</ns1:EmployeeName>
<ns1:DateOfBirth>1980-02-16</ns1:DateOfBirth>
<ns1:Salary>******</ns1:Salary>
<ns1:Bonus>******</ns1:Bonus>
......
</ns1:tEmployeeData>