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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Pound sign in the variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Pound sign in the variable
 Login/Join
 
Gold member
posted
I'm passing a variable to run a fex using the following URL:
http://nsdg-14:8046/ibi_apps/WFServlet?IBIF_ex=newpars....=lo#32&userID=j32588

You will notice that &spec is supposed to be 'lo#32' but the pound sign appears to be causing an issue as my output looks as follows:

HERE ARE THE VARIABLES THAT ARE BEING PASSED TO WEBFOCUS:
VARIALBE REPORT IS ADP210.fxa
VARIABLE SPEC IS lo
0 ERROR AT OR NEAR LINE 13 IN PROCEDURE _newparsFOCEXEC *
(FOC295) A VALUE IS MISSING FOR: userID


I opened a case with IBI but am under the gun so I thought I'd see if anyone else has ever run into this issue, I would suppose it is like trying to pass a question mark but I don't know what the best solution is here.
 
Posts: 90 | Registered: April 15, 2004Report This Post
Expert
posted Hide Post
It appears to be a browser 'feature' ; You can get around it easily enough...
do a CTRAN function on your SPEC variable to change the octothorpe to some character that won't give your browser any trouble and won't ever be found in the variable's true value (like a lowercase x for example) , then change it back with another CTRAN on the other end in the receiving fex.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
<RJones>
posted
If you able to run a javascript function on the url.....you can run a javascript escape() function on the field with the # and that should take care of the issue.
 
Report 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     Pound sign in the variable

Copyright © 1996-2020 Information Builders