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     Pound sign in the variable
Go
New
Search
Notify
Tools
Reply
  
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, 2004Reply With QuoteReport 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, 2003Reply With QuoteReport 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.
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

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