Bajr Prakash Singh Posted September 12 Share Posted September 12 Hi All, We have migrated from WF 8105 to WF 9.1.2. Previously the onmousehover function for text having path for an html, was working fine when user hover overed the text and it showed the HTML. But the same text when user hover overs in WF 9.1.2 shows "Requested Resource was not found in this application /ibi_apps/ibi_html/publish/text/filename.htm error". JS function where report is being called: "function text56_onmouseover(ctrl) { my_window=window.open('ibi_html/publish/text/filename.htm','my_window','width=400,height=200,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=1,left=60,top=500');" I believe there was a setting in Admin Console->Application Settings which would have fixed the issue. But I don't remember the setting and not sure if that feature has changed in WF 9. Does anyone know about this issue? Thanks in Advance. Link to comment Share on other sites More sharing options...
David Beagan Posted September 12 Share Posted September 12 Maybe a forward slash in front of the ibi_html my_window=window.open('/ibi_html/publish/text/filename.htm','my_window','width=400,height=200,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=1,left=60,top=500'); Link to comment Share on other sites More sharing options...
Bajr Prakash Singh Posted September 13 Author Share Posted September 13 Hi @David Beagan , based on your response I tried to add the forward slash in front of ibi_html, but instead of showing the html file, it took me to my login page of application and the URL was changed as below: https://company.com/ibi_html/publish/text/filename.htm When forward slash is removed and we get the 404 error, the URL changes as below: https://company.com/ibi_apps/ibi_html/publish/text/filename.htm - this is same URL which correctly showed the requested HTML file in our 8105 version of WF. Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted September 13 Share Posted September 13 Which file re you trying to reference here? 1 Link to comment Share on other sites More sharing options...
Bajr Prakash Singh Posted September 16 Author Share Posted September 16 @Patrick Huebgen, I am trying to reference filename.htm file as mentioned in below line my_window=window.open('ibi_html/publish/text/filename.htm','my_window','width=400,height=200,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=1,left=60,top=500'); Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted September 16 Share Posted September 16 @Bajr Prakash Singh I'm not sure which file you are referring to via 'ibi_html/publish/text/filename.htm". Is filename.htm a custom file that you are creating? There's was a change in recent version with ibi_html - the way this folder is stored/provided. Regards Patrick Link to comment Share on other sites More sharing options...
Bajr Prakash Singh Posted September 17 Author Share Posted September 17 @Patrick Huebgen, Is filename.htm a custom file that you are creating? - Yes. There's was a change in recent version with ibi_html - the way this folder is stored/provided - okay, do you any resource that I can refer for this change? Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted September 17 Share Posted September 17 @Bajr Prakash Singh ibi_html is now a .jar file not a folder anymore. You can extract the .war add the file and repackage it but for any custom file I would rather recommend to use a folder mapped in Tomcat. The jar file trick is not recommended and would require you to repeat this step after any update. You can create your own folder mapping in in Tomcat and continue to use this or you can put the file into WebFOCUS repository and create a link for this file. The URL depends on the solution you choose . Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted September 17 Share Posted September 17 For the .jar file customization you can check - but again not recommended Link to comment Share on other sites More sharing options...
Solution Bajr Prakash Singh Posted September 25 Author Solution Share Posted September 25 Hi @Patrick Huebgen, Thanks for you response. I was able to fix the issue without making any config change. I just called relevant file using below URL: my_window=window.open('/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/Template&BIP_item=filename.htm','my_window','width=400,height=200,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=1,left=60,top=500'); 3 Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted September 26 Share Posted September 26 @Bajr Prakash Singh That is what I'm using here as well and what is recommended to do - great to see you that you were able to fix it. 1 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