Focal Point
[SOLVED] Column with URL

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

July 07, 2017, 02:34 PM
KenK
[SOLVED] Column with URL
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
July 08, 2017, 11:23 AM
Don Garland
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