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/03/08 15:50]
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://​moneywiseforms.org.uk/​runform.php?​article_id=534&​source_article_form_id=[FIELD?​name=Ref]&​validfor=2&​nextupdate=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]%%
  
-%%<a href=https://​moneywiseforms.org.uk/​runform.php?​article_id=534&​email=geof.ellingham@yhn.org.uk&​source_article_form_id=17309&​validfor=2&​nextupdate=true&​key=380d4763660a24d98239f97f6c783c571c74cb778426fad60c31076225a87bd5>​Simply follow this link</​a>​%%+This generates the following ​link (where the current form ID is 17309:
  
-This URL will open Form ID 534 and attempt to populate it from the data already stored in the Form Ref 17309, matching column names where possible. ​ The following special key-value ​pairs are available:​\\+%%<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>​%% 
 + 
 +This URL will open Form ID 534 and attempt to populate it from the data already stored in the Form Ref 17309, matching column names where possible. ​ The following special key-value ​pair is available:​\\
 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
-nextupdate=true - if the source form is updated after the email is generated, it will become invalid, prompting an error message 
  
 +[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.
 +
 +**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.1425826218.txt.gz · Last modified: 2017/02/20 16:49 (external edit)