Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to show Panels Loading when they are waiting for Foccache to Run
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] How to show Panels Loading when they are waiting for Foccache to Run
 Login/Join
 
Platinum Member
posted
Hello,

I have a Portal where I run a foccache file in the background and then my panels pull data from there once the foccache query runs. My problem now is that I want to still show that things are loading while the foccache is loading.

Has anyone run into this before? I want to show some type of splash frame loading page or something when my foccache file is running. I thought about getting creative with an html page but don't know what can be feasible. I know how to use role=dialog to expand a drop-down box past a portal frame e.g. role=dialog width:320px. I'm curious if there's a way to expand an iframe in an html composer page in the same way.

Any suggestions welcome.

Thanks in advance!

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 135 | Registered: July 10, 2018Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Nm, I figured out another solution. I found a gif, created a dummy table file and embedded it in HTML code. I'll display this until the foccache runs and I'll pass a parameter to the code to refresh the tile and display data.

 -DEFAULTH &&WFEMPLOYERID = '_FOC_NULL';
-DEFAULTH &&WFPRODNAME = '_FOC_NULL';

TABLE FILE _ADM_STAR
SUM
	COMPUTE Commercial/A20 = _ADM_STAR.EMPLOYER.CLIENTTYPE; AS ''
ON TABLE HOLD AS HLD FORMAT HTMTABLE
ON TABLE SET AUTOFIT ON
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
-*TOPMARGIN=0.1, BOTTOMMARGIN=-5, LEFTMARGIN=-1,$
TYPE=DATA, COLUMN=Commercial, JUSTIFY=CENTER, IMAGE=IBFS:/WFC/Repository/CM_Performance/Common_Content/Preloader_2.gif, SIZE=(.6 .6),$
TYPE=DATA, BORDER=OFF,$
ENDSTYLE
END

-HTMLFORM BEGIN
<html>
<head>
    <style>
        html, body, .container {
    height: 100%;
}

.container {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}
    </style>
    <script src="/scripts/snippet-javascript-console.min.js?v=1"></script>
</head>
<body>
    <div class="container"> 
<TABLE ID=FIRST >
!IBI.FIL.HLD;
</TABLE>
</div>
    <script type="text/javascript">
        
    </script>
</body>
</html>
-HTMLFORM END 


WebFOCUS 8204
 
Posts: 135 | Registered: July 10, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to show Panels Loading when they are waiting for Foccache to Run

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.