Open url in the same window.
Hello,
How can I open a new window (e.g. url to sap transaction) but in the same application window?
I am using window manager in order to open the window but is there a function for opening the window not as external window?
Thanks.
Regards,
Shimon.
Hi,
Yes it is possible., You have to create Exit Plug to achieve this:
check this article for Ref: [Using Exit Plug in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0018077-f0c9-2b10-87af-eb9bb40776d4?quicklink=index&overridelayout=true]
hope this helps u.,
Thanks & Regards,
Kiran
Similar Messages
-
Opening URL in the same window
Hello,
I have a webdynpro Java Application which is opened on the click of the iview which is created for it.....now i want to specify a URL for it which should open it in the same window.....rather than an external window.....how can i achieve the same...? how can i specify the URL in the Default Plug (event handler) of the Interface View Controller.....so that it opens up...
Any help would be highly appreciated...
Regards,
ShikhilHi Shikil,
use this
String navigateto="ROLES://portal_content/";
WDPortalNavigation.navigateAbsolute(
navigateto,
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
(String)null);
navigateto is the pcd of your iview.
thanks,pkv -
Opening .pdfs in the same window/tab.
I look at a lot of .pdfs (Journal Articles) in my browse. Generally, I only download a fraction of the ones I look at. Recently, Firefox has stopped opening .pdfs in the same window/tab. Instead, it prompts me to download every .pdf I want to look at. I then have to save them, open them on my desktop, look at them, and then delete the ones I do not want to keep. Does anyone know how to get Firefox 10.0.2 to start opening .pdfs in the same window/tab again?
Adobe PDF Reader is not on your list of Plug-ins submitted with your question (click on "More system details" to the right of your original question). If it is disabled on the Plug-ins list (''Add-ons > Plugins''), click "Enable". If it is not installed on your system (in your Programs folder), then download the installer and run the installer after it is saved to your hard drive (install with Firefox closed).
*See --> [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox] ('''''NOTE:''''' un-check any items on the Adobe download page that you do not want installed on your system)
*Also see --> [https://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
*Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
*'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
*Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
*Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
*'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
Hi,
My objective is to open a URL when i click on a webdynpro iView in the same window.
I created a outbound plug in the InterfaceViewController.
And wrote this piece of code in wdDoBeforeNavigation() in Component controller.
wdThis.wdGetExternalComponentInterfaceViewController().wdFirePlugGoToUrl(Url);
Where "Url" is a string variable contaning the value.
But when i run this piece of sode it gives exception
"Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!"
So what should i do solve this problem
Regards,
PareshHI,
Procudere to create the LogoffURL
In the Application properties add your URL name.
LogoffURL = http:
www.google.com
1. Define an exit plug in the interface view of your Web Dynpro component:
a. Enter a name and check the checkbox Exit Plug.
b. Enter the name Url for the parameter and select string as the type.
This parameter is case-sensitive and must be entered exactly this way.
2. In your view, define the action Exit and add the event handler onActionExit().
3. In the view layout, define a button and bind its onAction event to the Exit action.
4. In your view, define the use of the interface view controller of your Web Dynpro component under Properties.
5. Insert the following code in this method of the implementation:
String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
OR Do u need to generate the URL by using the application?
Thanks,
Lohi. -
Hello,
i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?
data:
lt_parameters TYPE TIHTTPNVP,
ls_url type string,
lo_window_manager type ref to if_wd_window_manager,
lo_api_component type ref to if_wd_component,
lo_window type ref to if_wd_window.
CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
EXPORTING
bsp_application = 'ZHRMPBA004'
bsp_start_page = 'ZHRMPBPTI006.htm'
bsp_start_parameters = lt_parameters
IMPORTING
abs_url = ls_url.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->CREATE_external_WINDOW
EXPORTING URL = ls_url
RECEIVING WINDOW = lo_window.
lo_window->open( ).
thanks for replaysYou are calling CREATE_external_WINDOW. That API is designed to open the application in a new window. So that isn't appropriate for what you want. If you want to navigate in place then you should use an Exit Navigation Plug.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm -
Open Url iView in same window but full screen
Hi ,
I have a requirement where i need to open the url iview in the same window but in fullscreen mode.
Also for eg if the url is www.google.com ,then the iview should look similar in terms of size as opened in the normal IE browser.Also the url on the portal should change to www.google.com and not http://servername:portnumber/...
Can you please help me in doing so.
Regards,
Preetihi,
maybe some text as url [ggpage|http://www.google.com] is what u need, not url view
A URL iView is a collection of meta attributes, one of which is the URL to the information source (see )Selecting the Source URL). A built-in browser available in the URL iView Wizard and Editor enables you to navigate easily within a Web site in order to retrieve the URL of the source Web page to display in the iView.
last word: " in the iView" -
Launching the URL in the same window
I have a view with some data and couple of buttons. When i click on a button, an url has to be opened in the same window.
For that, i have defined an exit plug at the window with an optional url parameter and the on action of the button click, i am firing the window exit plug by passing the url value in the parameter.
When i click on that button i got the exception like " URL parameters specified for an exit or suspend plug, but no URL specified
Can anyone suggest ?Hi,
If ur launching URL of other Web Dynpro Component,
U can do this way... For example Comp-A and Comp-B ( URL)
Emdeb the Comp-B in Comp-A by using component usages.
1.In the view of Comp-A..suppose iam having a Button.Place a View Container in the same View
2. Create an out bound Plug For View of Comp-A.
Go To Window OF Comp-A.
1 . Right Click to Embed,u will find the Comp-B's interface View , embed that one into View Container of the Comp-A
2 .Maintain Navigatin Link From Out-Bound Plug Of the View to Default Plug of the Comp-B's interface View .
ON Action Of the Button.Fire that out Bound Plug of the view
Thanks & Regards,
Naga Prakash -
How do I make my page links open up within the same window?
I am completely stumped. By default for some reason, every single link I have on all my pages opens up in an external window rather than within the same window. I can't find anywhere to turn this off. I have my hyperlinks open to my other pages not an external page. Please help!
Are these text based hyperlinks that you created? If so then go to the Inspector/Link/Hyperlink pane and make sure the checkbox to Open link in new window is unchecked.
Click to view full size
What's the URL of your site so we can examine it first hand?
OT -
Anyone know how open slideshow in the same window?
Does anyone know how to make the slideshow open in the same window as the as the site instead of a new window? I'm looking for the location and code that would make it happen on a .mac site.
Yes, of course, you can do this! You just have to know the address for the slideshow page directly....
http://web.mac.com/username/iWeb/sitename/photopagename_files/slideshow.html
username = your .Mac username
sitename = your site name
photopagename = whatever you named your photo template page
Example:
http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html
Once you find this URL, then all you have to do to get it to appear as part of your page is to specify an iframe tag with the URL...
<iframe src="http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html" width="980" height="760" scrolling="no" border="0" style="border:none;" frameborder="0"></iframe>
This is the little bit of code that you will need to insert into your iWeb pages in order to make the slideshow appear "inside" a frame on the page. Just change the underlined URL to your own slideshow URL.
To prepare the page in iWeb, you'll need to make a textbox on a page that is 980x760 in dimension (you'll need to adjust the default width of the page). Then type in some placeholder text, like "SLIDESHOWHERE". Publish the page. Then go into your iDisk/Web/Sites/iWeb/sitename folder and find the pagename.html file. Open it with TextEdit (make sure to tell TextEdit to "ignore rich text format"). Then find the part of the code where your placeholder text is. Replace the placeholder text with the iframes code. Then save your work.
When you check your page in Safari, you should see the slideshow appear inside the page exactly where you positioned the textbox in iWeb. -
How do I set Firefox to open items in the same window instead of a new tab or window?
I want to be able to open items (such as click on the results of a search) and not have it open in a new tab or window, just open in the same window (as the search results).
See:
*http://kb.mozillazine.org/browser.link.open_newwindow
*1: current tab; 2:new window; 3:new tab;
For links opened via JavaScript you can look at this pref:
*http://kb.mozillazine.org/browser.link.open_newwindow.restriction
You can open the <b>about:config</b> page via the location/address bar.
You can accept the warning and click "I'll be careful" to continue.
*http://kb.mozillazine.org/about:config -
hello,
is it possible to open an subvi in the same window like the main vi?
for example, if i open a vi by a button click the vi opens in a new window.
in some cases it will be better that the subvi is shown in an specfied area on the frontpanel of the vi.
markusHi Markus
Yes this is possible. Use the SubPanel-Control. To learn about it, have a look at the examples. There's a nice one (viewer.vi).
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer... -
How to open BSP in the same window of WD?
Hi,
I have a WD that I would like to link to a BSP.
I added a link and put the relative path to the BSP.
Once I click on that link, the BSP is opened in a new window.
I want the BSP to open in the same window, replacing the WD.
I tried putting in the TARGET of the link: '_self', frame name and more but it does not work.
(BTW, I am trying to call SRMSUS BSP).
Any ideas?
Thanks,
ItayYou need to use an Exit Navigation Plug instead:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm -
Opening Roles in the same Window?
Hi All,
I have installed ESS for a user. The particular role is displayed for the user too.
But what happens is that...whenever the user clicks on the underlying worksets, a new window is coming,
I want to get the opened in the same window......what property of the role to be changed for that.....or does it involves any change in iView or the page level?
Please share if anyone had solved the same problem.
helpful answers would be rewarded.
Regards
Arun Jacob.Sorry, Work Protect Mode is against the User.... not the iView.
Click the personalize link (in the masthead of your portal) - > work protect mode.
1. protect unsaved data
2.choose action in popup on unsaved data
3. discard unsaved data.
you want to select 3 and restart the browser. -
Opening URL application in same window without using plugs.
Hi,
I am working on ESS and MSS.
When user click on a button , an application has to open in the same window. As it is standard application I do not want to create plugs in the windows.
Please let me know is it possible or not. If yes please give me suggestions.
If it is not possible please suggest me how to do it with plugs.
Regards,
sarath.
Edited by: sarath kumar on Feb 18, 2010 4:51 PMHi Sarath,
For navigation Inplace ( i.e in same window ) you can use launchpad customizing.
Search for FPM cookbook in the net and you will know how to do launchpad customizig ( Transaction LPD_CUST ).
When you configure launchpad then in Advanced paramters under the group potal parameters you have option of choosing Navigation Mode as Inplace.
Regards
Manas Dua -
HTML presentation how to open url on the same page
I have a presentation in keynote that I exported in HTML; it works no problem.
What I want to do is to open a url embedded in the presentation on the same browser window, and not in a new tab so I can go back to the presentation with the browser point.
Help please!!!I was wondering if there's an edit tom insert the "_self" command for links
place a shape on the slide to act as a button
right click the shape and select > add link
from the add link to dropdown menu: select web page
type in the URL
click open to test the link
Maybe you are looking for
-
Windows 8.1 Installed now I received a Fatal Device Hardware Error
Windows 8.1 kept popping up to install update. I would refuse it. Then recently it updated itself. After that, i noticed it took a little longer for my laptop to boot. It would show a blue screen for a little bit then it would boot. Yesterday, I
-
Change the Show View Options' "All windows" default to "This window only"?
By default, all Show View Options panes are set to "All windows". Is it possible to change the default to "This window only"? I regularly change icon sizes for various folders, but never for all windows. So every time that I use the Show View Options
-
All dates in iMail and iBank are showing 05-01-12
All dates in iMail have reverted to 05-01-12? I then opened iBank and the same there, 05-01-12? Any ideas, or solutions? Laurie
-
Is it true I need to have a computer with new OS in order to get an iPhone? With a Blackberry I don't need to even have a computer at all, it just gets my email from my ISP webmail and never has to synch. What if I didn't care about using the iTunes
-
Hi, I have a Muvo2 MP3 Player .5GB, Model No DAP-CS000 It's showing Only [999Mb] I have many Mp3 Tracks! :robotsad: