cancel
Showing results for 
Search instead for 
Did you mean: 

need to submit this task tomorrow :((

Former Member
0 Kudos

Hi all,

could any one please help me as soon as possible. I need to submit this task tomorrow and am new to portals. I know how to create web templates, iViews etc.

but now, looks like I need to connect portal to ASP or XML or HTML (which ever is best..).

this is the task.

we need to have a page with 3 tabs (corresponds to 3 diferent iViews) on the left side of the page and when user clicks on the left tabs, corresponding iVIew should be displayed in the right side of the page.

I created 3 iViews and they are running fine individually. but now, i need to make hyperlinks to iViews...it'z some thing like this

Portal page should look like similar to this

=================================================================================

left page | right page

=================================================================================

tab1(view1) |

tab2(view2) | displays "View" depending on the selection in the left page

tab3(view3) |

=================================================================================

I greatly appreciate if you can advice me how to proceed and if possible with detailed steps as I need to submit this tomorrow.

I created an ASP / HTML page and wrote some coding so that when user clicks on the tabs, it goes to some link or url. this is for the left page.

but, now, how can i import that ASP / HTML file into portal and how can i map iViews to those tabs / links?

Where do i need to store the ASP /HTML files?

awaiting ur immediate help.

thanks

Veeru

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You need to link the iView on the left and the right using eventing. Its easy and not time taking.

Just go through the eventing samples provided with the PDK.

Regards,

Prasanna Krishnamurthy

Former Member
0 Kudos

Hi ,

i see that I need to use eventing. As am new to portals, I couldn't able to make Eventing work.

I looked at PDK demos of eventing at sdn.sap.com and came up with something like this

I created 2 Java iViews using iViewEditor and had put the 2 iViews in a Page.

left iView has got tabs which should pass the iView links to the right iView (right side page).

I am getting the following error. 'EPCM' is undefined"

even if EPCM works, i am not sure if the iVIew link path, i am passing is correct to be displayed in the right side. i stored iViews in a role and trying to use that link.

============

Sender Event

============

<script>

document.domain = 'domain.com';

function CallIView(pageID){

EPCM.raiseEvent('domain.events', 'CallIView', pageID);

}

function GoToIView(iView) {

window.alert("Go to iView: " + iView);

}

</script>

<A href="javascript:CallIView('/roles/PriceLists/nf/CustomerPriceLists/PriceLists_Page')">raising an event</A>

============

Receiver Event

============

<script language="javascript">

document.domain = 'domain.com';

if ((typeof EPCM) != 'undefined') {

EPCM.subscribeEvent('domain.events', 'CallIView', window, 'CallIView');

}

function CallIView(pageID){

var strURL;

document.frmPost("TEMPLATE_ID").value = pageID;

strURL = '<SAP_BW_URL>';

window.navigate(strURL);

}

</script>

I am very much thankful if any one can help me to solve this issue as I got to submit this immediately. I appreciate if anyone give me a chance to talk to you to look at complete code and discuss more in detail so that I make sure that what am asking is making some sense in this forum.

awaiting your urgent help.

thanks