In summary:
- I create a PDF via bot
- Save the full path to the sheet
- Go to the invoice’s details & click the link to view the PDF
or - Go to the invoice’s details & click on the action..
- File can’t be found?
I’m probably missing something simplistic here.
So I have a bot that saves my invoice as a PDF, which works flawlessly
Here is the invoice saved to my drive in the correct directory.
PDF is correct
I am saving the full path to a column (non virtual) in the same bot after the PDF is created. Here you can see invoice 1274
Here is the data, showing that it’s saved.
When I go to the view, the link is active
I even created an action to open the PDF externally
but when I click on it in the detail or click the action button, I get the following error.
<html>
<body style="margin:20px">
<div>'CRM-5099355/Invoices/Invoice_1274.pdf' not found</div>
<div>Probable cause: N/A</div>
<div><ul><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A</div>
<details>
<ul>
<li><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A</div>
<details>
<ul>
<li><div>
<div>Path: Root</div>
<div>Result: Success</div>
</div>
</li>
<li><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A</div>
<details>
<ul>
<li><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A</div>
<details>
<ul>
<li><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A</div>
<details>
<ul>
<li><div>
<div>Path: Root</div>
<div>Result: FAILURE</div>
<div>Message: N/A, Searching for 'CRM-5099355', File entry not found</div>
<details>