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] Column with URL
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Column with URL
 Login/Join
 
Member
posted
Within a Synonym I have a column created that builds a hyperlink to an external system. The goal is that we can include this column in a published reporting object for the end users to use, so when they use it there output will allow them to go direct to the external system.
Here is an example of the define in the synonym.
  DEFINE QUOTE_LINK/A300 MISSING ON ALL='<a href="https://' || '&&SBL_SERVER' || '/callcenter_enu/start.swe?SWECmd=GotoView' || '&' || 'SWEView=Agreement+List+View' || '&' || 'SWERF=1' || '&' || 'SWEHo=' || '&&SBL_SERVER' || '&' || 'SWEBU=1' || '&' || 'SWEApplet0=Agreement+List+Applet+No+Parent' || '&' || 'SWERowId0=' || ROW_ID || '" target=_blank>' || AGREE_NUM || '</a>';
      TITLE='Quote Number Link', $


The problem we are seeing is that when you pull this column into a report it encoding all of the html characters into other characters.
i.e FP Mod Chuck,


WebFocus / DataMigrator 8105M
 
Posts: 4 | Registered: October 17, 2016Reply With QuoteReport This Post
Guru
posted Hide Post
Used in a procedure:
DEFINE FILE CAR 
QUOTE_LINK/A300 = '<a href="https://&' || '&'||'SBL_SERVER/callcenter_enu/start.swe?SWECmd=GotoView&' 
|| 'SWEView=Agreement+List+View&' || 'SWERF=1&' || 'SWEHo=&' || '&' ||'SBL_SERVER&' || 'SWEBU=1&' 
|| 'SWEApplet0=Agreement+List+Applet+No+Parent&' || 'SWERowId0=MODEL" target=_blank>BODYTYPE</a>';
END
TABLE FILE CAR
PRINT 
CAR
QUOTE_LINK
BY COUNTRY
END   



Used in the Master File:
    FIELDNAME=IMPERSONATE, ALIAS=Impersonate, USAGE=A10, ACTUAL=A10,
      MISSING=ON, $
    FIELDNAME=IMPERSONATINGUSERID, ALIAS=ImpersonatingUserid, USAGE=I11, ACTUAL=I4,
      MISSING=ON, $
      DEFINE QUOTE_LINK/A300 = '<a href="https://&' || '&'||'SBL_SERVER/callcenter_enu/start.swe?SWECmd=GotoView&' || 'SWEView=Agreement+List+View&' || 'SWERF=1&' || 'SWEHo=&' 
                 || '&' ||'SBL_SERVER&' || 'SWEBU=1&' || 'SWEApplet0=Agreement+List+Applet+No+Parent&' || 'SWERowId0=MODEL" target=_blank>BODYTYPE</a>';  

This message has been edited. Last edited by: Don Garland,


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Column with URL

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