tag:blogger.com,1999:blog-1068732058356552569.post5968377583861110457..comments2024-03-27T10:44:06.730-04:00Comments on Sasank's PeopleSoft Log: Adding Custom Links to Action Menu using DoURLWarning JavaScript FunctionSasank Vemanahttp://www.blogger.com/profile/02333709266758184602noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1068732058356552569.post-77671358231413665932024-02-12T09:02:55.631-05:002024-02-12T09:02:55.631-05:00Hello Sasank,
I tried this in PT8.60 and it works...Hello Sasank,<br /><br />I tried this in PT8.60 and it works, but only on PSC portal pages. I tried adding a button to the PT_HEADER_ACTION page (the action menu) and it does work initially, but every time a user navigates to a PSP page (mostly anyone of the classic PIA pages/components), the button disappears. When navigating back to a PSC pages, the custom button re-appears...<br /><br />Any suggestions?Ysbrand Wolfshttps://www.blogger.com/profile/00761639954376175643noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-40828132553457212072020-02-05T16:58:09.199-05:002020-02-05T16:58:09.199-05:00Hi Sasank, this does not appear to work with tools...Hi Sasank, this does not appear to work with tools 8.57 or rather it does work but always pulls the first item on the Nav collection for the new window.Anonymoushttps://www.blogger.com/profile/07594619856565669070noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-2530649986271888862018-06-07T10:40:19.373-04:002018-06-07T10:40:19.373-04:00Hi Sasank,
I have actually run into an additional ...Hi Sasank,<br />I have actually run into an additional issue. It appears to be related to passing of Query Strings. Oracle uses what I call a Navigation Landing Page method with their delivered Self Service Tiles. The initial link is to a Start Page component which has parameters that control the Navigation Collection to load into tabs and the adjusts for SFF and LFF. If you go to the Profile tile for instance and try the New Window menu item, you get a page of XML code. The URL is built for the page associated with the tab versus the original start page and there is a series of extra query strings (e.g. "&ICAJAX=1&ICMDTarget=start&ICPanelControlStyle=%20pst_side1-fixed%20pst_panel-mode%20". If I strip off those extra values, the base component opens outside of the Nav Collection style motif created by their landing page. Ideally, I would think I would want the start page to be used for the new Window, but apparently is not available in this mode. The other option I'm considering is forcing the new fluid window to the home page. I would be interested to know your thoughts on the subject.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-48496100124602816862018-06-06T16:47:20.885-04:002018-06-06T16:47:20.885-04:00Hi Sasank,
This is great, thank you. I've also...Hi Sasank,<br />This is great, thank you. I've also been trying to get an internal link from a fluid page to open in a new window but it seems that no longer works either. I need to go to a classic page passing current data but no matter the setting it opens in the current window. Anonymoushttps://www.blogger.com/profile/08744862521129904441noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-59002405659735824582018-05-21T07:57:26.305-04:002018-05-21T07:57:26.305-04:00@MMiszewski - Good catch. I updated the PeopleCode...@MMiszewski - Good catch. I updated the PeopleCode to use onclick instead of href in the JavaScriptEvents value. This seems to fix the issue which you reported. I also updated the PeopleCode screenshot and GitHub gist to reflect this change.<br /><br />Let me know if you run into any issues with the updated code.Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-10592884958479029772018-05-16T20:36:19.525-04:002018-05-16T20:36:19.525-04:00Hi Sasank...
I noticed the same thing and had not ...Hi Sasank...<br />I noticed the same thing and had not taken the time to investigate. I tried implementing your revision and while it opens the new window properly, it seems to destroy the original window. My original tab still has the same URL, but the page goes to a blank page with [object] on it in the upper left. Any clue what could be causing that?<br /><br />Oh, and this seems to be an issue with IE and Firefox, but not chrome. We're running IE 11.0.9600.18977. Firefox actually changes the URL on the original page to the javascript command and leaves a [object Window] message on the page itself.Anonymousnoreply@blogger.com