Usage of revLink attribute in schema's | Community
Skip to main content
Adobe Employee
October 15, 2018
Solved

Usage of revLink attribute in schema's

  • October 15, 2018
  • 1 reply
  • 3969 views

Hi Team,

Can you please help in understanding the concept of revLink by stating an example.

Best Regards,

Nidhi

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 ShrawanSaxena-1

Hi Nidhi,

We use revLink attribute in a link when we want to specify  the exact name of the link back to this table from the target table.  Otherwise Adobe Campaign automatically calculates it based on the name of the source table and name of the link.  Here is an example:

element type=”link” target=”cus:salesRep” name=”salesRep” revLink=”myCompanySalesRep”>

      <join xpath-dst="@REP_ID" xpath-src="@SALES_REP_ID"/>

    </element>

    <element type=”link” target=”cus:salesRep” name=”partnerSalesRep” revLink=”myCompanyPartnerSalesRep”>

      <join xpath-dst="@REP_ID" xpath-src="@PARTNER_SALES_REP_ID"/>

    </element>

You have a company table called cus:company.  In the definition of the company schema, you want to link to another table (cus:salesRep) for two different purposes.  The company has two reps associated with it---- a sales rep and a partner sales rep.

By default, Adobe campaign automatically calculates the revLink for these two link above to be “company-salesRep” and “company-partnerSalesRep” respectively.  If you want to override them, then you can come up with your own naming convention as long as there are not duplicates (Campaign does not give you an error if you use the same revLink twice).

1 reply

ShrawanSaxena-1
Adobe Employee
ShrawanSaxena-1Adobe EmployeeAccepted solution
Adobe Employee
October 18, 2018

Hi Nidhi,

We use revLink attribute in a link when we want to specify  the exact name of the link back to this table from the target table.  Otherwise Adobe Campaign automatically calculates it based on the name of the source table and name of the link.  Here is an example:

element type=”link” target=”cus:salesRep” name=”salesRep” revLink=”myCompanySalesRep”>

      <join xpath-dst="@REP_ID" xpath-src="@SALES_REP_ID"/>

    </element>

    <element type=”link” target=”cus:salesRep” name=”partnerSalesRep” revLink=”myCompanyPartnerSalesRep”>

      <join xpath-dst="@REP_ID" xpath-src="@PARTNER_SALES_REP_ID"/>

    </element>

You have a company table called cus:company.  In the definition of the company schema, you want to link to another table (cus:salesRep) for two different purposes.  The company has two reps associated with it---- a sales rep and a partner sales rep.

By default, Adobe campaign automatically calculates the revLink for these two link above to be “company-salesRep” and “company-partnerSalesRep” respectively.  If you want to override them, then you can come up with your own naming convention as long as there are not duplicates (Campaign does not give you an error if you use the same revLink twice).