RickH
May 24, 2020, 11:48pm
1
I cant get entity data to print
here is the data
This is the printer template
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Customer Name: {ENTITY DATA:Name}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Address: {ENTITY DATA:Webstore Orders:Address 1}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Address: {ENTITY DATA:Webstore Orders:Address 2}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Post Code: {ENTITY DATA:Webstore Orders:Post Code}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Mobile Number: {ENTITY NAME:Webstore Orders}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Date of Delivery: {ENTITY DATA:Webstore Orders:Date of Delivery}</div>]
[<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Notes: {ENTITY DATA:Webstore Orders:Notes}</div>]
Customer Name and Mobile Number Print but i cant get any of the other custom fields to print
So for example Date of Delivery should be {ENTITY DATA:Webstore Orders:Date of Delivery}
but nothing prints
Any ideas i must be missing something obvious??
Jesse
May 25, 2020, 12:19am
2
Try without enitity type in the exoression
RickH
May 25, 2020, 12:26am
3
tried that as well and still nothing
RickH
May 25, 2020, 12:28am
4
hang on that worked for everything apart from address 1 and address 2
Heres template
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Customer Name: {ENTITY DATA:Name}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Address: {ENTITY DATA:Address 1}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Address: {ENTITY DATA:Address 2}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Post Code: {ENTITY DATA:Post Code}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Mobile Number: {ENTITY NAME:Webstore Orders}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Date of Delivery: {ENTITY DATA:Date of Delivery}</div>]
> [<div style="font-size:12px;font-weight:bold;text-align:left;font-family:'Calibri'">Notes: {ENTITY DATA:Webstore Orders:Notes}</div>]
RickH
May 25, 2020, 12:30am
5
but didnt work for address 1 and 2
RickH
May 25, 2020, 12:35am
6
Fixed that it should be Address Line 1 and 2 not just Address 1 and 2
So why doesnt that print tag {ENTITY DATA:<entity type>:<entity custom field>}
work anymore?
interesting situation, i would like to review your database. Can you send it as a private message ?
Did it work like that before then?
Uta within a specified entity type section so isnt needed but odd it shouldn’t work at all.
Jesse
May 25, 2020, 11:10am
9
It does work but when you have the tags inside the parameter for a specific entity type you can’t use that format. Specifying entity type is only if you don’t have it under a specific entity type parameter in the template. It has always been that way.
2 Likes
RickH
May 25, 2020, 12:34pm
10
Never knew that as never split it in the template before
1 Like