Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

Applicableif in the data schema

Avatar

Level 4

Can anyone provide the explanation for Applicable if 


i couldnt able to get it through documentation 

why we are using with realtime example  ?

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @vani97,

 

The applicableIf clause is generally used when we wanted to restrict the usage of the attribute or element to certain conditions.

 

Consider the below element in broadLogRcp, 

 

<element applicableIf="HasPackage('nms:midReceiver')==false" label="Service"
name="service" noDbIndex="true" revIntegrity="neutral" revLink="broadLog"
target="nms:service" type="link">
<join xpath-dst="@id" xpath-src="@service-id"/>
</element>

 

This link will not be established if the midSourcing package is present. 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi @vani97,

 

The applicableIf clause is generally used when we wanted to restrict the usage of the attribute or element to certain conditions.

 

Consider the below element in broadLogRcp, 

 

<element applicableIf="HasPackage('nms:midReceiver')==false" label="Service"
name="service" noDbIndex="true" revIntegrity="neutral" revLink="broadLog"
target="nms:service" type="link">
<join xpath-dst="@id" xpath-src="@service-id"/>
</element>

 

This link will not be established if the midSourcing package is present.