You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/using-nhs-notify/personalisation.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ You can send personalised messages using a single template.
15
15
To personalise a message, use double brackets to add a placeholder to your content. For example:
16
16
17
17
{% include components/inset-text.html
18
-
text='<code>Hello ((firstName)), your NHS Number is ((nhsNumber))'
18
+
text='Hello ((firstName)), your NHS Number is ((nhsNumber))'
19
19
%}
20
20
21
21
## Personal Demographics Service (PDS) personalisation fields
@@ -48,11 +48,7 @@ Include a personalisation block in your API request.
48
48
For example, if you wanted to include 'practice' as a personalisation field, the personalisation block would be:
49
49
50
50
{% include components/inset-text.html
51
-
text='{
52
-
53
-
"practice": "PRACTICE_NAME",
54
-
55
-
}'
51
+
text='"practice": "PRACTICE_NAME",'
56
52
%}
57
53
58
54
Read the [API documentation](https://digital.nhs.uk/developer/api-catalogue/nhs-notify#post-/v1/message-batches) to find out where to put this in your request.
0 commit comments