User Tools

Site Tools


dynamic_links

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dynamic_links [2015/12/05 11:40]
geelling
dynamic_links [2017/04/28 17:02] (current)
geelling
Line 1: Line 1:
 ==== Dynamic Links ==== ==== Dynamic Links ====
  
-Dynamic links allow you to send emails to users which include an encrypted URL allowing them to provide information back to CuForms. ​ Because the link includes an encrypted token, only the person receiving the email can use the link.+Dynamic links allow you to send emails to users which include ​information contained in the form (eg the applicant'​s name) as well as an encrypted URL allowing them to provide information back to CuForms. ​ Because the link includes an encrypted token, only the person receiving the email can use the link.
  
-Example:+Examples: 
 + 
 +**Simple field substitution**
  
 %%[First Names]%% %%[First Names]%%
Line 9: Line 11:
 This does a simple substitution with the field in the form that has a matching description This does a simple substitution with the field in the form that has a matching description
  
-%%[ENCRYPTED_EMAIL?​url=https://​cuforms.org.uk/​runform.php?​article_id=534&​source_article_form_id=[FIELD?​name=Ref]&​validfor=2&​htmltype=html5&​source_article_form_admin_audit_id=[FIELD?​name=AuditRef]&​make_pdf=true&​link=Simply follow this link]%%+**Link to new pre-populated form**
  
-This generates the following link (where the current form Ref is 17309:+%%[ENCRYPTED_EMAIL?​url=https://​cuforms.org.uk/​runform.php?​article_id=534&​source_article_form_id=[FIELD?​name=ID]&​validfor=2&​htmltype=html5&​source_article_form_admin_audit_id=[FIELD?​name=AuditRef]&​make_pdf=true&​link=Simply follow this link]%% 
 + 
 +This generates the following link (where the current form ID is 17309:
  
 %%<a href=https://​cuforms.org.uk/​runform.php?​article_id=534&​email=geof.ellingham@yhn.org.uk&​source_article_form_id=17309&​validfor=2&​htmltype=html5&​source_article_form_admin_audit_id=114456&​make_pdf=true&​key=380d4763660a24d98239f97f6c783c571c74cb778426fad60c31076225a87bd5>​Simply follow this link</​a>​%% %%<a href=https://​cuforms.org.uk/​runform.php?​article_id=534&​email=geof.ellingham@yhn.org.uk&​source_article_form_id=17309&​validfor=2&​htmltype=html5&​source_article_form_admin_audit_id=114456&​make_pdf=true&​key=380d4763660a24d98239f97f6c783c571c74cb778426fad60c31076225a87bd5>​Simply follow this link</​a>​%%
Line 18: Line 22:
 validfor=2 - number of days the email remains valid - after this time, the email will produce an error message validfor=2 - number of days the email remains valid - after this time, the email will produce an error message
  
-[FIELD?​name=Ref] substitutes a field from the source form - in addition to Ref, AuditRef is also available, which is the current entry in the audit table. If AuditRef is set, the form will generate an error if the source data is changed, thereby creating a new audit record+[FIELD?​name=ID] substitutes a field from the source form - in addition to ID, AuditRef is also available, which is the current entry in the audit table. If AuditRef is set, the form will generate an error if the source data is changed, thereby creating a new audit record 
 + 
 +[FIELD?​name=Ref] substitutes the Application Reference in the form CC/FF/seq - where CC is the Client Prefix (for client 000 in Accounts), FF is the Form Prefix (set in EDIT FORM SUMMARY) and seq is the numerical sequence number of the application.
  
 make_pdf=true - if this is set, the new form will generate a PDF and email it to the customer - particular relevant for credit agreements. make_pdf=true - if this is set, the new form will generate a PDF and email it to the customer - particular relevant for credit agreements.
  
 +**Client information substitution**
 +
 +If you are using multi-client features, you can include client-specific information in your emails by using [CLIENTVALUE:​field] (eg [CLIENTVALUE:​phone] would be replaced by the phone number of the client organisation).
dynamic_links.1449312025.txt.gz · Last modified: 2017/02/20 16:49 (external edit)