Warren Hinchliffe Posted September 21, 2021 Share Posted September 21, 2021 Should be the same method. But do you need to log into WebFOCUS to run it Link to comment Share on other sites More sharing options...
Douglas Lee 2 Posted September 21, 2021 Share Posted September 21, 2021 Try This: TABLE FILE (FILENAME) PRINT SUM Whatever ON TABLE HOLD AS MyReport FORMAT HTMTABLE (Insert SS Here) END -RUN HTMLFORM BEGIN -* HTML code to produce the final display) !IBI.FIL.MyReport; HTMLFORM END Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted September 21, 2021 Author Share Posted September 21, 2021 I was just playing around with embedding a fex into a web page using iframe. I got this to work: <iframe style="height:200px; width:400px; border:none" src="https://www.banbuck.mtu.edu/ibi_apps/run.bipBIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS://WFC/Repository/Public/embed_test&BIP_item=car_sales_by_country_pie_small.fex"></iframe> But when I tried the same approach to embed an htm page created using AppStudio that runs the above fex, I get a pop up message stating that fex does not exist. <iframe style="height:200px; width:400px; border:none" src="https://www.banbuck.mtu.edu/ibi_apps/run.bipBIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS://WFC/Repository/Public/embed_test&BIP_item=car_sales_by_country.htm"></iframe> Is there a method similar to above that can be used to display an AppStudio generated htm page Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted September 22, 2021 Author Share Posted September 22, 2021 Forgot to mention that this repo folder called Public has security set to Everyone. So, in my mind, should not require a login. I thought it would be the same method but I could not find documentation on BIP_REQUEST_TYPE to see if there are other functions or methods that I should be using with htm files. Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted September 22, 2021 Share Posted September 22, 2021 We have had many issues with public. We had to turn on anonymous and that caused no end of problems. If you work out how to use it, please let me know. It gives me a headache. Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted September 23, 2021 Author Share Posted September 23, 2021 Playing around with this some more just now. What I did is create a new fex that includes the htm page that I built with AppStudio: -HTMLFORM BEGIN -INCLUDE IBFS:/WFC/Repository/Public/embed_test/car_sales_by_country.htm -HTMLFORM END Then in the external web page, I called this fex using the methodology posted in the first post. And this worked perfectly. Not sure of pro/con of going down this road but perhaps this is an option. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 23, 2021 Share Posted September 23, 2021 Todd I think that is the best way to do it. Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted September 24, 2021 Author Share Posted September 24, 2021 Chuck, So running a individual fex and an html page works well from an external web page. Would you happen to know if there is an equivalent run.bip command for embedding a portal object Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 24, 2021 Share Posted September 24, 2021 I am sorry but I have not tried that Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now