Focal Point Banner


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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Imbedded space issue in URL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Imbedded space issue in URL
 Login/Join
 
Master
posted
So I have a report header with a hyperlink. It works if my URL path and file name have no spaces. It fails where there is a space...as is the case below. How do I adjust the syntax to account for the spaces?

TYPE=TABHEADING,
LINE=1,
OBJECT=TEXT,
ITEM=10,
SIZE=8,
COLOR=RGB(255 102 0),
TARGET='_blank',
URL=X:\DEPT\my reports\Dept Head List.PDF,

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Guru
posted Hide Post
COMPUTE URLTXT/A150='X:\Main\my reports\D&|H\DeptHeadlst.PDF';
..........
TYPE=REPORT,
TARGET='_blank',
URL=(URLTXT),
$


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Master
posted Hide Post
Anyone, I tried single quotes around the path and double...no dice. This seems pretty basic, what am I doing wrong?


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Guru
posted Hide Post
did you try my suggestion at all?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Master
posted Hide Post
sorry - I missed it..not sure how. Where does this go in the fex..at the beginning? In a define, after the table statement?


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Master
posted Hide Post
if at the beginning, line 1, I get this:


0 ERROR AT OR NEAR LINE 1 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC001) THE NAME OF THE FILE OR THE WORD 'FILE' IS MISSING
0 ERROR AT OR NEAR LINE 13 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC324) THE PARAMETER TO BE SET IS NOT RECOGNIZED: RLSPACE
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 144: URL=(URLTXT)


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Master
posted Hide Post
if I move the compute under my TABLE statement I get this error:


(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 70: URL=(URLTXT)


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Virtuoso
posted Hide Post
Compute needs a TABLE FILE... SUM before it. Something like:
  
TABLE FILE CAR
SUM COMPUTE URLTXT/A150='C:\Downloads\Corporate file name.pdf'; NOPRINT 


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Guru
posted Hide Post
 
TABLE FILE CAR
PRINT 
COMPUTE URLTXT/A150 = 'X:\Main\my reports\D&|H\DeptHeadlst.PDF';
BY  MODEL

ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=REPORT,
     URL=(URLTXT),
    TARGET='_blank',
$
ENDSTYLE
END
 


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Master
posted Hide Post
I tried the SET method and get this error; note I must use: |, when I use: || it errors out altogether.

ERROR AT OR NEAR LINE 11 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC324) THE PARAMETER TO BE SET IS NOT RECOGNIZED: RLSPACE
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 143: URL=(URLTXT2)


Using the compute now works but now I get the path value on every row printed...getting closer though...


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Virtuoso
posted Hide Post
If you don't want to see the COMPUTE add a NOPRINT to the right of ;


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Master
posted Hide Post
...made it a noprint...seems to work...thanks all!


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Imbedded space issue in URL

Copyright © 1996-2020 Information Builders