To view and dialog with the new recipient table in the Adobe Campaign interface, apply the following steps:
Adobe Campaign uses a “Nms_DefaultRcpSchema” global variable to dialog with the default recipient database (nms:recipient). This variable therefore needs to be altered.
Creating a new form will enable you to view and edit the data of the external recipient table.
The name of the form must be identical to the name of the schema which it concerns.
Go to the Administration > Configuration > Input forms node of the explorer.
Create a new xtk:form type form file.
Describe all the monitoring and fields that you need depending on your table template.
To find out more about form type files, refer to this page.
In our current example, the form file must be based on the cus:individual schema and therefore have the following layout:
<container colspan="2">
<input xpath="@id"/>
<static type="separator"/>
</container>
<container colcount="2">
<input xpath="@lastName"/>
<input xpath="@firstName"/>
<input xpath="@email"/>
<input xpath="@mobile"/>
</container>
Save the creation.
Go to the Administration>Configuration>Navigation hierarchies node.
Create a new xtk:navtree type navtree document.
Describe all the monitoring and fields that you need depending on your table template.
For more on navtree type files, refer to this page.
In the current example, the navtree file must be based on the cus:individual schema and therefore have the following form:
<model name="root">
<nodeModel img="nms:usergrp.png" label="My recipient table" name="cusindividual">
<view name="listdet" schema="cus:individual" type="listdet">
<columns>
<node xpath="@id"/>
<node xpath="@lastName"/>
<node xpath="@firstName"/>
<node xpath="@email"/>
<node xpath="@mobile"/>
</columns>
</view>
</nodeModel>
</model>
Save the creation.