Highlighted

Can we get the path of personalized pdf attached in emails

Avatar

Avatar

richac96395021

Avatar

richac96395021

richac96395021

24-04-2019

Hi Team,

Currently, we have an implementation which is hybrid in nature and we are sending Personalized Pdfs as part of the email attachment. We have a requirement of getting the location of the pdf attached. How can we get this data from the mid-sourcing servers? It will be helpful if the reference path for the same is shared.

with regards,

Richa Chaubey

Replies

Highlighted

Avatar

Avatar

Venu_Reddy

MVP

Avatar

Venu_Reddy

MVP

Venu_Reddy
MVP

24-04-2019

Hi richac96395021​,

Assuming Linux, run this in a js activity in a workflow, then check audit log:

logInfo(execCommand("find /usr/local/neolane/nl6/var -name '*.pdf'")[1]) 

Regards,

Venu

Highlighted

Avatar

Avatar

richac96395021

Avatar

richac96395021

richac96395021

24-04-2019

Hi Venu,

Will this command work for ACM Hybrid Installation:-

logInfo(execCommand("find /usr/local/neolane/nl6/var -name '*.pdf'")[1])

I have checked the path on marketing instance /usr/local/neolane/nl6/var there is no pdf file present.

with regards,

Richa Chaubey

Highlighted

Avatar

Avatar

Venu_Reddy

MVP

Avatar

Venu_Reddy

MVP

Venu_Reddy
MVP

24-04-2019

Hi Richa,

Can you check this server path on marketing instance: "/usr/local/neolane/nl6/var/res/<instance_name>/***.pdf"

Regards,

Venu

Highlighted

Avatar

Avatar

richac96395021

Avatar

richac96395021

richac96395021

25-04-2019

Hi Venu,

I have checked the path till '/usr/local/neolane/nl6/var/res/' on marketing server, no folder with the naming convention <instance_name> exists.

with regards,

Richa Chaubey