tag:blogger.com,1999:blog-34020393.post6309984064039768167..comments2024-03-27T10:59:38.307-07:00Comments on Jim's PeopleSoft Journal: Event Mapping: FieldChangeJim Marionhttp://www.blogger.com/profile/12995110203807924786noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-34020393.post-6857655414801462532024-01-19T13:26:02.141-08:002024-01-19T13:26:02.141-08:00@Jessica, there may be a couple of reasons for thi...@Jessica, there may be a couple of reasons for this. First, Event Mapping requires a content reference. Not all components have content references. Some are accessed through other components, and therefore don't require a CREF. To find out, go to Enterprise Components > Find Object Navigation. Put in the component name, and see if a CREF appears. If one does, make sure the menu name matches as CREFs are Menu/Component combinations. Another challenge with 8.59/8.60 is the Elastic/OpenSearch requirement. A workaround for this is to go to Page and Field Configurator, create a configuration for your component that does as little as possible, and then use the Mapping button to create Event Mapping. Next, use the link within Page and Field Configurator to view the Event Mapping. This will allow you to get to the Event Mapping configuration for that page.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-33479463400340682682024-01-18T12:12:05.716-08:002024-01-18T12:12:05.716-08:00Hi Jim,
I am trying to create EM for a Fluid comp...Hi Jim,<br /><br />I am trying to create EM for a Fluid component: SCC_ADDR_DTLS_FL_GBL, but I can not find it on Configure Event Mapping (Add Configuration). We are on PTOOLS 8.60. The target is fluid. We plan to put EM after page activate of SCC_ADDRESS_DTL_FL page.<br /><br />Could you please shed some light on it?<br /><br />Thank you!<br /><br />Jessica Jessicahttps://www.blogger.com/profile/08104339793141322463noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-29566886459419378042022-09-16T10:34:01.798-07:002022-09-16T10:34:01.798-07:00Hi Samantha,
This is a very frustrating situation...Hi Samantha,<br /><br />This is a very frustrating situation. I've been there. One of the hardest parts of Event Mapping is confirming it is the correct component. Event Mapping applies to Content References, not components. And the challenge we have is that we must select the correct Content Reference. If you are on 8.58 or lower, that is through a portal-based navigation. On 8.59 or later, it is harder because it uses search indexes.<br /><br />Here is what I would try to confirm the appropriate CREF: Navigate to the component online. Get the component name. Go to Enterprise Components > Find Object Navigation. Put in the component and check the path. Verify that against your configuration. Next, use SQL to confirm the event mapping applies to the proper CREF ID. You may also use App Designer to insert your configuration, searching for portal _PTCS_PTEVMAP. That will tell you the CREF name. Confirm it is the CREF ID you think it is.<br /><br />What makes this challenging is PeopleSoft uses conditional navigation. You might navigate using a path, but PeopleSoft is using conditional navigation to push you down a different path. The configuration is for the old path, but the online rendering is for the new path, which means they are really different components.<br /><br />Here are some questions that might help us:<br />1. What tools release?<br />2. Is the target classic or Fluid?<br />3. What is the target component?<br />4. What event?Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-76196354222285191582022-09-16T06:36:47.073-07:002022-09-16T06:36:47.073-07:00Hi Jim,
I am mapping a related content to a compo...Hi Jim,<br /><br />I am mapping a related content to a component by using event mapping. The app class works with another component. But for this one, it doesnot work(even the messagebox not working). The component is the right one and there is postbuild code. So what might be the cause?<br /><br />Thanks!Samanthahttps://www.blogger.com/profile/18174517632368781717noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-91278603732513528082022-08-03T10:27:59.425-07:002022-08-03T10:27:59.425-07:00Hi Jim,
Trying to trigger an event mapping code ...Hi Jim, <br /><br />Trying to trigger an event mapping code on Field change of a record field, however, the code is not triggering when we use the prompt to select the value for the field in the Modal component. As per Doc ID 2757142.1, it says they are working on it to support it. Have you faced this issue? Any workaround for this?<br /><br />Thanks<br />Ram<br />Anonymoushttps://www.blogger.com/profile/01484017827971033712noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-41472479661768951962019-09-16T02:35:47.949-07:002019-09-16T02:35:47.949-07:00@Jim - thanks for the update. That is good to know...@Jim - thanks for the update. That is good to know. Hope the OOW conference goes well!Pathttps://www.blogger.com/profile/16137894200555438918noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-19816544383185555762019-09-15T20:56:06.681-07:002019-09-15T20:56:06.681-07:00@Pat, we finally have a fix for this! It isn't...@Pat, we finally have a fix for this! It isn't exactly a fix, but rather a workaround. PeopleTools 8.57 includes an "unrestricted prompt" checkbox that lets us select any record in the database. Of course, it is our responsibility to ensure we select a record that is in the component buffer.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-35384000979828312462019-07-10T19:08:03.882-07:002019-07-10T19:08:03.882-07:00Great question @mantra. I don't believe there ...Great question @mantra. I don't believe there is a performance impact in moving to Event Mapping. This PeopleCode is injected right into the component processing model. Page and Field Configurator, on the other hand, may. Page and Field Configurator behaves exactly the same as Event Mapping (because it uses Event Mapping) but uses loops and iterations over metadata to perform the same task as hard-coded Event Mapping. This is the trade-off to configuration versus code.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-54085289359813811342019-05-28T12:38:06.853-07:002019-05-28T12:38:06.853-07:00Hi Jim,
Will there be any impact on performance a...Hi Jim,<br /><br />Will there be any impact on performance after moving the customization to Event Mapping or Page field configurator?mantrahttps://www.blogger.com/profile/11607531644220996885noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-818271057922082622019-04-30T21:46:29.658-07:002019-04-30T21:46:29.658-07:00Hi Jim,
I saw your presentation on HEUG Alliance ...Hi Jim, <br />I saw your presentation on HEUG Alliance in which you used event mapping to display the pin icon by checking PS_PT_PORTAL_PINTO record. Can you please share the stylesheet that you used in the event mapping execute method?<br /><br />Thanks<br />Malik<br />Anonymoushttps://www.blogger.com/profile/01171179530467916216noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-53465640281388140402019-01-25T14:29:04.467-08:002019-01-25T14:29:04.467-08:00@Ritu, I have the same issue. Generally this relat...@Ritu, I have the same issue. Generally this relates to subpages and the delivered module not drilling into sub pages. Please log a support case with My Oracle Support. Yes, it is supposed to allow you to map to sub pages. (I say that just in case the My Oracle Support rep says it is working as designed).Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-2611491696989686662018-12-26T23:52:34.849-08:002018-12-26T23:52:34.849-08:00Hi Jim,
I am facing an issue. In component record...Hi Jim,<br /><br />I am facing an issue. In component record level mapping, all the records which are present in the component are not showing up in the prompt. I was doing this for COLLECTION_WRKBNCH component ITEM_QRY_WRK record. But this record although is present in the component, is not showing up in the prompt.<br /><br />Any suggestion would help.<br /><br />Thanks <br />RituAnonymoushttps://www.blogger.com/profile/15020472845733843400noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-45509264121196143592018-12-10T09:10:39.973-08:002018-12-10T09:10:39.973-08:00Jim, I finally got around to trying your suggestio...Jim, I finally got around to trying your suggestion and what's interesting is that the GenerateComponentPortalURL still waits to load the homepage first! I would like to have the header on the page I'm transferring to, but I'll do without just so that the homepage doesn't load. Using the GenerateComponentContentURL function goes directly to my page without loading the homepage first. Thanks for the help!Anonymoushttps://www.blogger.com/profile/03180125673236635042noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-4062755154721027282018-11-18T21:07:36.847-08:002018-11-18T21:07:36.847-08:00@Harika... I should say, I had the same two-label ...@Harika... I should say, I had the same two-label problem after upgrading to a later PUM.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-84339336889197859512018-11-18T21:06:54.584-08:002018-11-18T21:06:54.584-08:00@Harika, since the list of links on the left is a ...@Harika, since the list of links on the left is a grid, you can hide a link by finding the row and using row.visible = false. The rows are numbered as you see them on the screen, so count and then use that as your index. I believe the rowset is GetLevel0()(1).GetRowset(Scroll.HCSC_TAB_DVW).<br /><br />Regarding the second set of labels, I had the same problem and can't remember exactly what I hid. I had to inspect the HTML to find the issue. I don't remember if it was the title attribute or another field or label. I also don't remember if I used CSS to hide the second label or if I was able to accomplish it with field.visible = false.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-41590294544061560022018-11-14T16:50:10.442-08:002018-11-14T16:50:10.442-08:00@Joe, I would not expect the behavior you are seei...@Joe, I would not expect the behavior you are seeing. With Fluid, however, I have had a lot of problems with the Transfer function. I noticed a lot of delivered PeopleCode uses %Response.RedirectURL instead. I use one of the GenerateComponentxxxURL functions to create the URL, and then %Response.RedirectURL to perform the transfer. That has solved my issues with the Transfer function.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-61333118116625960822018-11-07T13:03:44.469-08:002018-11-07T13:03:44.469-08:00Hi Jim, Great Post. Thanks for sharing. We have re...Hi Jim, Great Post. Thanks for sharing. We have requirement to add two new custom components to Personal Details tile and also to hide one of the delivered component (Form I-9). I am trying to achieve this using Event Mapping. <br /><br />1) I tried to add custom component using the code posted in your blog. The title for my custom component appears twice.<br />2) Also, I tried to add map the field change event mentioned in this post. But I could not find the record field HCSC_FL_WRK.HCSC_BTN_SELECT. It is only showing up two fields GROUPBOX_04, GROUPBOX_05.<br />3) How can I use Event mapping to hide one of the delivered components on Personal details tile. <br /><br />Thank you!!<br />Anonymoushttps://www.blogger.com/profile/07128243215662893849noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-82635435618659354102018-09-11T08:19:25.453-07:002018-09-11T08:19:25.453-07:00Jim,
Please let me know the steps to create dynam...Jim,<br /><br />Please let me know the steps to create dynamic announcements/alerts based on job data change (PAR/action) to announcement pagelet to particular peoplesoft role.<br /><br />i do create view and generate using EOAN appengine (run alerts) as scheduled but my requirement is as soon as job get changed alert should be sent to users.<br /><br />Currently i am executing same process using peoplecode on JOB data to get notification<br />do we have any other alternative to achieve through setup online<br />Anonymoushttps://www.blogger.com/profile/01527764485516691386noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-57820583311159687062018-08-29T12:54:54.321-07:002018-08-29T12:54:54.321-07:00I'm using Event Mapping to add code to the hom...I'm using Event Mapping to add code to the home page. I set it up using Pre-Build and Pre-Process to run before anything the homepage has runs. My code is basically looking for a condition and doing a transfer()...very similar to your code. However, the homepage is fully rendering and then transferring. Is there a reason it continues to process the homepage after I've done a transfer()?Anonymoushttps://www.blogger.com/profile/03180125673236635042noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-77113361583693643312017-12-21T21:12:06.689-08:002017-12-21T21:12:06.689-08:00Thank you for sharing the information on Component...Thank you for sharing the information on Component Interfaces. Several of my customers have been asking about this since Oracle says it is supposed to work, but like you noted, it wasn't working as expected.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-37962502309530146672017-12-21T19:31:43.480-08:002017-12-21T19:31:43.480-08:00Event Mapping support to Component Interface expla...Event Mapping support to Component Interface explained -<br /><br />http://raggs11.blogspot.in/2017/12/peopletools-event-mapping-support-to.htmlPeopleToolshttps://www.blogger.com/profile/01373332632168734457noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-71312843821993460102017-12-21T18:35:33.565-08:002017-12-21T18:35:33.565-08:00http://raggs11.blogspot.in/2017/12/peopletools-eve...http://raggs11.blogspot.in/2017/12/peopletools-event-mapping-support-to.htmlPeopleToolshttps://www.blogger.com/profile/01373332632168734457noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-32913581833643513632017-11-08T18:05:56.275-08:002017-11-08T18:05:56.275-08:00Jim
Again apologies for the multiple posts.
If yo...Jim<br />Again apologies for the multiple posts.<br /><br />If you could pass this into your contact at Oracle that would greatly be appreciated.<br /><br />SR 3-16124606901 : Event Mapping does not allow Records from Secondary page being used in a component<br /><br />Thanks<br />PatPathttps://www.blogger.com/profile/16137894200555438918noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-51316979453779435132017-11-08T14:15:26.106-08:002017-11-08T14:15:26.106-08:00Jim
Thanks for your response. We will wait for our...Jim<br />Thanks for your response. We will wait for our update to 8.56.04 to see if it is fixed in that release.<br />In the mean time I have found that inserting into the PSPTCSSRVCONF record allows you to prescribe a record that you can not access via the front end. This works but gives an issue in the app server logs like<br />Invalid version number for SCNFM(_PTCS_PTEVMAP/HC_SCC_ADD_PERSON_GBL/GL0_CITIZENSHIP/187128192/ENG) = 0. Reset to 1 <br /><br />So my solution (for now) is to add a row via the front end and then do an update via<br />UPDATE PSPTCSSRVCONF SET RECNAME = 'SCC_CITIZEN_H'<br />WHERE PORTAL_NAME = '_PTCS_PTEVMAP'<br />AND PORTAL_OBJNAME = 'HC_SCC_ADD_PERSON_GBL'<br />AND PTCS_SERVICEID = 'GL0_CITIZENSHIP'<br />AND PTCS_INSTANCEID = '228039173' ;<br /><br />My suspicion is the fix is an adjustment to the prompt record to pick records off sub pages.<br /><br />Thanks Jim for your help.<br />PatPathttps://www.blogger.com/profile/16137894200555438918noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-31097001048141343872017-11-07T22:06:52.323-08:002017-11-07T22:06:52.323-08:00Jim
Thanks for the information I appreciate it. Yo...Jim<br />Thanks for the information I appreciate it. You have just set a World Record for blog post response time. Giddyup.<br />Cheers<br />PatPathttps://www.blogger.com/profile/16137894200555438918noreply@blogger.com