Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

I want to link create one input form in adobe campaign classic having multiple schema association.

Avatar

Level 2

Hi ,

I have a requirement to display data in a single form from multiple schema.

Eg : Customer  - > Policies  - > Policy risks.

Customer has multiple Policies and a Policy has multiple Policy Risks .  The tables are linked . Customer and Policy with Customer  id and Policy and Risk with Policy Id.

I am able to display Customer and Policy but when I introduce Policy Risk in the same form it errors out.

Can anyone help here?

Thanks

Anumol

1 Reply

Avatar

Community Advisor

Hi Anumol,

I believe your schema would be something like this:

Screen Shot 2019-07-25 at 2.28.12 pm.png

Create your form on Policy Risks schema as it is linked with Policy and policy is linked with Customer.

You will get attributes of all the schemas.

IMG_9419.jpg

Hope this helps.

Thanks,
Anita

Avatar

Level 2

@Anita_punmiya 

 

I have the same requirement like Recipient- > Policies  - > Policy risks. 

 

When I create container of policy risks in recipient form as below

InputForm.PNG

After opening recipient input form for particular recipient getting error -

Attribute 'policyId' unknow (see definition of schema 'Recipients (nms:recipient)')

 

recipient schema don't have policyId so I changed input xpath="recipientId" but since policy risks table does not contain recipientId its throwing error as-

Attribute 'recipientId' unknow (see definition of schema 'PolicyRisks (prt:policyRisks)')

 

Please help here.

 

 

Thanks,

 

Avatar

Level 4

Hi,

 

I have written below code in recipient input form-

 <container img="nms:agency.png" label="Policy Risk" name="policyRisk" readOnly="true">
    <input hideEditButtons="true" img="nms:paper.png" nolabel="true" toolbarCaption="Policies"
           type="linklist" xpath="policies">
      <input hideEditButtons="true" img="nms:paper.png" nolabel="true" toolbarCaption="Policy Risk"
             type="linklist" xpath="policyRiskLink">
        <input xpath="[/@policyID]"/>
      </input>
    </input>
  </container> 

When I click "configure list" it shows Policies table details.

How can I open Policy Risk table when click "configure list" in recipient input form?

 

 

Thanks,