Client scripts installed with Targeted Communications

Targeted communications adds the following client scripts.
Client script Table Description
Set Conditions Table/Field onchange Recipients List

[sn_publications_recipients_list]

For recipient lists:
  • If the type is Internal Users, nternal, this script assigns the User [sys_user] table to the Table field and sys_id to the User Field field.
  • If the type is Customers, this script assigns the Customer Product [customer_products] table to the Table field sys_id to the User Field field.
Set Conditions Table/Field onload Recipients List

[sn_publications_recipients_list]

For recipient lists:
  • If the type is Internal Users, nternal, this script assigns the User [sys_user] table to the Table field and sys_id to the User Field field.
  • If the type is Customers, this script assigns the Customer Product [customer_products] table to the Table field sys_id to the User Field field.
Switch Publication View Approval

[sysapproval_approver]

Validate start date Publication

[sn_publications_publication]

Validates that the start date of a publication is after the current date and before the end date.
Validate end date Publication

[sn_publications_publication]

Validates that the end date of a publication is after the start date.
Validate start date Recurrence

[sn_publications_recurrence]

Validates that the start date of a recurrence publication is after the current date and before the end date.
Validate end date Recurrence

[sn_publications_recurrence]

Validates that the end date of a recurrence publication is after the start date.