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     [Workaround][NFR Submitted] Insert my own swf file into an HTML page on MRE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Workaround][NFR Submitted] Insert my own swf file into an HTML page on MRE
 Login/Join
 
Guru
posted
Hey there,

I have a swf file that I'd like to put in an HTML launch page that is run from within the MRE environment.

My first attempt went as follows...
Put the swf file in the OTHER folder for the domain in question
Create an iframe on the launch page and try to open the swf file directly in the frame
- No luck

My second attempt went as follows...
Add an html file with all the code in it to embed the swf file in the OTHER folder of the domain. html file and swf file are both in the same path and the source in the html file looks like
 src="my.swf" 

Create an iframe on the launch page and open the html file in the frame
- Launch page opens and sits on the 'Loading, please wait' message indefinitely

My third attempt went as follows...
Move the swf file to an Application Directory
Modify the html page that has the code to embed the swf file so the source looks like
 src="https://HOSTNAME/approot/APPDIRECTORY/my.swf" 

Create an iframe on the launch page and open the html file in the frame
- This works!

I would really rather keep the swf file inside the MRE environment. Is there a way to get this to work without the need to put the file in an APP Directory?

Thanks!

Dan

This message has been edited. Last edited by: Dan Pinault,


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Expert
posted Hide Post
Dan, the documentation (WebFOCUS Online Help > Managed Reporting Developer > Working With Domains and Standard Reports > Importing Procedures and Other Files Into WebFOCUS) specifies only .fex, .gif, .sty, .htm can be imported into MRE.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
That's my understanding as well. MRE is limited to specific types of files. Pointing it to an application directory or webserver resource, as you have done, is probably the only way around it.

You would think that since you can create a swf files and flex reports, it would be able to use a swf file as well. Sounds like a new feature request to me.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Guru
posted Hide Post
Thanks guys. I agree. A New Feature Request in in order.

Cheers!


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Guru
posted Hide Post
The conversation in this thread got me thinking and I did come up with a way to call the .swf file from the OTHER folder inside the MRE Domain. The URL looks like...

h...s://hostname.com/ibi_apps/Controller?WORP_REQUEST_TYPE=WORP_LAUNCH_CGI&IBIMR_action=MR_RUN_FEX&IBIMR_domain=domain01/domain01.htm&IBIMR_fex=app/myFlash.swf&IBIMR_flags=none%2CisFex%3Dfalse%2CrunPowerPoint%3Dfalse&IBIMR_sub_action=MR_OTHER_SECTION&WORP_MRU=true&&WORP_MPV=az_gbv&


I like this method because now I can keep all the assets inside the domain rather than keeping some in the Application Directories.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report 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     [Workaround][NFR Submitted] Insert my own swf file into an HTML page on MRE

Copyright © 1996-2020 Information Builders