Expand my Community achievements bar.

SOLVED

Recipient Input form Modification.

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

6 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 3

Hi ,

 

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

ramprakasht3196_0-1598942385357.png

 

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.

 

 

 

 

Avatar

Community Advisor
Looks like there is an issue with your attribute PartySegmentCode. Please check your schema


David Kangni

Avatar

Administrator

Hi @ramprakasht3196,

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

Thanks!



Sukrity Wadhwa