Skip to main content

When I try to call the tracking number metric it shows up in brackets and apostrophes [see image below]. I want it to show up as just the number with no brackets of apostrophes. Can anyone else to edit it to fix this problem?

Here is the code that produces it:

<div style="text-align: center;"> </div>
<div style="text-align: center;"><span style="font-weight: bold;">Shipping Company:</span></div>
<div style="text-align: center;">{{ event|lookup:'Tracking Company'|default:'' }}</div>
<div style="text-align: center;">&nbsp;</div>
<div style="text-align: center;"><span style="font-weight: bold;">Tracking Number:</span></div>
<div style="text-align: center;">{{ event|lookup:'Tracking Numbers'|default:'' }}</div>
<div style="text-align: center;">&nbsp;</div>

 

This is what the input is
This is the output with the tracking number in the brackets

 

Welcome to the community @JJSI 

If there is only ever one tracking number, this should work:

{{ event|lookup:'Tracking Numbers'|lookup: 0 }}

Regards

Andy 


Reply