Saving PDF and Viewing Them

In summary:

  1. I create a PDF via bot
  2. Save the full path to the sheet
  3. Go to the invoice's details & click the link to view the PDF
    or
  4. Go to the invoice's details & click on the action..
  5. 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

DayToDataInc_0-1746106830110.png

Here is the invoice saved to my drive in the correct directory.

DayToDataInc_1-1746106870384.png

PDF is correct

DayToDataInc_5-1746107341412.png

 

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

DayToDataInc_2-1746107037819.png

Here is the data, showing that it's saved.

DayToDataInc_3-1746107234719.png

When I go to the view, the link is active

DayToDataInc_4-1746107298131.png

I even created an action to open the PDF externally

DayToDataInc_6-1746107731734.png

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>&#39;CRM-5099355/Invoices/Invoice_1274.pdf&#39; 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 &#39;CRM-5099355&#39;, File entry not found</div>
                  <details>

 

0 0 11
0 REPLIES 0