<?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>Pulling Page Labels in Query</title>
		<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query</link>
		<description>Posts in the discussion thread &quot;Pulling Page Labels in Query&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 08 Feb 2012 21:17:47 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-744649</guid>
				<title>Re: Folder missing from PSPRSMDEFN</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-744649</link>
				<description></description>
				<pubDate>Tue, 06 Apr 2010 20:32:27 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ah yes, that will get you every time :)</p> <p>Glad you worked it out.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-744104</guid>
				<title>Re: Folder missing from PSPRSMDEFN</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-744104</link>
				<description></description>
				<pubDate>Tue, 06 Apr 2010 10:35:06 +0000</pubDate>
				<wikidot:authorName>Johan</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi Praj - I found the problem! My trusty DBA made a typo in the web config file - I was looking at a HR91 Database, when it should have been a HR88 Database. No wonder I was missing some rows from the PSPRSMDEFN table !!</p> <p>Thanks a lot for your help - I learnt a lot re Portals….</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-744067</guid>
				<title>Re: Folder missing from PSPRSMDEFN</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-744067</link>
				<description></description>
				<pubDate>Tue, 06 Apr 2010 09:30:48 +0000</pubDate>
				<wikidot:authorName>Johan</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi Praj</p> <p>Thanks a lot for answering - however - I am only working in my HR 88 DEMO environment - which is why I am so confused. It is not the cache - as we have recreated it etc. The HC_WAGE_PROGRESSION Folder is found via the PIA - I can open it, edit it, drill down to the child records etc when looking at the Portal definition. I can change a flag - SAVE it, Open it - change the Flag back, SAVE it etc etc. I can also access the Pages in that Folder when using the system online - all in DEMO. I can also understand why the App Desigenr does not find it - as I cannot find it in PSPRSMDEFN. However - The only difference I found with this Folder, as compared to the other I do find is the Flag : Is Folder Navigation Disabled. has been ticked. I have un-ticked it, SAVED it - but nothing changes. Where else can this Folder definition live ? If you have access to a HR 88 DEMO environment - you might have a look ad see if<br /> select * from PSPRSMDEFN<br /> where PORTAL_REFTYPE = 'F'<br /> AND PORTAL_OBJNAME IN ( 'HC_WAGE_PROGRESSION','HC_LABOR_RELATIONS');</p> <p>returns more than 1 row?</p> <p>Thanks !</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-739631</guid>
				<title>Re: Folder missing from PSPRSMDEFN</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-739631</link>
				<description></description>
				<pubDate>Wed, 31 Mar 2010 22:36:24 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If <tt>HC_WAGE_PROGRESSION</tt> is missing from the portal definition table, then it isn't in the environment. It might be caching that shows the entry in Portal Structure and Content. Application Designer does a search in <tt>PSPRSMDEFN</tt> for that folder which it can't find so that explains why.</p> <p>Some how that folder has been removed and will need to be added back, e.g. copying it from a demo environment or somewhere it exists.</p> <p>Note to get your cache cleaned up, try using the <a href="http://www.peoplesoftwiki.com/peoplesoft-servlet-directives">servlet</a> commands:</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-739118</guid>
				<title>Folder missing from PSPRSMDEFN</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-739118</link>
				<description></description>
				<pubDate>Wed, 31 Mar 2010 08:33:03 +0000</pubDate>
				<wikidot:authorName>Johan</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I am doing the following :<br /> select * from PSPRSMDEFN<br /> where PORTAL_REFTYPE = 'F'<br /> AND PORTAL_OBJNAME IN ( 'HC_WAGE_PROGRESSION','HC_LABOR_RELATIONS');</p> <p>However - HC_WAGE_PROGRESSION - is missing from the Table ?</p> <p>When I navigate using PeopleTools, Portal, Structure and Content - I then see that as a FOLDER entry ?<br /> Thus - when trying to migrate it using App Designer - I cannot find it as well ?</p> <p>Any ideas ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-449603</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-449603</link>
				<description></description>
				<pubDate>Wed, 15 Apr 2009 09:59:03 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks - glad that helped you out.</p> <p>As you know, portal security is controlled by permission lists and this information is stored in the record <tt>PSPRSMPERM</tt> (portal registry permissions).</p> <p>This record tells you the permission lists associated with each and every portal folder and content reference (the permission list is stored in the <tt>PORTAL_PERMNAME</tt> field). Simply join to this record using the <tt>PORTAL_OBJNAME</tt> field if you want to use it with the previous SQL I posted.</p> <p>You might also be interested in this <a href="http://peoplesoft.wikidot.com/forum/t-145863/removing-pt-security-menu" >forum post</a> if you want to find out what access a particular user has.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-449587</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-449587</link>
				<description></description>
				<pubDate>Wed, 15 Apr 2009 09:28:21 +0000</pubDate>
				<wikidot:authorName>juztrockwitit</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Yeah Praj!<br /> This is what i need!</p> <p>But now, i know where the Portal refers to the page, i gotta know where it will be checked for the Security (Permissionlists)</p> <p><strong>So where do PeopleSoft check if i am allowed to visit or see this page or not!</strong></p> <p>In this case i say a lot of THANKS Praj, u doin really WELL !</p> <p>best regards<br /> juZtroCkwiTiT</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-449411</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-449411</link>
				<description></description>
				<pubDate>Wed, 15 Apr 2009 05:04:22 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I'm presuming you want to know how to determine the page that a particular content reference in the portal refers to? For instance, what page is behind the portal navigation <tt>PeopleTools &gt; Security &gt; User Profiles &gt; User Profiles</tt>?. I might have this wrong so please advise if this isn't what you want :)</p> <p>To start with if you look in <tt>PeopleTools &gt; Portal &gt; Structure and Content</tt> and edit the <em>User Profiles</em> <tt>PT_USERMAINT_GBL</tt> content reference (under <tt>PeopleTools &gt; Security User Profiles</tt>), you will find it only points to the component <tt>USERMAINT</tt>. The page that is displayed is normally the first visible page in this component. You can get the first visible page from the <tt>PSPNLGROUP</tt> record. So in essence if you join this with the portal record <tt>PSPRSMDEFN</tt> you can get the page.</p> <p>Here's some example SQL for the <tt>PT_USERMAINT_GBL</tt> content reference that would do this for you:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_OBJNAME</span><span class="hl-code">, </span><span class="hl-identifier">PORTAL_LABEL</span><span class="hl-code">, </span><span class="hl-var">C</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-var">C</span><span class="hl-code">.</span><span class="hl-identifier">MARKET</span><span class="hl-code">, </span><span class="hl-var">C</span><span class="hl-code">.</span><span class="hl-identifier">PNLNAME</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">PAGE</span><span class="hl-code">, </span><span class="hl-var">C</span><span class="hl-code">.</span><span class="hl-identifier">ITEMLABEL</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">PAGE_DESCRIPTION</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSPRSMDEFN</span><span class="hl-code"> </span><span class="hl-identifier">P</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">PSPNLGROUP</span><span class="hl-code"> </span><span class="hl-var">C</span><span class="hl-code"> </span><span class="hl-reserved">on</span><span class="hl-code"> </span><span class="hl-identifier">P</span><span class="hl-code">.</span><span class="hl-identifier">PORTAL_NAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">EMPLOYEE</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">P</span><span class="hl-code">.</span><span class="hl-identifier">PORTAL_REFTYPE</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">C</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">P</span><span class="hl-code">.</span><span class="hl-identifier">PORTAL_URI_SEG2</span><span class="hl-code"> = </span><span class="hl-var">C</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">P</span><span class="hl-code">.</span><span class="hl-identifier">PORTAL_URI_SEG3</span><span class="hl-code"> = </span><span class="hl-var">C</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">P</span><span class="hl-code">.</span><span class="hl-identifier">PORTAL_OBJNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">PT_USERMAINT_GBL</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-var">C</span><span class="hl-code">.</span><span class="hl-identifier">SUBITEMNUM</span><span class="hl-code"> = </span><span class="hl-brackets">(</span><span class="hl-code"> </span><span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-var">min</span><span class="hl-brackets">(</span><span class="hl-identifier">SUBITEMNUM</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSPNLGROUP</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">PNLGRPNAME</span><span class="hl-code"> = </span><span class="hl-var">C</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-var">C</span><span class="hl-code">.</span><span class="hl-identifier">HIDDEN</span><span class="hl-code"> = </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-brackets">)</span><span class="hl-code"> ;</span> </pre></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-448541</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-448541</link>
				<description></description>
				<pubDate>Tue, 14 Apr 2009 12:38:58 +0000</pubDate>
				<wikidot:authorName>juztrockwitit</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>currently i am creating a CROSS-REFERENCE-(SCRIPT) of the whole PeopleSoft Application!<br /> I need to explain where PORTAL is linked (short-cutted) to the PANEL</p> <p>Can any one help me ?!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-391413</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-391413</link>
				<description></description>
				<pubDate>Fri, 20 Feb 2009 20:26:38 +0000</pubDate>
				<wikidot:authorName>Steve</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>That's worked a treat. I'd already found the Portal definition table whilst playing around. What I hadn't managed to crack was the correct keys to join the tables. Your reply has cured that problem.</p> <p>Thanks very much for your help.</p> <p>Steve</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-390498</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-390498</link>
				<description></description>
				<pubDate>Thu, 19 Feb 2009 22:57:01 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>No problems. Yes there is a way to get that information from the database - everything is stored in the database after all :)</p> <p>The linkage between pages/components/menus and the portal isn't as simple. The table you'll need is <tt>PSPRSMDEFN</tt> which is the portal registry structure definition table. It stores the hierarchical structure of the portal as a table, making it a bit more complicated to understand. This table doesn't follow the conventions of the menu structure beyond the menu name. So things like the bar item aren't relevant. In PeopleTools 8+ menus are used purely for security, and navigation is replaced by the portal which causes some confusion!</p> <p>As the portal is a tree structure, each entry in the table has a parent (except for the portals themselves), and the top most nodes (e.g. PeopleTools - <tt>PT_PEOPLETOOLS</tt>) have <tt>PORTAL_ROOT_OBJECT</tt> as their parents. The portals themselves are things like <tt>EMPLOYEE</tt>, <tt>CUSTOMER</tt>, <tt>MOBILE</tt>) etc.</p> <p>HRMS uses the <tt>EMPLOYEE</tt> portal which you can see at the start of all your URLs as <tt><a href="http://server:port/psp/ps/EMPLOYEE">http://server:port/psp/ps/EMPLOYEE</a> etc</tt>. Also, each portal entry can either be a folder or a content reference. This is termed as the content type. To simplify, think of folders as containers and content references as links to things.</p> <p>To get a better idea of the structure of the portal, go to:<br /> <tt>PeopleTools &gt; Portal &gt; Structure and Content</tt></p> <p>This is the adminstration interface to the portal structure.</p> <p>Any way, that's just a bit of background. Getting back to your question, to get the portal label you'll need to know the menu name (e.g. <tt>ADMINISTER_WORKFORCE_(GBL)</tt> and the component name). For example, if you wanted to get the portal label for the Job Data component you need to know the menu name (<tt>ADMINISTER_WORKFORCE_(GBL)</tt>) and the component name (<tt>JOB_DATA</tt>) which you can get using CTRL + J.</p> <p>In the earlier post about getting the item label, note that the <tt>PSPNLGROUP</tt> table includes the component name as the field <tt>PNLGRPNAME</tt>. So you should be able to get the menu and component in your query which you can then use to link to the <tt>PSPRSMDEFN</tt> table.</p> <p>So here's a quick example of a query to get all the portal labels for content references under the <tt>ADMINISTER_WORKFORCE_(GBL)</tt> menu:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_OBJNAME</span><span class="hl-code">, </span><span class="hl-identifier">PORTAL_LABEL</span><span class="hl-code">, </span><span class="hl-identifier">PORTAL_URI_SEG1</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">MENUNAME</span><span class="hl-code">, </span><span class="hl-identifier">PORTAL_URI_SEG2</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-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSPRSMDEFN</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_NAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">EMPLOYEE</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_REFTYPE</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">C</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_URI_SEG1</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">ADMINISTER_WORKFORCE_(GBL)</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_LABEL</span><span class="hl-code"> &lt;&gt; </span><span class="hl-quotes">'</span><span class="hl-string"> </span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">order</span><span class="hl-code"> </span><span class="hl-reserved">by</span><span class="hl-code"> </span><span class="hl-identifier">PORTAL_LABEL</span><span class="hl-code">;</span> </pre></div> </div> <p>You'll notice that to link to menu name you use the field <tt>PORTAL_URI_SEG1</tt> and to link to component you use the field <tt>PORTAL_URI_SEG2</tt> which I've aliased in the query as <tt>MENUNAME</tt> and <tt>COMPONENT</tt> to make it clear.</p> <p>Since you are working in the <tt>EMPLOYEE</tt> portal and you want content references (actual links to components) as opposed to folders which are just containers (e.g. <em>Job Information</em>), you need to specify the content type as <tt>C</tt>. You also want to exclude any items with a blank portal label.</p> <p>I know this is a lot of information, but hopefully it makes some sense and answers your question. Good luck.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-389696</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-389696</link>
				<description></description>
				<pubDate>Thu, 19 Feb 2009 09:07:36 +0000</pubDate>
				<wikidot:authorName>Steve</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Thanks Praj, That's really helpful. I'm now going to push my luck even further on this !</p> <p>Do you know if there is a way to link the Bar Item Names and Page Names back to the labels they are given within the portal?</p> <p>So for example on this report it pulls back Menu Name as Administer_Workforce_(GBL)</p> <p>On the portal Menu it show's as Administer Workforce. Same thing applies for Bar Items and page names. Bar Item on the report is DEPARTMENT_TBL_GBL on the Menu it's Departments.</p> <p>It would be realy good if I could link it back to the user friendly names if possible.</p> <p>Thanks<br /> Steve</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-389354</guid>
				<title>Re: Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-389354</link>
				<description></description>
				<pubDate>Wed, 18 Feb 2009 23:26:47 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>The record that stores this information is <tt>PSPNLGROUP</tt>. So if you run 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-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSPNLGROUP</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">PNLGRPNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">JOB_DATA</span><span class="hl-quotes">'</span> </pre></div> </div> <p>You will see the labels in the <tt>ITEMLABEL</tt> column. This is what you see when you open the <tt>JOB_DATA</tt> component in application designer.</p> <p>One thing that you may not want to see in your queries is the <tt>&amp;</tt> character used for keyboard shortcuts. To strip these out you can use the REPLACE command in Oracle like so:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">REPLACE</span><span class="hl-brackets">(</span><span class="hl-identifier">ITEMLABEL</span><span class="hl-code">, </span><span class="hl-quotes">'</span><span class="hl-string">&amp;</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-quotes">''</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">ITEMLABEL</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSPNLGROUP</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">PNLGRPNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">JOB_DATA</span><span class="hl-quotes">'</span><span class="hl-code">;</span> </pre></div> </div> <p>You will need to create the line <tt>REPLACE(ITEMLABEL, '&amp;', '') as ITEMLABEL</tt> as an expression in PeopleSoft Query and use it as a field.</p> <p>By the way pages used to be called panels and components used to be called panel groups which is why the PeopleTools record and field names aren't what you would expect.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-131533#post-388974</guid>
				<title>Pulling Page Labels in Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-131533/pulling-page-labels-in-query#post-388974</link>
				<description></description>
				<pubDate>Wed, 18 Feb 2009 18:02:19 +0000</pubDate>
				<wikidot:authorName>Steve</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Could anybody tell me which table contains the online labels for the pages? So for instance, on the Job component in HRMS there is a tab for Work Location, Job Information, Compensation etc. However if you run the delivered page access queries from within security it returns the panel item name, this would be Jobdata1, jobdata2 etc.</p> <p>I was wondering if it would be possible to join the table containing the lables to produce a more user friendly report? So instead of it showing Jobdata1 in the report it showed Work Location etc.</p> <p>Thanks<br /> Steve</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
