A blog containing development tips I have learned through the years as a PeopleSoft developer.
The code for my new book PeopleSoft PeopleTools Tips & Techniques is now available. There is a download link on the book's McGraw Hill page. Look for the Downloads section. Enjoy!
Hi Sir On chapter 5 on Iscript , I have a question . In some organization , Employee doesn't have access for direct access for URL server and it is routed through proxy server . Just wondering , how can we handle this situation ?
Hi Sir I have a question chapter 5 iscript , some org doesn't allow to access direct webservr and alll request are routed through a proxy server . I am just wondering , how can we generate ISCRIPT URL than ?
@Neeraj, the GenerateScriptContent and GenerateScriptPortal URL will generate an iScript URL according to your web profile and/or node configuration or even the incoming request information (if the other information isn't configured). Generally speaking, with a reverse proxy, you will set the reverse proxy server information in your web profile.Essentially, iScript access through a proxy is no different from regular page/component access. If your users can access PeopleSoft pages, then they will be able to access iScripts.
Jim,This is an LDAP question.I am trying to connect to ldap to retrieve the groups a dn is associated with.In an LDAP explorer tool, for a specific user, I I see multiple entries of 'memberof' attribute.However, when I loop thru the attributes of the user , ( for some reason, the code is retrieving only one memberof attributes ) for the user. It almost seems that the current implementation supports only one attribute name per user.Consequently, I have to fire another query to get all the groups for the dn. ( An extra ldap call, which I would like to avoid )Is this the expected behaviour or can something be done to avoid the extra LDAP call ?Thanks.
Hi Jim,I have a question with regards to the mobile application.We have a component that is based on the approval component. I created a CI out of this component and then a webservice (that's the easy bit).The component has quite a bit of peoplecode especially with buttons like approve, deny and pushback. Those 3 buttons plus some fields need to be displayed on the BB so managers can approve etc. on their BB if need be.I was hoping I'd find a solution in your book but unfortunately, I couldn't. I have followed your walkthrough with the mobile application successfully but this CI/Webservice is slightly different as we don't really need a search page. Could you give me just a bit of a hint as to how to go about it without having to code everything within the JDeveloper? Or have I missed it in the book?Will I have to create a service, message and service operation? And then a webservice? Your help is appreciated. Oh, I know Java and am quite good with Integration Broker.Jane
Hi Jim, a wonderful book indeed.In Chapter 06, where you explain making the bookmarklet using the regexp match, I feel it is better to use "window.location.pathname.match" instead of window.frames. I understand that the intention of starting the trace is when you are on a page. But yeah, the first statement would enable you to trigger the trace from anywhere
@Manoj, this is a difficult issue. Neither the window.frames["TargetContent"] approach or the window.location approach capture all possible situations. Here are the possibilities:1) window.location and window.frames["TargetContent"] point to the same PeopleSoft system (stand alone install)2) window.location and window.frames["TargetContent"] point to separate systems (Enterprise Portal install)3) window.location does not have frames and content comes from the same PeopleSoft system (no frames CREF template)4) window.location does not have frames and content comes from a separate PeopleSoft system (no frames CREF template)5) window.location has frames, but the TargetContent is an iScript or other content that doesn't have the PeopleSoft strCurrUrl variableThe purpose is to turn on tracing at the transaction app server, not necessarily the portal app server. strCurrUrl works for PeopleSoft pages/components shown in a PeopleSoft frameset. It won't work for pages/components shown in a non frames template or non-component content shown regardless of the template. The window.location concept will work with all URL's as long as the content is served by the same app server as the portal. Another solution to this would be to use Ajax to send window.location.href back to an iScript, use the Portal API to determine the source app server URL, and then send an Ajax request to that server to turn on tracing. This approach assumes that the URL for the top level displayed content is registered in your portal (app or enterprise), and I think that is a reasonable assumption. Unfortunately, though, I'm not sure if the Ajax for this would fit in a bookmarklet.You bring up a good point, though, and that is that window.location is a better alternative for stand-alone installations. Unfortunately, it won't work for transactions shown through Enterprise Portal, though because the web server at window.location for Enterprise Portal is usually not the web server for the transaction.
Jim,I'm working my way through the jquery section in your book. I'm on page 241. I have saved the jquery library to an HTML, and called it using the %response. I noticed in the lower left hand corner of the browser an error message. I was wondering if you had any ideas on how to resolve the following:Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; MS-RTC LM 8; Oakwood Healthcare; .NET4.0C; .NET4.0E; InfoPath.3; Oakwood Healthcare)Timestamp: Fri, 5 Apr 2013 17:06:02 UTCMessage: Expected ';'Line: 5Char: 6Code: 0URI: http://psh90dev.ohsnet.ad.oakhealth.net:8500/cs/H90TN/cache/HK9_JQUERY_LIBRARY_302.jsI have named my html HK9_JQUERY_LIBRARY, the cached version is given the 302 number. I'm wondering if a direct copy and paste of the library is causing the issue. Formatting maybe? It's driving me nuts at the moment.
Post a Comment