QAD QAD QXtend 1.8.8 > User Guide > Implementing QAD QXtend Outbound > QXO Subscribers > Adding Session Context or an Additional Profile Table to a Subscriber Message
  
Adding Session Context or an Additional Profile Table to a Subscriber Message
Outbound allows you to add session context or an additional profile table to a subscriber message. This feature is useful in specific scenarios.
To add session context to a subscriber message, open the AdditionalContext.xml file from <qxoserver>/conf and set the context extensions as in the following example:
<?xml version="1.0"?>
<ContextExtensions>
<Object>
<SourceApplication>*</SourceApplication>
<BusinessObject>BBusinessRelation</BusinessObject>
<Profile>*Sync</Profile>
<Context>
<PropertyQualifier>QAD</PropertyQualifier>
<PropertyName>ShutdownSession</PropertyName>
<PropertyValue>true</PropertyValue>
</Context>
</Object>
</ContextExtensions>
In this example, the session context ShutdownSession is added to the BBusinessRelation profile that ends with Sync. The session context allows the session in the target system to be shut down after synchronization of the business relation record.
To add an additional profile table to a subscriber message, open the AdditionalProfileTable.xml file from <qxoserver>/conf and set the additional tables as in the following example:
<?xml version="1.0"?>
<AdditionalTables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AdditionalTable>
<Profile>Currency</Profile>
<Table>tContextInfo</Table>
<Schema>tContextInfo.xsd</Schema>
</AdditionalTable>
</AdditionalTables>
The schema should be available in the same directory. In this example, it is the tContextInfo.xsd file. Additionally, the profile must have calcOperations.p defined as the Operation Program.
In the example, an additional table, tContextInfo, is added to Currency profile. The table supports data synchronization between a non-Financials MFG/PRO object and a Financials object.