Focal Point
[SOLVED]URL returns Keyword has illegal value

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9447027086

February 11, 2016, 09:42 AM
DebbieC
[SOLVED]URL returns Keyword has illegal value
I am developing an XLSX report that contains a URL hyperlink to an application and passing it a parameter when I get the Keyword has illegal value error.

Here is the code

TYPE=DATA,
COLUMN=N12,
URL=https://sugarcrm-ce.learningcaregroup.com/lcgschools/index.php?module=Leads&action=DetailView&record=( \
LEAD_ID=N12 \
),
$

If I alter the hyperlink to just the application it works just fine.
URL=https://sugarcrm-ce.learningcaregroup.com/lcgschools

I tried stepping through and received the error with this as well
https://sugarcrm-ce.learningca...dex.php?module=Leads

Any help would be appreciated.
Thanks

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.1.3
Windows
February 11, 2016, 04:36 PM
Waz
Its probably trying to evaluate &action and &record as amper variables

Use &|action and &|record

Also, I think your URL call is wrong.

Please check this documentation.

Linking to a URL


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 11, 2016, 04:46 PM
Francis Mariani
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=N1, URL=https://sugarcrm-ce.learningcaregroup.com/lcgschools/index.php?( \
module = 'Leads' \
action = 'DetailView' \
record = 'BLAH' \
LEAD_ID = N1 \
), 
$
END


The generated link is:
https://sugarcrm-ce.learningcaregroup.com/lcgschools/index.php?module=Leads&action=DetailView&record=BLAH&LEAD_ID=FRANCE



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 15, 2016, 07:44 AM
DebbieC
Thank you! I started looking at the url and figured out that I could break it out in the manner you suggested.


WebFOCUS 8.1.3
Windows