cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Code for URL iView.. Please guide :)

Former Member
0 Likes
514

Hello All,

Need to create an application which consists of a drop-down list & URL iView.

Depending upon the URL mentioned in the drop downlist, that particular URL iView should open.

<i>Option</i> -> The Drop-down list may or may not be in 2 seperate iViews.

I also need to exhibit the Capture fnctionality while coding/showing the URL iViews.

I would appreciate if you please guide me to how should I proceed & with URL iView APIs.

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hello,

try this:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e4bbf0f9-0701-0010-6a8a-e8b...

(in IE !)

But as I think about it - it's not enough for you. That list of URLs is predefined or is loaded form DB?

My the use of iViews Events could help.

Regards

Tom

Message was edited by: Tomas Toth

Former Member
0 Likes

Hello All,

Please help me with this.....

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Former Member
0 Likes

Hello All,

Please guide me for this......

I really need to get this working.......

Or atleast please help me find the appropriate APIs for the same.

Ive searched a lot but did not find my required APIs.

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Message was edited by: Ritu Hunjan

Former Member
0 Likes

Hi Ritu,

How about you create a URL iView for each web page with the appropriate capture functionality.

Then you create a Java iView with your dropdown code. Now as the user selects an option from the dropdown you navigate to the appropriate iView using EPCF doNavigate.

I hope that this helps,

Patrick.

Former Member
0 Likes

Hi Patrick,

Firstly thank you for your reply.

Frankly speaking even Ive thought about this but then on other hand tomorrow if the client gives me a new URL, I will have to add it manually in the project.

Secondly, instead of this I can go for normal iView creation using Wizard directly in EP.

Comparatively, the second option looks more feasible.

But the client wants a more dynamic one.

Patrick, can you please help me confirm whether this dynamic feature is possible?

Awaiting Reply.

Thanks and Warm Regards,

Ritu

former_member192818
Active Participant
0 Likes

Ritu,

Split the webpage into two frames.

Frame1: Dropdown that you will dynamically populate. This will have to be coded using http://help.sap.com/saphelp_nw04/helpdata/en/09/9c0e41a346ef6fe10000000a1550b0/content.htm.

Next insert java script into your page so that when one of these links is selected, specifically the onChange event, the other frame gets refreshed with the webpage that you would like to have. This page gives a good example of onChange.

http://docs.sun.com/source/816-6408-10/checkbox.htm

Best.

Sumit.

Former Member
0 Likes

Hi Sumit,

Thanks for your answer.

My main requirement is to do the Capture (in URL iView)functionality dynamically.

In other words, from the entire Website I want to display a restricted/small portion of data instead of the entire webpage.

I searched a lot on SDN & net but did not find a way to do this....

Please guide me for the same.

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Former Member
0 Likes

Hi Ritu,

I assume you'll be coding a Java iView for the dropdown list, is that correct?

If so then instead of using the URL iView you can just use an IsolatedHTMLContainer UI element in this iView, displaying the appropriate URL each time the user selects something from the dropdown.

Or don't you want to use the IsolatedHTMLContainer, is there a specific reason why it must be a URL iView?

I hope this has helped some,

Patrick.

Former Member
0 Likes

Hi Patrick,

My main intention of using an URL iView is for the CAPTURE functionality.

I just do not want to show the entire site page but need to capture a table and show it to the user.

To give a demo to users I created URL iView using iView Wizard with Capture functionality and its accepted.

Now I need to execute the same more dynamically... meaning, user has option to select the URL from dropdown and onSelect, that particular CAPTURED table shud be displayed.

Please guide me to proceed with this........Plz...

Awaiting Reply.

Thanks and Warm Regards,

Ritu