Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED-NFR]Why Safari creates hyperlink with report's data when other browser don't
Go
New
Search
Notify
Tools
Reply
  
[SOLVED-NFR]Why Safari creates hyperlink with report's data when other browser don't
 Login/Join
 
Virtuoso
posted
Hi community,

I have a portal that can be used either from an internal company access or from mobile devices.
On this portal I have several reports and KPI. All works great up to now.

The problem is that with one of the report which is a simple tabular report (max 10 rows with a code/description (BY fields) and values (SUM fields)) the code column (which is an alphanumeric field) is sometime converted to a clickable field (hyperlink) by Safari when I use a mobile device. This doesn't occurs with other browser such as Chrome.

Not all rows have their code converted to a clickable hyperlink by Safari, only some and it's random.

Note that this "data conversion to hyperlink" may occurs anywhere on the report from the moment that Safari finds a pattern that may refer to an hyperlink.
Normally a series of numbers. And it's not always the whole displayed string. It's sometime just part of the displayed string.
As per example a description which display : "ABC123 Company" will have the 123 as a hyperlink.

I have search the web but I've found nothing regarding this and how to stop Safari to react that way.

Thanks for any help

This message has been edited. Last edited by: MartinY,


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2293 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Virtuoso
posted Hide Post
What version of Safari?


WebFOCUS 8206, Unix, Windows
 
Posts: 1821 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
Google search on "meta format-detection" for clues what it might be.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5659 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
@Doug
From the devices that I'm testing with it's iOS 13.3

@Tony
I'll have a look at this


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2293 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Master
posted Hide Post
quote:
meta format-detection


I found this on a Stack-Overflow post


Hallway
WF(Prod):8202M1
WF(Test):8202M4
OS/Platform:Win 10
Outputs:All
 
Posts: 558 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
@Hallway

I also have found it but my problem is that everything that I found is requesting to add a meta HTML tag

The report is a "regular" WebFOCUS tabular report not included in a HTMLFORM but just drag into a BIP as an element.

Run the following from Safari and it should display "CD" column as an hyperlink

DEFINE FILE GGSALES
CD /A10 = '4507891234';
END
TABLE FILE GGSALES
SUM DOLLARS
    BUDDOLLARS
BY HIGHEST 10 DOLLARS NOPRINT
BY PCD
BY CD

ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET LINES 999999
ON TABLE SET BYPANEL ON
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     SQUEEZE=ON,
     LEFTMARGIN=0.0,
     RIGHTMARGIN=0.0,
     TOPMARGIN=0.0,
     BOTTOMMARGIN=0.0,
     PAGECOLOR=RGB(235 235 235),
$
TYPE=REPORT,
     BORDER=OFF,
     SIZE=10,
$
ENDSTYLE
END
-RUN


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2293 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Master
posted Hide Post
I don't have a crApple phone to try it on. That said, can't you just add an HTMLFORM block to it?
  
DEFINE FILE GGSALES
CD/A10 = '4507891234';
END
TABLE FILE GGSALES
SUM DOLLARS/D12
    BUDDOLLARS/D12
BY HIGHEST 10 DOLLARS NOPRINT
BY PCD
BY CD
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET LINES 999999
ON TABLE SET BYPANEL ON
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     SQUEEZE=ON,
     LEFTMARGIN=0.0,
     RIGHTMARGIN=0.0,
     TOPMARGIN=0.0,
     BOTTOMMARGIN=0.0,
     PAGECOLOR=RGB(235 235 235),
$
TYPE=REPORT,
     BORDER=OFF,
     SIZE=10,
$
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN NOEVAL
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="date=no">
    <meta name="format-detection" content="address=no">
    <meta name="format-detection" content="email=no">
    <title>Report</title>
</head>
<body>
    !IBI.FIL.HOLD;
</body>
</html>
-HTMLFORM END



Hallway
WF(Prod):8202M1
WF(Test):8202M4
OS/Platform:Win 10
Outputs:All
 
Posts: 558 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Thanks Hallway

I knew that it was going to be the solution but I was hopping not to go there.

In the same time, I have open a case and I will post the answer here if another option is available.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2293 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Little update : a NFR has been open regarding this issue


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2293 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED-NFR]Why Safari creates hyperlink with report's data when other browser don't

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.