Scruffy
10/29/2021, 7:18 PMScruffy
10/29/2021, 7:36 PMstartdate
and enddate
both exist in the XML info of the Work Order Record but you cannot reference it in the adv templateericbirdsall
10/29/2021, 10:36 PMScruffy
11/01/2021, 3:59 PMericbirdsall
11/01/2021, 4:01 PMScruffy
11/01/2021, 4:02 PMScruffy
11/01/2021, 5:43 PMERROR: Field "startdate" not found
when printing the PDF.ericbirdsall
11/01/2021, 5:52 PMrecord.startdate
on the PDF or record.custbody_whatever_id_you_gave_your_custom_field
?Scruffy
11/01/2021, 6:15 PMrecord.custbody_whatever_id_you_gave_your_custom_field
Scruffy
11/01/2021, 6:15 PMericbirdsall
11/01/2021, 6:34 PMericbirdsall
11/03/2021, 4:06 PMScruffy
11/03/2021, 4:10 PMMM/DD/YYYY
using toLocaleDateString("en-US");
but get November 3, 2021
when printing with debug. Now playing around with moment.js to see if i can get better control on the formatting. Thanks for the follow up hahaScruffy
11/03/2021, 4:11 PMNovember 3, 2021
the PDF does not print it even when its a string in a free text boxericbirdsall
11/03/2021, 4:15 PMScruffy
11/03/2021, 4:16 PMericbirdsall
11/03/2021, 4:17 PMScruffy
11/19/2021, 7:29 PMHidden
is different from as the Show
checkbox when Moving Elements Between Tabs. ADV PDFs cannot reference fields that are Display Type = Hidden but they can reference Normal Fields that have Show = F.ericbirdsall
11/23/2021, 7:19 PM