ExternalLink in KM which open portal Page in new window whithout masthead.
Hi All,
I have a requirement to create an external link which opens in new window and the content of the window is an Page which has iviews.
I created an external link and gave the following details.
Target: /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?NavigationTarget=pcd:portal_content/com.abc.Test_Page
Name: Test
When I click on the external link, it opens a new portal window which has the mast head and in the content area the page is displayed.
My requirement is : I don't want the masthead to appear and I want only the page to be displayed in the new window.
Thanks,
Shilpa.
Hi Krishna,
In the iview Property -> Launch in New Window, i have only 2 options ie
Display in Portal content Area
Display in New Window.
Where do I find display in seperate portal headerless window? Is it the customised one?
I have set Launch in New Window Property to Display in New Window. When i click on the link new window is opening which has masthed.
Please Suggest.
Thanks,
Shilpa.
Similar Messages
-
Issue: Opening the page in new window causing issues.
Hi All,
I have a page where in there are many PPR events implemented.
Apart from this i have content container region where in there are help links each of which is OALinkBean .
All these help links point to the same OAF page with different parameters.
I wanted to open these help links in different windows (as these would display some data to the user ie not transaction based)
for which i have set the destination property of the link bean saying :
OA.jsp?page=/oracle/apps/pos/reqform/mdm/webui/SARSMDMDisplayPG&RULE_ID={@RuleId}&retainAM=Y
and target frame to _blank to get it opened in new window.
Now,
when the page loads, it gets rendered fine along with the content container with help links in it.
When i click on the link, it will open the correspoding OAF page in new window. - fine upto this
On the main page, when i do any form submit, it is throwing me server side validation like "attribute xyz required in xyzVO".
This happens when ever i click on the link to open a new window.
Not sure if something needs to be handled to avoid doing this server side validations.
I have disabled server side validations too on the link bean.
I do have lot of events getting fired on the main page for the business requirements.
Please do let me know a solution to the same.
Thanks,
Sushma.Hi All.. I am also facing the similar issue... actually the second page is VO or EO has no relation with the mail PAGE.. Second page is completely independent... but issue is that whenever i do any operation in first page after open the 2nd page the VO of the main page is geting quried without any condition.... i have a search screen and after conducting search if i try to open the second page and do any operation in the main page the whole value from vo will be shown in the page...... that is causing multiple issues....
Plzz help as it is very urgent..... -
Hi,
I have created an iView and a Page to open in a new window and am getting a Portal Runtime Error (as shown below) when I click on the link in detail navigation. However surprisingly in the "Preview" and if I open the same iView in the portal content area, then everything works fine. What could be going wrong?
Thanks very much for the help.
Aniruddh
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
iView not found: pcd:portal_content/com.wyeth.folder.wyethcontent.folder_wyethcontent/com.wyeth.folder.developercontent.folder_developercontent/com.wyeth.Aniruddh/InsideWyeth_Desktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.contentarea.
Exception id: 11:10_16/12/05_0012_876763850
See the details for the exception ID in the log fileHi Anriruddh,
a page and an iView - where the iView is set on the page? One should be enough (the page)?! Try that.
Anyhow, the error message says that it cannot find the sap-contentarea within your structure. Double check if the path exists:
...InsideWyeth_Desktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.contentarea
In addition, check the default.trc for the exception ID, as it has been told you: "See the details for the exception ID in the log file".
Hope it helps
Detlev -
Opening OA page in new window with parameters
Hi all,
Hi need to open a new page in a new window with some parameters to be passed to that page.
Here is the code i have written.
But i am not sure how to pass parameter in java script string
String userid = new Integer(pageContext.getUserId()).toString();
OAButtonBean go = (OAButtonBean) webBean.findChildRecursive("go");
String url1 = "javascript:openWindow(top,'OA.jsp?page=/aos/oracle/apps/per/payslip/webui/AGSBPaySlipPG&userid={@userid}, null, {width:750, height:550},false, null, null);void(0);";
go.setDestination(url1);
Thanks,
Devanghi mani,
I didn't got wat u meant by binding the attribute.
I tried another way.
I had a OAButtonBean GO
I have 2 messagechoices one for month and another for year
So in page A in month it shows Jan in starting (till Dec) and in year it shows 2006 as per the picklist view attribute. Also I have attached the VO and view attribute for both the messagechoices.
Now in the setDestination of the GO button i have url of my pageB with retainAM=Y and target frame as _blank.
So i select "Oct" from messageChoice and year as 2006 and click GO but still when it goes to pageB and when i try System.out.println(<the view object attribute value>)
i get "Jan" instead of "Oct". Below is the code in pageB i am using to get the value of the month from VO
MonthVOImpl monthVO = (MonthVOImpl)pslip.getMonthVO();
//pslip is AM object
RowSetIterator monthrowsetiterator = monthVO.findRowSetIterator("monthvo");
if (monthrowsetiterator == null)
monthrowsetiterator = monthVO.createRowSetIterator("monthvo");
// monthrowsetiterator.reset(); I NEED TO COMMENT THIS OUT - RIGHT ??
MonthVORowImpl monthrow = (MonthVORowImpl)monthrowsetiterator.next();
String month = monthrow.getMonth().toString();
System.out.println(month);
So how do i resolve this issue. I thought that retaining the AM will take care of the value which i am selecting in the messagechoice in pageA.
Any ideaz??
Thanks,
Devang -
Open Dynamic Page in New Window after Submission
I need to open a "success" dynamic page in a new window when redirected from a form in Portal 9.0.4.1. The go('<url>'); method does not appear to allow opening the page in a new window. Is there a way to do this? Thanks, in advance.
on the 'Submit' onclick event add some JavaScript code:
this.form.target = '_blank'; -
Search iView which opens result in a new Window
Hi all,
I want to create a KM Search iView which opens the search result in a new window like in the search of the header of the portal! Does anybody know how to do this? I can't find any property in the Search Option Sets or Searchresult Layouts!
Regards,
AndreasHi,
You can try with this:
You can create a new com.sap.km.cm.basicsearch iview from template.
Then, edit it and one of its field is: Layout Set for Search Results, here you can specify your layout.
I mean, you can duplicate SearchResultLayoutSet standard layout set. (system administration->system configuration->km->cm->user interface->setting->layout.
After that, you modify its Resource Renderer. There you can see Target Window Type field (show advanced options), replace blank value by self ( The resource is opened in the same window)
http://help.sap.com/saphelp_nw2004s/helpdata/en/50/041142e862654ca98ced1607386c9c/frameset.htm
Patricio. -
Opening OA page in new window using Image Bean
Hi All,
We have a requirement to open a new window in one of our application. It is working when I use a link but I am not able to achieve the same functionality with an image bean. Is it possible to achieve this using an image bean?
Thanks in advance,
SundeepSundeep,
If you wanna use imagebean, you would have to attach action using bound values API and open secondary window in OAF.Here is the same ple code:
OAImageBean btn= (OAImageBean)webBean.findChildRecursive("<item id of image icon bean>");
//page url
String page1 = "/xx/oracle/apps/XX/webui/XXPg&retainAM=Y";
String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page1;
OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(btn,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+900+", height:"+500+"}, true); return false;");
btn.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);
I received your mail, and replied the same in the mail too.
--Mukul -
How do I open a page in new window using af:commandLink?
Hi,
I have a requirement where I need to open the page in a new window on clicking the af:commandLink.
I could use af:goLink, but I cannot as I have to invoke the URL using http POST method. If I use af:goLink, all the parameters will be displayed in the URL. I do not want that.
I have the below code for the commandLink:
<af:commandLink text="Open new window" id="cl199bk"
styleClass="AFRighColLinkText"
action="dialog:openNewWindow"
useWindow="true" windowHeight="400"
windowWidth="800" immediate="true"/>
When I click the commandLink, the page gets opened but in the same window. I have the below controlflow-case in my taskflow:
<control-flow-case id="__71">
<from-outcome id="__133">dialog:openNewWindow</from-outcome>
<to-activity-id id="__72">openNewWindow</to-activity-id>
</control-flow-case>
Please let me know what to do to have the page opened in new window/tab.
Thanks in advance!Hi Frank,
I tried that too and the page always opened in the same page even with dialog:action set and useWindow set to true. I had the navigation rule in adfc-config as well.
I got it done using the url-view activity.
I have created a new bounded task flow with the url-view activity as the default activity. I called this new task flow from the actionListener bean method on commandLink. Set the new task flow to url-invoke-allowed.
I have my parameters set in the url-view activity. With this the parameters are not shown in the URL.
That did the trick for me.
Thanks. -
Opening Dashboard Page in New Window While Passing Prompt Values
Hi,
Currently it is not possible to open a dashboard page in a new window AND have the prompt values from a prior page pass to this page. I see one or the other can be accomplished but not both. Is there a way this can be acheived somehow or is there a workaround for this?You are correct. The "Link or Image" object does not pass the dashboard prompt values, though it allows the destination dashboard to be opened up in a window.
Here is a workaround.
1) Place the link in a "Guided Nav. Link" object and set the destination dashboard and desired report. With the prompt set up correctly (i.e., dashboard scope, set to PV, destination report column filtered to receive the PV), the destination report will be filtered on the prompt as desired.
2) I noticed (and maybe this is why you wish the "new window"), there is no "return" link on the destination report. To fix this, in the destination dashboard, add a Text object to the dashboard. In the properties, paste the code below and make sure to check off "Contains HTML markup." This will produce a "Return" button on the dashboard.
<input type="button" value="Return" onclick="history.back();">
Now, when the user selects the prompt and clicks on the link, the prompt is passed to your second dashboard. When the user wishes to return, he/she can click on the "Return" button and return to the primary dashboard.
HTH, -
Won't open web page in new window
Ever since the 5.0 upgrade when I click on a tab to open in a new window firefox just opens a blank new window. This is driving me crazy. So if I have 5 tabs going and say I want to watch a youtube video on my other monitor while I'm doing something else, I right click on the tab and click on open in new window and i just get a blank window. So I have to copy and paste the address in the new blank window. I am about to switch to google chrome its very inconvenient.
Thanks!
Cindy JervisThere are some Flash objects on the web page.
* "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
After login close the login window and open home page in new window
Hi guys,
I want to go to a new window for the "home page" without browser back button etc. after login validation.
And also close the login window at the same time.
Here is the code I used after the login validation.
ExtendedRenderKitService erks =Service.getRenderKitService(FacesContext.getCurrentInstance(),ExtendedRenderKitService.class);
StringBuilder script = new StringBuilder();
script.append(" params = 'width='+screen.availWidth-10;\n" +
" params += ', height='+screen.availHeight-50;\n" +
" params += ', top=0, left=0'\n" +
" params += ', fullscreen=yes';\n" +
" params += ', scrollbars=1';\n" +
" params += ', resizable=1';\n" +
" params += ', status=1';\n" +
"window.close();\n" +
" newwin=window.open('home.jspx','xxxxxxxxx', params);\n" +
" if (window.focus) {newwin.focus()}");
erks.addScript(FacesContext.getCurrentInstance(), script.toString());
This successfully opens a new window. I want to close the current login window at the same time.
Please help me with this.
Regards !
Sameeraon the 'Submit' onclick event add some JavaScript code:
this.form.target = '_blank'; -
There are links on site that open in new windows and close after you are done. Like A review link/box. The window opens but it's a blank page and the url books just says "search bookmarks and history".
== This happened ==
Every time Firefox opened
== I changed a theme/Just before I upgraded firefoxDo you have that problem when running in the Firefox SafeMode?
[http://support.mozilla.com/en-US/kb/Safe+Mode]
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this:
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
Opening a new OAF page in New window have error
Hi OAF gurus,
I am trying to open a page in new window. It opens perfectly and all the functionality is also working. But I am getting some Java script error..
The code which I am using is...
StringBuffer l_buffer = new StringBuffer();
StringBuffer l_buffer1 = new StringBuffer();
l_buffer.append("javascript:mywin = openWindow(top, '");
l_buffer1.append("PGFile name with path");
l_buffer1.append("&DeliveryId=");
l_buffer1.append(deliveryId.toString());
l_buffer1.append("&retainAM=Y");
String url = "/OA_HTML/cabo/jsps/frameRedirect.jsp?redirect=/OA_HTML/OA.jsp&page="+l_buffer1.toString();
OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE);
String strUrl = popupUrl.createURL(pageContext);
l_buffer.append(strUrl.toString());
l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
Error message ....
Error: No such Interface Supported.
Could anyone please help me out in this.
Thanks
AnoopAnoop,
Without the profile change, i guess it is not possible to open new window, as MAC key validation will be imposed! You can read about these profile options from Metalink doc id:390203.1 and explain to your client side1
--Mukul -
Opening OA page in new java script window from ProcessRequest method
I wish to open new OA page in new java script window.
Code is
javascript:var help_win = window.open(strHelpDesk,'help_win',
'resizable=yes,scrollbars=yes,toolbar=yes,width=600,height=500'); help_win.focus();
strHelpDesk is the url of the requested new OA page .. How can we open that page in new window from processRequest .. I can't assign this code in pages's attribute ... The new Oa page should be opened whenever , control goes in Processrequest ... Do we have such command ? can we use pagecontext.redirectImmediately..or any other command ..
thx in advanceYes, you can, what you need to do is
add a raw text bean in your page.
Attach this raw text bean to a transient attribute (column) of VO
populate this column with your javascript function which will open a new window and inlcude its call here
now whenyour page will render and process request is called ur javascript function is triggered and a new window will be opened.I guess i am clear!
--Mukul -
Open Page in new window using hyper link
I put the window.open method on OnClick event of outputlink to open a page in new window, but the page is started in a old window.
How do I start the page in a new window.
My sintaxe of outputlink:
<h:outputLink binding="#{P0110.hyperlink1}" id="hyperlink1"
onclick="WindowObjectReference = window.open('about:blank', '','menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes');" value="http://www.sun.com/jscreator">
</h:outputLink>Hi,
Following are the steps to open a new window using the window.open method for the hyperlink component:
1. Drag and drop a hyperlink component onto the page
2. In the properties sheet go to the Value property and delete the value present there
3. Click on the ... button next to the onclick property
4. Enter the line of code given below:
window.open("http://www.yahoo.com","New window");
5. Save and run the project
On clicking on the hyperlink a new window will open with the www.yahoo.com page.
Hope this helps
Cheers
Giri :-)
Creator Team
Maybe you are looking for
-
How do I remove a device from my Apple ID?
I got a new iPhone 5c so I gave my old iPhone 4 to a friend, but I forgot to delete all the data from it, so it was still linked to my Apple ID. She told me she removed my ID from the phone but sometimes I get notifications on my own phone about her
-
FCE will not capture PAL footage
Hi, I'm trying to make a video for some English friends with footage they sent to me which is in PAL format. Normally I use HDV, so I changed the setting under "Easy Setup" to DV-PAL, but FCE will not let me capture it. The camera reads it and displa
-
I am from turkey and Iphone4 can be used Turkcell and vodafone(carriers) in turkey but i bought my iphone in usa and it only works with at&t.Is there anything i can do to use my iphone with turkcell or vodafone?
-
Queries related to Finance - SAP B1.
Hello everyone, 1) Can we have fund flow statement in SAP B1? Meaning of Fund Flow from Internet: THE FUNDS FLOW STATEMENT SHOWS HOW THE SOURCES OF FUNDS EQUAL THE USES OF FUNDS DURING THE PERIOD COVERED BY THE STATEMENT. 2) Can Amount be displayed i
-
How can i recall a sent message
How can I recall a sent message and opened already from the person who received the message. Thank you