As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
Does someone have already encounter this and have a solution ?
Using AHTML format (and even HTML) in some occasion, not all the time and not all places and only seems to happen with Edge, when generating an AHTML/HTML report some data are converted into a hyperlink.
I had to performed some trick to prevent that using Safari on mobile devices where I had to use an HTML form instead of displaying as PCHOLD FORMAT HTML, but with AHTML I am stuck… And the displayed information that is converted to hyperlink is a text (Axx) field. It does that especially when some part of the data looks like a phone number.
I know that is a "normal" reaction from Edge to do this, but I want that to be removed and it doesn't seems to be an option from Edge. I don't want to change all reports with an HTML form instead of using FORMAT HTML, it's going to be a nightmare. And what to do with AHTML, I cannot change it to an HTML form…
I have found that adding some meta tag into the HTML form, adding attribute to the element, using some java script or combination of the previous solves the problem but this is not relevant when you produce a report and use the PCHOLD FORMAT HTML or PCHOLD FORMAT AHTML
Any suggestion or solution will be greatly appreciatedThis 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: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
As mentioned I found those options, but it cannot be used when you create a report using PCHOLD FORMAT HTML or PCHOLD FORMAT AHTML Remember that it's not all programmers that use IB tools and it's not always possible to use a HTML form. Especially, I don @Hallway
One of the "old" version : Edge 44.18362.449.0 & EdgeHTML 18.18363 for Windows 10 Even if there is a release of a new one on May 7, 2020 : 81.0.416.72 New version number now match with Chromium browser project. So, I'm not that late on version update
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: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Yeah, the new and improved Edge was GA released in January, 2020 as version 79. and the latest update put them at v81. So anything below v79 will be old. If you haven't tried it yet, it is pretty dang cool. The IE mode on it has allowed us to completely get rid of IE as a stand alone browser. Any legacy apps that still need IE can now be handled with IE mode in Edge. It is so nice that our end users only need to use one browser now.
You CAN use an HTMLFORM block on an active (AHTML) report
-HTMLFORM BEGIN NOEVAL
<html x-ms-format-detection="none">
<meta name='format-detection' content='telephone=no'>
-HTMLFORM END
SET NODATA = ''
TABLE FILE CAR
SUM SALES/I11C AS ''
BY CAR
ACROSS COUNTRY AS ''
ON TABLE ROW-TOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET PAGE-NUM NOPAGE
END
-RUN
This message has been edited. Last edited by: Hallway,
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
Thanks a lot for the update. I didn't thought of doing that and it works great except that you better need to do the following otherwise other output format such as Excel or PDF are totally corrupted
-DEFAULTH &WFFMT = ''
-IF &WFFMT IN ('HTML', 'AHTML') THEN CONTINUE ELSE GOTO SKIPPHONEDETECT;
-HTMLFORM BEGIN NOEVAL
<html x-ms-format-detection="none">
<meta name='format-detection' content='telephone=no'>
-HTMLFORM END
-SKIPPHONEDETECT
I also had to play a little to reapply some styling because the HTMLFORM overwrite some AHTML default. But overall, all good
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: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013