tag:blogger.com,1999:blog-34020393.post5447320415330825243..comments2024-03-27T10:59:38.307-07:00Comments on Jim's PeopleSoft Journal: Pagelet Wizard Custom TagsJim Marionhttp://www.blogger.com/profile/12995110203807924786noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-34020393.post-91710378090865120212021-11-29T07:27:11.407-08:002021-11-29T07:27:11.407-08:00@Rajani, I do not have a simple solution for that....@Rajani, I do not have a simple solution for that. If I were to create a Pagelet that displayed a subset of results and a row count, I would use an IScript rather than Pagelet Wizard. Then I could check the row count myself and render in the proper location. If the results must come from a query rather than an SQL definition, then you could use the Query API to execute the query through PeopleCode.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-72305336729638402022021-11-11T10:41:59.795-08:002021-11-11T10:41:59.795-08:00Jim, I was wondering if you have come across a way...Jim, I was wondering if you have come across a way to add the full query rowcount to the pagelet display perhaps using the customize features in Pagelet Wizard. I am displaying a query using table format and it displays 10 results by default. I like that the user can click "full query results" to open the query but I'd like to give the user an indication of the full number of records that require cleanup without the user having to click anything. A display either above the top 10 or below that says: "Total number of records: 45" or something like that. If you have any advice, I would love to hear it.<br /><br />Thank youRajani Dayhttps://www.blogger.com/profile/00564834338484053599noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-9785959504632567132015-03-02T14:16:22.607-08:002015-03-02T14:16:22.607-08:00Thanks for confirming on using PSMSGTEXT for messa...Thanks for confirming on using PSMSGTEXT for message catalog in pagelet. It helped resolve language issue. The key was Thanks so much !!revhttps://www.blogger.com/profile/11167634065397865198noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-50539569862150596722015-01-28T19:45:12.541-08:002015-01-28T19:45:12.541-08:00@Alvin, yes. The way you do it is to clone the Cus...@Alvin, yes. The way you do it is to clone the Custom Display Format and/or the XSL Transformer. You will see that the PeopleCode for one or the other has hard coded the strings that it will replace. Or instead of cloning, you may be able to subclass it. Then you register your app class in the pagelet wizard metadata. Look through PeopleTools > Portal > Pagelet Wizard > Display Formats and Transform Types for examples.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-57570598652607121622015-01-27T05:04:32.603-08:002015-01-27T05:04:32.603-08:00Hello Jim, how can I add the custom tags
in th...Hello Jim, how can I add the custom tags <br /><br /><br /><br />in the pagelet wizard? is there a way to do that?<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/17686985788763426660noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-29342955353539670662014-06-19T13:58:07.915-07:002014-06-19T13:58:07.915-07:00Jim,
Thanks for your Quick response. I am loadin...Jim,<br /><br />Thanks for your Quick response. I am loading the jQuery library on MYRECORD.MYHTMLAREA.RowInit<br /><br />Listed below is sample code:<br /><br />&url = %Response.GetJavaScriptURL(HTML.JQUERY_LIB);<br /><br />&copyurl = GenerateScriptContentURL(%Portal, %Node, Record.WEBLIB_MYJSL, Field.ISCRIPT1, "FieldFormula", "IScript_JqCopyJs");<br /><br />MYRECORD.MYHTMLAREA.Value = GetHTMLText(HTML.MYJS_LIB, &url, &copyurl);JCookhttps://www.blogger.com/profile/08298931247562258650noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-48878252821320827802014-06-19T08:44:39.636-07:002014-06-19T08:44:39.636-07:00@JCook, since PeopleSoft does not use jQuery, I as...@JCook, since PeopleSoft does not use jQuery, I assume your organization added the tags, etc to load jQuery and plugins. What method are you using to load jQuery and plugins? Are they loaded on homepages through Pagelets? Are you injecting them through createElement? Did you add them to the header? The way you add jQuery and plugins to a page determines how they are loaded. If you use pagelets, then jQuery loads according to the pagelet load order and then the plugin load order. Even though you may be using script tags, Pagelets are loaded asynchronously after the the homepage loads, so there is no guarantee that the scripts will load synchronously using the standard script tag behavior.<br /><br />One way to ensure your scripts load properly is to use something like <a href="http://www.dustindiaz.com/scriptjs" rel="nofollow">$script.js</a>. I like this library because it is small enough to embed. Since many pagelets may require the same JavaScript libraries, check for their existence before loading them. For example, if(!window.jQuery) or if(!window.jQuery.fn.zClip) or if(!window.jQuery.ui)...Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-73605288041136921032014-06-19T06:37:48.513-07:002014-06-19T06:37:48.513-07:00Hi Jim,
Thanks for this. I have an issue. I am u...Hi Jim,<br /><br />Thanks for this. I have an issue. I am using jQuery JavaScript Library v1.7.2 for a Thickbox iframe. It works great on some pages, but not on others. After debugging I noticed that on the pages that did not work, the thickbox JqThickboxJs was loading before the jQuery library JqCopyJs. On the pages that worked jQuery library JqCopyJs was loading first.<br /><br />Any thoughts on why two pages would act differently?JCookhttps://www.blogger.com/profile/08298931247562258650noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-53971038475234287502014-05-30T09:42:40.643-07:002014-05-30T09:42:40.643-07:00@Kevin, Something went wrong with your link. Here ...@Kevin, Something went wrong with your link. Here is a new one <a href="http://pskcw.blogspot.com/2014/05/using-related-content-and-jquery.html" rel="nofollow">Using Related Content and jQuery lightbox to turn any PeopleSoft Transaction into a Dashboard.</a>. I think you should give a presentation on creating Pagelet Wizard Data Types and Display Formats. You can use your two blog posts as examples.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-88347281861334117062014-05-30T08:29:25.502-07:002014-05-30T08:29:25.502-07:00Hey Jim,
I think I have my next Collaborate Prese...Hey Jim,<br /><br />I think I have my next Collaborate Presentation. I took my Pagelet Wizard for Related Content posting and modified the JavaScript to open links defined within Pagelet Wizard in a jQuery ColorBox over the TargetContent Frame. The results are just stunning. Check it out when you get a chance.<br /><br /><a href="href=" rel="nofollow">Using Related Content and jQuery lightbox to turn any PeopleSoft Transaction into a Dashboard.</a><br /><br />Thanks,<br /><br />KevinKevin Weaverhttps://www.blogger.com/profile/09237087594753403371noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-51704537120197541692014-05-12T15:41:57.126-07:002014-05-12T15:41:57.126-07:00@Kevin, Nice! I was thinking about the same thing,...@Kevin, Nice! I was thinking about the same thing, but in a different context. I wanted to pass query parameters in the pagelet wizard URL.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-84065041976844275192014-05-12T14:06:17.884-07:002014-05-12T14:06:17.884-07:00Thanks Jim,
I was working on a Blog post on using...Thanks Jim,<br /><br />I was working on a Blog post on using the Pagelet Wizard for Related Content, I know it is not traditional use for Pagelet Wizard, but I wanted to to utilize the way it can take query output and format it into HTML. Take a look at my posting and let me know what you think.<br /><br />Thanks<br /><br />http://pskcw.blogspot.com/2014/05/using-pagelet-wizard-in-related-content.htmlKevin Weaverhttps://www.blogger.com/profile/09237087594753403371noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-90861310531622480692014-05-06T19:44:46.482-07:002014-05-06T19:44:46.482-07:00@Kevin, this post is for starting from "scrat...@Kevin, this post is for starting from "scratch." If you customize a delivered XSL, just make sure it has the xsl:output tag. That is really all I'm highlighting here.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-4483572950038344112014-05-06T09:37:23.436-07:002014-05-06T09:37:23.436-07:00Jim,
I am pretty new to pagelet wizard, however I...Jim,<br /><br />I am pretty new to pagelet wizard, however I have been really digging in lately and I have created a couple of query based pagelets and added the documented tags to format the currency. What I have done is used the pagelet wizard configuration to create my hyperlinks and then pressed the customized link and modified the xlst to insert my custom tags. My question is, Is this post intended for writing the entire xlst from scratch or is there a way to perform a second xlst to deliver the custom tags to the xml for post processing?<br /><br />Thanks!<br /><br />KevinKevin Weaverhttps://www.blogger.com/profile/09237087594753403371noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-50738071794101791512014-04-16T08:15:28.639-07:002014-04-16T08:15:28.639-07:00@Tom, the easiest one to administer is in Pagelet ...@Tom, the easiest one to administer is in Pagelet Wizard step 6. There are other CREF attributes. You might be able to find them by querying PSPRSMATTRVALJim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-73383436597938425832014-04-16T06:04:45.747-07:002014-04-16T06:04:45.747-07:00Hi Jim,
I also tried the attribute PORTAL_NOBROWS...Hi Jim,<br /><br />I also tried the attribute PORTAL_NOBROWSERCACHE (value = Y) but no luck. Any other tricks you might know? :)<br /><br />Thanks,<br />TomTom Mannancheryhttps://www.blogger.com/profile/01484855422965986265noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-11500693848633889722014-04-15T12:35:33.910-07:002014-04-15T12:35:33.910-07:00@David, no, I don't have any recommendations i...@David, no, I don't have any recommendations in that regard. After using the pagelet, %Language should have the correct language. If it doesn't, then I would file a bug for this as well.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-24305544996983439182014-04-15T12:02:12.091-07:002014-04-15T12:02:12.091-07:00Hi Jim:
I went down the path of trying to using jq...Hi Jim:<br />I went down the path of trying to using jquery to switch load the correct language section within my HTML, rather than using the XSL transform method with the custom meta tags which just does not seem to work for me. <br />My issue now is that when I select a language from my language selection pagelet, my custom HTML pagelet loads/switches to the right language but then the Portal Homepage reloads/refreshes and I the default ENG language displays again. Do you know how I can prevent this pagelet from reloading/refreshing? I tried the PSCACHECONTROL attribute already but that did not work. <br /><br />Thanks, Jim!<br /><br />DavidDavid PShttps://www.blogger.com/profile/17086880681664318447noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-16117532679223511892014-04-15T10:23:54.996-07:002014-04-15T10:23:54.996-07:00Hi Jim,
Thanks a lot for the response.
It is the...Hi Jim,<br /><br />Thanks a lot for the response.<br /><br />It is the second one - dont want it to cache between homepage visits.<br /><br />I am trying to find some place for pagelet attributes and I came across this (http://docs.oracle.com/cd/E38689_01/pt853pbr0/eng/pt/tprt/task_UsingAttributestoEnhancePagelets-717aa0.html) but it didnt help.<br /><br />Thanks,<br />TomTom Mannancheryhttps://www.blogger.com/profile/01484855422965986265noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-62621372061171792432014-04-15T09:31:17.400-07:002014-04-15T09:31:17.400-07:00@Tom, good question. By reload, do you mean on a t...@Tom, good question. By reload, do you mean on a time interval or are you just trying to keep it from caching between homepage visits? I assume you already looked at the CREF attributes of the pagelet that behaves according to your requirements?Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-76900839728309789262014-04-15T07:43:10.701-07:002014-04-15T07:43:10.701-07:00Hi Jim,
I have a question regarding PS Query page...Hi Jim,<br /><br />I have a question regarding PS Query pagelets created using Pagelet Wizard. Is there a way to always have this pagelet reload/refresh, without using a Custom XSLT? Is there any content reference attribute that can be used?<br /><br />I am asking this because we have a similar pagelet that sometimes reloads and sometimes doesn't and we are not able to correctly identify in what case it does and doesn't. <br /><br />Thanks,<br />TomTom Mannancheryhttps://www.blogger.com/profile/01484855422965986265noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-74422806152122586352014-04-14T16:40:42.667-07:002014-04-14T16:40:42.667-07:00@David, I confirmed exactly the opposite, that PSM...@David, I confirmed exactly the opposite, that PSMSGTEXT should work.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-8377335439889438612014-04-14T16:30:00.351-07:002014-04-14T16:30:00.351-07:00Jim, Thanks for your prompt response. I reached ou...Jim, Thanks for your prompt response. I reached out to the Oracle Support analysis already to reach out to you as requested. I assumed you confirmed what was told to me, which we have found quite strange that Oracle would do that. In the meantime, is there another approach you could recommend to resolve this issue?<br /><br />Thanks, <br />DavidDavid PShttps://www.blogger.com/profile/17086880681664318447noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-71422627467095306532014-04-14T16:00:49.213-07:002014-04-14T16:00:49.213-07:00@David, I just chatted with development. In your M...@David, I just chatted with development. In your MyOracle support case, have the rep contact me through e-mail. The rep will be able to find my address. I will connect him/her with the appropriate development staff to resolve this.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-31644850123486115262014-04-14T15:32:57.755-07:002014-04-14T15:32:57.755-07:00@David, it is true that Pagelet Wizard's HTML ...@David, it is true that Pagelet Wizard's HTML editor no longer supports languages, but message catalog always has, and I would suspect always will (that is the point of the message catalog). I will forward this to development because I believe this is a misunderstanding.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.com