How to get the File Name of a CSV

Hi All,

I’m using “pxUploadCSVResults”.

How can I get the name “20220111_01.csv” of the selected file?

Thanks in Advance,

Shiori

@ShioriY8 Hi, As part of this activity the file name is not getting stored in any property of param. But there is a parameter called hiddenFilePath from which you can take the file name.

Please do let us know if this helps

@スリニディム
Thanks for your advice!!

I was able to get the path name “C:\fakepath\20220111_01.csv”.

Do you know if "C:\fakepath" is a fixed value?

All I need is the filename “20220111_01.csv”.

If it is a fixed value, I believe it can be solved by deleting "C:\fakepath".

@ShioriY8 Hi, Yes you can remove the first part of it and use the file name.

Hi @ShioriY8,

You can use @whatcomesafterlast(“path”,'.') function and find out he file name.

Hope this is useful.

Thanks,

Pooja