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] Passing parameters to a Flex app...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing parameters to a Flex app...
 Login/Join
 
Member
posted
We're using the Flex Enabler to build a small Google Maps feature into an existing WF reporting environment. That reporting system has already authenticated and authorized a user to determine what they see in the host report. In the report headings, they have standard glyphs that hyperlink them to PDF, PowerPoint or Excel output, or maybe load a graph. We want to add a map glyph to fire off the Flex app. So here's the problem: How do we get that authenticated userid from a WF report into the Flex SWF application in order to properly predicate the focexecs that populate the grids (and map)? From Kelly Badger's posts, we have learned how to customize the URL to call WF, thusly
               <mx:Script>
                     <![CDATA[
                     [Bindable]
                     public var empid:String = "118506";
                     public var fex1:String = "http://machinename/ibi_apps/WFServlet?IBIF_ex=REPDUMP&IBIAPP_app=googlemaps" + "&EMPID=" + empid;
                     public var fex2:String = "http://machinename/ibi_apps/WFServlet?IBIF_ex=EXTRDUMP&IBIAPP_app=googlemaps" + "&EMPID=" + empid;
                     ]]>
              </mx:Script>
 


But how to get that empid populated in the first place as a parameter sent over from the host WF report?

Thanks...

This message has been edited. Last edited by: Max W,


Max...

Production: WebFOCUS 7.67, ArcIMS 9.1, MRE, BID
Test: WebFOCUS 7.67, ArcIMS 9.1
Platform: Win 2003
 
Posts: 4 | Location: Melville, NY | Registered: November 06, 2007Report This Post
Member
posted Hide Post
Just to clarify...

The assigned value of empid 118506 in the code example above is what needs to be dynamically picked up. The fixed value was for testing purposes.


Max...

Production: WebFOCUS 7.67, ArcIMS 9.1, MRE, BID
Test: WebFOCUS 7.67, ArcIMS 9.1
Platform: Win 2003
 
Posts: 4 | Location: Melville, NY | Registered: November 06, 2007Report This Post
<csssps07>
posted
Hey Max,

Shanker here; per our session few days back, our product team is going to provide code sample that demonstrates how you can accomplish this. Let me know if you've received it, and if you have additional questions.
 
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     [SOLVED] Passing parameters to a Flex app...

Copyright © 1996-2020 Information Builders