PDF File URL not updating

Hi friends,

     I am creating a url file for each PDF file created ,but it seems the url is not updating whenever I create another data entry .Url file is used in my embedded app view to be sent later.The problem is that when I create other entries the url keeps the first file and does not change accordingly.

I am using the following expression to create this url:CONCATENATE(
"https://www.appsheet.com/template/gettablefileurl?appName=",
ENCODEURL("CheckList-618890389"),
"&tableName=", ENCODEURL("CheckList"),
"&fileName=", ENCODEURL([File 2])
)

I think the problem is related with file cache.

Waiting for your reply

Best regards,

Solved Solved
0 8 380
1 ACCEPTED SOLUTION

8 REPLIES 8

Thank you.It solved the half of my problem as when I open the file url in my detail view ,the url is really updating when entering new enteries ,but when using the url in embedded app view in dynamic email.The url is not updating and gives me the old url.

eldderri_0-1721302461488.png

 

Do you have any suggestions to solve this issue?

Did you update the URL for the Dynamic Email? 

 

Do you create new versions of the file and retain old versions or overwrite with new one?

How to create new versions of the file and retain old versions?

 

I usually do this way:
1. I have a file ID column
2. I concatenate the file name + File ID + ".pdf"
3. I use this File ID column to trigger my automation, everytime the ID is different then before, run the bot
4. I create an action that set a uniqueID to the column
5. I set this column as not show.

This way every file will have a unique name, and it will create a new file preserving the old ones.

I did the same but now I am speaking about creating URL in embedded app view in dynamic email as shown in my previous message.I want to update the url whenever a new entry is added .I am using this action now instead of the system action:

eldderri_0-1721309475803.png

My url is :

eldderri_1-1721309589801.png

The idea is to have the same file detail view as in embedded app view used in dynamic email:

eldderri_0-1721339288833.png

 

eldderri_1-1721339470874.png

 

 

Still not having the solution as when I create a checklist for the same driver again,the pdf file keeps the first file.Is it related to the naming of the file Name created?

eldderri_0-1721729465295.png

Shall I replace the name of the file with a unique ID or what?

 

I found the solution by replacing the file name  [Prénom])with [ID]) column so that I get a new url for my file every time the PDF file is created.

Thank you so much for you all

Top Labels in this Space