on 05-17-2006 6:41 AM
Hi,
I have two iViews with some button on the first iView & a requires to show the BW reports in the bottom iView. Am using EPCF Navigation api for the same. But when i click the button the entire page is refreshed with the BW report. The code is as below
function consumerHandler(event){
if(event.dataObject == 'salesover'){
EPCM.doNavigate('ROLES://portal_content/unni_work/iView/SalesOverview1');
}
else {
EPCM.doNavigate('ROLES://portal_content/unni_work/iView/SalesByRepresntative');
}
}
Please advise
Hi Unni,
Try this, Change the Load properties of iViews to URL in property editor and then perform the action. If the load property of iview is URL iView will act as a separate browser and only iView will refresh not the whole page.
If this help then please award points.
--Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u use EPCF Navigation directly in the first iView, it will refresh the whole page only. Try raising an event from the first iView and subscribe the event in the second iView. In the subscribe code, load the BW report.
Hope this helps.
Regards,
Harini S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
well i am doing like tht itself, please see the code below
<b>Subscribe Code</b>
EPCM.subscribeEvent("urn:com.sapportals.training.portal.EpcfProducer","ClickEvent", consumerHandler);
function consumerHandler(event){
//resultform.result.value = event.dataObject;
if(event.dataObject == 'salesover'){
EPCM.doNavigate('ROLES://portal_content/unni_work/iView/SalesOverview1');
}
else {
EPCM.doNavigate('ROLES://portal_content/unni_work/iView/SalesByRepresntative');
}
}
<b>Producer code</b>
function buttonClick(data) {
EPCM.raiseEvent ("urn:com.sapportals.training.portal.EpcfProducer", "ClickEvent", data);
}
Note: the iveiws am calling within doNavigate are URL iViews
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.