IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Pound sign in the variable
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  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: 67 | Registered: April 15, 2004Reply With QuoteEdit or Delete MessageReport 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: 2630 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
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.
 
Posts: 5 | Registered: August 18, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Pound sign in the variable

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