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     [CLOSED]hyperlink from 7.7 to 8.1

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]hyperlink from 7.7 to 8.1
 Login/Join
 
Gold member
posted
I have a need while converting versions to link a report from v7 to v8. It works in a DEFINE, but I really want to use a "URL" against a column. Does anyone have the format of the URL to accomplish this? I'm getting error:
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 17:
URL=http://server/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/R


 
-SET &BIP_folder='&'|BIP_folder;
-SET &BIP_item='&'|BIP_item;
-SET &HYPER='http://server/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/Public&BIP_item=program.fex';

DEFINE FILE CAR
hyperlink/A250='test';
END
-SET &ECHO=ALL;
TABLE FILE CAR
SUM 
SALES
hyperlink
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SALES, URL='&HYPER', $
ENDSTYLE
END
 

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


8.2.03 AIX Client Windows Tomcat
DB2, Terradata, SQL, Oracle
 
Posts: 56 | Location: Fort Worth, Texas USA | Registered: January 27, 2012Report This Post
Master
posted Hide Post
Just a guess here. You have ampersands that could be confusing things, so try putting pipe characters after them:

-SET &HYPER='http://server/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&|BIP_folder=IBFS:/WFC/Repository/Public&|BIP_item=program.fex';

This will force them to be recognized as ampersand characters instead of possibly more SET variables.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Gold member
posted Hide Post
I was getting problems with the ampersands before accounting for them in the SETs; I tried adding the pipes in the string but get the same error. May end up easier to convert more to 8


8.2.03 AIX Client Windows Tomcat
DB2, Terradata, SQL, Oracle
 
Posts: 56 | Location: Fort Worth, Texas USA | Registered: January 27, 2012Report This Post
Expert
posted Hide Post
Because you are embedding a variable within the URL code, the parser is having an issue with, not only the ampersands, but the equal signs as well.

What you need to do is "escape" those characters that would cause a parser issue.

You can do this with the ampersand by placing a concatenation symbol immediately after the ampersand or use %26 to "escape" it.

The equal sign can be "escaped" using %3d, so you end up with the following code

-SET &HYPER = '/ibi_apps/run.bip?BIP_REQUEST_TYPE%3dBIP_RUN%26BIP_folder%3dIBFS:/EDA/EDASERVE/folder%26BIP_item%3dprogram.fex'

DEFINE FILE CAR
hyperlink/A250='<a href="/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&|BIP_folder=IBFS:/EDA/EDASERVE/folder&|BIP_item=program.fex" target="_blank">test</a>';
END
-SET &ECHO=ALL;
TABLE FILE CAR
SUM 
SALES
hyperlink
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SALES, URL='&HYPER.EVAL', $
ENDSTYLE
END


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
quote:
URL='&HYPER'

Did you try using quotedstring?
TYPE=DATA, COLUMN=SALES, URL=&HYPER.QUOTEDSTRING, $
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report 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     [CLOSED]hyperlink from 7.7 to 8.1

Copyright © 1996-2020 Information Builders