Attachment Name In the workflow rule I creat...

Attachment Name

In the workflow rule I create a PDF and the Attachment Name via a formula that concatenates some columns. In some of them are characters that we cannot use for filenames. I now use SUBSTITUTE like:

<<SUBSTITUTE(SUBSTITUTE(CONCATENATE([Column1] , [Column2])

, โ€œ/โ€ , โ€œ") , โ€˜"โ€™ , "โ€)>>

to substitute / and ".

Could AppSheet do that automatically for us? While creating a PDF it should substitute all the forbidden characters: ? * < > . , \ + : = / " ; [ ] |

1 8 555
8 REPLIES 8

Hello @Fabian

The best place for feature requests is appsheet.com - Login - AppSheet

That gives us a way to track the number of requests, and lets everyone see all requests as an ordered list. Login - AppSheet appsheet.com

@Fabian

I implemented this feature this afternoon.

If testing goes well, the change will be released on Monday (11/26/2018) afternoon Seattle time.

Hi @Phil
This seems to happen again. When I have a column that contains a โ€œ/โ€ sign, then the PDF output will be placed in a new created folder.

So if my โ€œFile Name Prefixโ€ is [Name] and the value in the [Name] column is โ€œPeter/Paulโ€, it will create a new folder called โ€œPeterโ€, and in this folder, it will create the file โ€œPaul.pdfโ€.

AppSheet automatically substitutes stuff like quotation marks and hashtags into โ€œ-โ€. But this is not happening with โ€œ/โ€.

@Philip_Garrett_Appsh You are awsome. Thank you.

Making that change would break other users who depend on that behavior.

OK no Problem @Phil. So I will continue using SUBSTUTITE() to get rid of the โ€œ/โ€.

Yes, please keep doing that.

@Phil On the other hand: Everyone should be aware about that: Using a column to construct the โ€œFile Name Prefixโ€ has the potential to create an undesired folder structure. So it would be necessary to avoid โ€œ/โ€ in that column, for example via valid_if.
Because this behavior is not something a No-Code-Developer would expect.
So my suggestion for AppSheet would be:
Respect the โ€œ/โ€ if we put it in the โ€œFile Name Prefixโ€.
Ignore the โ€œ/โ€ when it comes from a column.

Top Labels in this Space