Bug Encountered: Workflow generates invalid links based on valid user content

This is an old problem which needs to be sorted out please - when you generate reports in html format, workflow creates invalid links based on the content in the report which the client anti-virus program identifies as a potential spam link eg. customer entered the following freeform text:

9.am

in a LONGTEXT field , - it assumed the period was part of a web address and this was converted to an http link

0 8 434
8 REPLIES 8

@Anthony_Nel I might suggest you change the category to the Bugs category. It might get more attention by the AppSheet team there.

Category not found - already Tagged as bugs etc

@Anthony_Nel Sorry! Youโ€™re right. I was confused with Feature Requests. Still getting used to this new system.

Hi Anthony,

Based on your description, I tried the following:

  1. I create a Google worksheet having a field called โ€œCommentโ€.
  2. AppSheet correctly inferred that โ€œCommentโ€ was a โ€œLong Textโ€ field.
  3. I created a workflow rule with an HTML template that included the โ€œCommentโ€ field.
  4. I used the AppSheet application to enter โ€œ9.amโ€ in the โ€œCommentโ€ field.
  5. I saved my change which wrote the value to โ€œCommentโ€ cell in Google Sheets.
    6.The workflow rule was invoked.
  6. The field โ€œCommentโ€ appeared in the resulting HTML document as a simple text value.

I am not sure I fully understand what you are reporting, so forgive me if I misinterpreted what you wrote.

I was surprised that in Google Sheets, the cell value โ€œ9.amโ€ was treated as a hyperlink. The same was true whether I saved the value via AppSheet or if I typed the value โ€œ9.amโ€ directly into the Google Sheets cell.

The cell value was treated as a hyperlink even if I preceded the value I typed into the cell with a single quote. Preceding a value with a single quote signifies to Google Sheets that the following value should be treated as text.

I was able to overcome this behavior by selecting all of the cells in the โ€œCommentโ€ column, right clicking, and selecting โ€œunlinkโ€. This caused Google Sheets to display the cell values as text.

Spreadsheet products like Visicalc, Excel, and Google Sheets have a long tradition of trying to guess what type of values you enter and then formatting it automatically. That may be what is going on here.

Can you provide the exact steps to reproduce the problem?

Hi Phillip

Thanks for your detailed reply - I noticed itโ€™s that is treating 9.am as a hyperlink โ€ฆ

That is pretty much what happens - in my case gsheets does not seem to see this as a link - however when make an html report it automagically becomes a hyperlink in the resulting mail.

Hope this helps

Anthony

โ€ฆ that Gmail is treating 9.am as a hyperlink โ€ฆ

This community site is also treating it as a link.

IMPORTANT - Please DO NOT click the auto-generated link - it redirects you to a dodgy looking Macua online casino โ€ฆ

Top Labels in this Space