<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Overriding a Component&#039;s Search Record for a Component Interface</title>
		<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface</link>
		<description>Posts in the discussion thread &quot;Overriding a Component&#039;s Search Record for a Component Interface&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 30 Jul 2010 05:01:59 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-650853</guid>
				<title>Re: Overriding a Component&#039;s Add Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-650853</link>
				<description></description>
				<pubDate>Tue, 08 Dec 2009 08:01:40 +0000</pubDate>
				<wikidot:authorName>Yeong</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I am wondering how to override a component's Add Search Record when running a component interface?</p> <p>I have a component interface built on the Positive Input component where an Add Search Record is in place which is a view with security (row class security) enforced. When this CI is triggered, I would like this view to be substitute or override with another view which does not have security applied. The whole idea is that when adding a new PI row online, the row calss security should be kicked off by using the view with the security but when the CI is triggered teh security should be bypassed by using a different view without security.</p> <p>Has anyone done on this before? Your help is much appreciated.</p> <p>Thanks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-615565</guid>
				<title>Re: Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-615565</link>
				<description></description>
				<pubDate>Fri, 23 Oct 2009 13:05:01 +0000</pubDate>
				<wikidot:authorName>Gavin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>You could change the search record on the component to one that allows access to all employees/customers/persons/students etc. i.e. No Security at all.</p> <p>Then on each menu where the componet is accessed use the search view override to override this search view with the search view you wish to use online i.e. The one with the security in it.</p> <p>If you are using the CI within an Application Engine or other batch process then you most likely dont need security on the search view thus increasing performance.</p> <p>Hope this helps for those using AE.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-498787</guid>
				<title>Re: Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-498787</link>
				<description></description>
				<pubDate>Wed, 03 Jun 2009 18:32:12 +0000</pubDate>
				<wikidot:authorName>Partha</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>In the CI Properties, select the menu which has override. This will refresh the Get and Find keys. Note that any %menu reference in PeopleCode will also use the value used in CI Properties.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-351082</guid>
				<title>Re: Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-351082</link>
				<description></description>
				<pubDate>Thu, 08 Jan 2009 16:02:58 +0000</pubDate>
				<wikidot:authorName>TomHins</wikidot:authorName>				<wikidot:authorUserId>264521</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>My experience is if you cannot use the override in the menu for some reason then you would have to clone the component.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-228660</guid>
				<title>Re: Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-228660</link>
				<description></description>
				<pubDate>Mon, 28 Jul 2008 00:12:28 +0000</pubDate>
				<wikidot:authorName>shank_dawg</wikidot:authorName>				<wikidot:authorUserId>164748</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Brilliant Praj!</p> <p>Thanks for that. I dint even think of testing the CI when i had errors validating it.</p> <p>It sounds like a good way to go. But what i am wondering is, is it something that people (or peoplesoft) have done deliberately. Or is it something that has happened by accident?</p> <p>It works alright. But what i am getting at is, there is also a possiblity that may be peoplesoft changed the search record of the component at a later stage? As in, well after CI's were created based on them. So obviously there would be a conflict validating it.</p> <p>So my question would be, is it something that is OK (according to Peoplesoft standards) to do?</p> <p>Thanks for that though. It certainly does the job and we achieve exactly what we want to.</p> <p>Cheers Dude!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-227132</guid>
				<title>Re: Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-227132</link>
				<description></description>
				<pubDate>Fri, 25 Jul 2008 06:52:48 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi shank_dawg,</p> <p>That's a difficult one. You're reasoning seems perfectly ok, override the search record with menus and tell the component interface which menu to use.</p> <p>First time I tried this, I probably stopped at the same point as you:</p> <ol> <li>I changed the search record of the underlying component to the search record I wanted</li> <li>I created the component interface and saved it</li> <li>I changed the search record of the underlying component back to what it was</li> <li>I went back to my component interface and it had validation errors</li> </ol> <p>So then I thought, I wonder if there are any PeopleSoft delivered examples where they've done this - the search record of the component interface is different to the underlying component. So I created the following query:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">BCNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">CI</span><span class="hl-code">, </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">PNLGRPNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">COMPONENT</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SEARCHRECNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">CI_SRCH_REC</span><span class="hl-code">, </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">SEARCHRECNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">COMPONENT_SRCH_REC</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">MENUNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">CI_MENU</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSBCDEFN</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code"> </span><span class="hl-reserved">inner</span><span class="hl-code"> </span><span class="hl-reserved">join</span><span class="hl-code"> </span><span class="hl-identifier">PSPNLGRPDEFN</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code"> </span><span class="hl-reserved">on</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">BCPGNAME</span><span class="hl-code"> = </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">PNLGRPNAME</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">MARKET</span><span class="hl-code"> = </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">MARKET</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SEARCHRECNAME</span><span class="hl-code"> &lt;&gt; </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">SEARCHRECNAME</span><span class="hl-code"> ;</span> </pre></div> </div> <p>I got a few examples back and all of them had invalid component interfaces when I tested them for consistency, however, they all seemed to work through the component interface tester.</p> <p>So I wonder if its actually OK to have an invalid component interface, provided you are overriding the search record with the correct one in the menu?</p> <p>- Praj</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-73750#post-218167</guid>
				<title>Overriding a Component&#039;s Search Record for a Component Interface</title>
				<link>http://www.peoplesoftwiki.com/forum/t-73750/overriding-a-component-s-search-record-for-a-component-interface#post-218167</link>
				<description></description>
				<pubDate>Fri, 11 Jul 2008 02:49:06 +0000</pubDate>
				<wikidot:authorName>shank_dawg</wikidot:authorName>				<wikidot:authorUserId>164748</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi All,</p> <p>I have a requirement to use a different search record for a Component Interface's underlying Component.</p> <p>Usually, for online processing, the search record could be overridden by adding the Component in a different menu using the override search record option in the menu item's property. It is simple.</p> <p>But, now i want to use a component and create a CI for it and the CI should have a different search record.</p> <p>I tried to do the following:<br /> 1. Add the component in a different menu and used the override search record property in the menu item's search record.<br /> 2. Create a CI for the Component. And in the CI's properties, i chose the menu to which i added the component in step 1.</p> <p>Now, technically, this should work. But still the properties of the find keys are not changing to the search record that i require. It is still using the original search record, although i have changed the menu in the CI's properties.</p> <p>Anyone know how to get around this problem?</p> <p>Otherwise, i might be forced to clone the Component and change the search record and create a CI for that. But i dont really want to do this, cos if there is any changes to the original component, my clone has to updated everytime.</p> <p>Any help would be much appreciated. Thank you so much.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>