Recipient Input form Modification. | Community
Skip to main content
Level 3
August 27, 2020
Solved

Recipient Input form Modification.

  • August 27, 2020
  • 3 replies
  • 2639 views

Hi all,

 In recipient input form I need to create a tab called contact under general tab. Need display few attributes under new tab. The attributes are in different table contactPoint which is  linked with recipient table. I had created a new tab in the recipient input form and through the link I am able to display the attributes.

 

My question is, this newly created tab should visible for the recipients if contactpoint link exists. If there is no contactpoint to the particular recipient, then Contact tab should not visible to that recipients in the Input form.

 

Please help me here.

Thanks in Advance

 

BR,

Ram.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DavidKangni

Hi Ram,

 

Yes it's possible 

<!--[of]:Contact-->
<container applicableIf="@contactId!=0" img="nms:contact.png" label="Contact"
visibleIf="@contactId!=0">
<input xpath="@field1"/>
<input xpath="@field2"/>
<input xpath="@field3"/>
</container>
<!--[cf] -->

 

Thanks,

David

3 replies

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
August 27, 2020

Hi Ram,

 

Yes it's possible 

<!--[of]:Contact-->
<container applicableIf="@contactId!=0" img="nms:contact.png" label="Contact"
visibleIf="@contactId!=0">
<input xpath="@field1"/>
<input xpath="@field2"/>
<input xpath="@field3"/>
</container>
<!--[cf] -->

 

Thanks,

David

David Kangni
Level 3
September 1, 2020

Hi ,

 

Exactly I am using below code If PartySegmentcode is 'F' then this tab should visible. PartySegmentcode defined in recipients schema.

 

But getting below error.

 

Attribute 'PartySegmentCode' unknown (see definition of schema 'Forms (xtk:form)').
------
XTK-170036 Unable to parse expression '@PartySegmentCode='F''.
------
One or more graphical components has failed to display.
------


Could you please help me here?

 

Thanks,

Ram.

 

 

 

 

ShrawanSaxena-1
Adobe Employee
Adobe Employee
August 31, 2020
Sukrity_Wadhwa
Community Manager
Community Manager
September 8, 2020

Hi @ramprakasht3196,

Were you able to resolve this query with the given solutions? Do let us know.

Thanks!

Sukrity Wadhwa
Level 3
September 9, 2020

Thanks.
The issue resolved.