Focal Point
[SOLVED] WF8 Another Change -- How do I put InfoAssist into a BID Dashboard Tab?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8857039966

April 01, 2014, 12:17 PM
John_Edwards
[SOLVED] WF8 Another Change -- How do I put InfoAssist into a BID Dashboard Tab?
There used to be a button with the option to put InfoAssist into a BID Dashboard tab. Is that gone in WF8? I don't see how to do that anymore.

This message has been edited. Last edited by: John_Edwards,



April 11, 2014, 02:41 AM
SWES
John, could you explain me how you did this previously?


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
April 11, 2014, 11:13 AM
Mighty Max
I found this example for launching InfoAssist for Self-Service and modified it for launching inside the portal.
TECHNIQUE: How to launch InfoAssist in WebFOCUS 8 from an URL
The example basically signs on into the portal and launches InfoAssist.
I removed the sign on part because the fex will be launched from the portal so you should be already signed in.

Steps to create the page
1. Create a New Page
2. Make the layout of the page to be one column
3. Make the width of the column auto
4. Make the padding of the column 5px Same for All
5. Insert the fex file that launches InfoAssist
6. Make the Height of the panel auto and Hide Title Bar

Fex that launches InfoAssist
  
-* File infoassist.fex

-DEFAULT &TAPPS = 'ibisamp'

-HTMLFORM BEGIN
<html>
<head>
<title>InfoAssist</title>
<script type="text/javascript">

function callAssist() {
   TAPPS='&TAPPS';

   if(TAPPS == ' ') {
      TAPPS = '';
   }

   var rand_num = Math.floor((Math.random()*100000));
   Assist='/ibi_apps/startSessionWithGet.vxl?is508=false'+ '&' +
          'ibfsObjectHandle=000000000004' + '&' +
          'type=folder' + '&' +
          'mode=ppQB' + '&' +
          'invocationType=1' + '&' +
          'themeName=Silver' + '&' +
          'startToolInType=Report' + '&' +
          'IABasic=false' + '&' +
          'reportingServerAppPath=' + TAPPS + '&' +
          'BIDrand=' + rand_num;
   document.getElementById('cgiframe0').src = Assist;
}
</script>
<style type="text/css">
body, html
{
   margin: 0; padding: 0; height: 100%; overflow: hidden;
}
</style>
</head>
<body onload="callAssist()">
<iframe name="cgiframe0" id="cgiframe0" src="" width="100%" height="100%" frameborder="0"></iframe>
</body>
</html>
-HTMLFORM END

Screenshot of Portal



WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
May 08, 2014, 09:28 AM
John_Edwards
quote:
Originally posted by SWES:
John, could you explain me how you did this previously?


You know, I'm at a client on 7.7 today and I had a devil of a time finding this a second time. I have InfoAssist in dashboards here now. I created a block, added a tree view. That provides access to the domain tree that provides InfoAssist objects. To make sure that I confused myself I named it InfoAssist so that it looked like I had pushed a button to add it like a Library or Deferred Status page.

I will need to wait until Monday when I'm back at the 8.0 client to see if that is still business as usual in version 8. I suspect it is, and I had just been too clever by half and confused myself.

That was a heck of a good question by the way, I'm glad you asked. It got me to deciphering what I had done in the past.

J.



May 08, 2014, 10:13 AM
diogopc
Thanks for the share MightyMax, I'm going to try it myself!


WebFOCUS App Studio 8103
Windows7
All outputs
October 08, 2014, 03:01 PM
TomS.
So, I gave this a shot and I'm almost there. I'm getting the following error via an InfoAssist popup alert.

Code: 1103 Type: xFDMinit
Invalid Path(empty)
Code:-1 Type: xFDMinit
Invalid Path(empty)


WebFOCUS 8.0.07 and 8.2.01M
UNIX, WINDOWS, ORACLE
PDF, CSV, Excel, TXT, XML, HTML
June 09, 2015, 07:03 PM
Heidi.jensen
I ran this and I get an error.

Code: 1117 Type: xFDMinit
Item does not exist IBFS:/WFC/000000000004

Code: -1 Type: xFDMinit
Item does not exit IBFS:/WFC/000000000004


WebFOCUS 7.6
Windows, All Outputs