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.
Using HTML Composer, I am creating a launch page and I can define a hyperlink using the following syntax (right from Developing Reporting Applications manual, page 117), and it works.
But what I really want to do is put a redirect to a FEX using Javascript like this: var varWindowStr = 'http://dcicorwf01/ibi_appsWFServlet?IBIF_ex=carfile_by_minsales';
window.location=varWindowStr;
It tells me the focexec procedure cannot be found.
What I want to accomplish is having a multi-select combo box with different procedures (reports) listed so the user can select one to many of them to run. I want to put the javascript logic behind the ONCLICK event to kick each selected report off.
I say all this in case anyone knows of a better way I should try to accomplish this (read: rookie HTML composer developer).This message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.9 Windows Server 2003
Posts: 23 | Location: Nashville | Registered: April 10, 2009
I am trying that with no luck, Ginny. But I need to maybe ask this: do I put the full drive and path of the dir, or just the Domain name, or "app"....I am not having luck with anything I am trying.
I think its the right suggestion though - telling it where to look for it.
Any additional advice?
WebFOCUS 7.6.9 Windows Server 2003
Posts: 23 | Location: Nashville | Registered: April 10, 2009
This IBIAPP_app variable that htmlcomposer puts in the form is just one of the input fields. Have you also looked at the other input fields created by the composer? It may be that you require some more parameters to pass on to webfocus when you're in mre. Looking at the code generated by the html composer could point you to a possible solution.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Thanks Ram/Ginny/GamP....I have been pulled away from this for now, but I will try your suggestion this afternoon and update this topic with my findings.
WebFOCUS 7.6.9 Windows Server 2003
Posts: 23 | Location: Nashville | Registered: April 10, 2009
I was referring to the report by name "carfile_by_minsales" but it's physical name is app\kzj1ebai.fex (not sure what that is all about). So I changed it to that. No luck.
Next I am going to try specifying IBIMR_domain, IBIMR_folder, IBIC_server in the URL too....
WebFOCUS 7.6.9 Windows Server 2003
Posts: 23 | Location: Nashville | Registered: April 10, 2009
If the procedure you are trying to find is within an MRE domain then there are several other variables that you need to get into the domain structure, including IBIMR_domain, IBIMR_folder, IBIMR_action, IBIMR_sub_action, IBIMR_drill, IBIMR_fex). If the procedure exists on the app path, you only need IBIF_ex parameter (and possibly IBIC_server and authentication parms).
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, 2007
Finally back to trying this out. To add a log to the fire, the report has one name but the physical name of the file is something different. I was hoping that was the issue...it was not.
Here is the string where I am at now. If anyone sees any brutal flaws, let me know. I appreciate it.
var varWindowStr = 'http://dcicorwf01/ibi_apps/WFServlet?IBIAPP_app=sandbox&ibic_server=EDASERVE&IBIMR_domain=sandboxk&IBIF_ex=app/kzj1ebai.fex';
WebFOCUS 7.6.9 Windows Server 2003
Posts: 23 | Location: Nashville | Registered: April 10, 2009
I'm supposing that the procedures are within the MRE environment, but you are still missing most of the required parameters as specified in my last post. You ARE correct that the physical name of the fex file is what needs to specified, not the "nice" report name that appears in MRE.
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, 2007
I referenced this code from a submit button on click event. But it could be referenced from your onclick event of the dropdown. CBO_Report references my dropdown so you would only need to change the name.
You would also have to change the domain and folder references.
WARNING: One thing that gave me fits was the way tha MRE handles (or doesn't handle) uppercase characters in object names. You can create a new FEX with upper case in the name and it will display in upper case. But if you look at the file name (preceded by app/) it has only lower case. Once I cleaned that up by using only lower case, everything worked like a dream.
UPDATE: I found that the code was opening a new window and closing my original HTML page. I resolved this by replacing location.href = url; with window.open(url,'_blank');This message has been edited. Last edited by: knegrotto,