Wednesday, December 19, 2012
PeopleSoft Interaction Hub
Thursday, August 2, 2012
Related content link in Dropdown
As shown in Image to create related content link in Dropdown we need to follow below steps.
Assumption: Component is created and Related content setup is done.
Below steps need to be done to use Related content in drop down.
Step1: Adding HTML Area to page.
Place a HTML area in the page to the created component.
Here “N_RELATED_ACTNS” is a custom Long char field.
In General Tab provide “RELATEDACTIONS” as page field name as shown in the image
Step 2: Hiding the Related Action Page field and making it modified by JavaScript.
Here People ID is the Related action Field defied in Related action setup page.
Make this field is hidden and set the page field property as below Image.
Note: Modified by JavaScript should be enabled.
Step 3: Code to set Related action to HTML area.
/*****************Start - Related Actions*************************/
For &i = 1 To &rs_var.ActiveRowCount
&sActionShortLabel = &rs_var(&i).N_HR_EE_DB_WRK.N_RELATED_ACTNS.GetShortLabel("RELATED_ACTION");
&sPopUpMenuJavaScript = GetHTMLText(HTML.N_GET_POPUPMENU);
&rs_var(&i).N_HR_EE_DB_WRK.N_RELATED_ACTNS.Value = &sPopUpMenuJavaScript | GetHTMLText(HTML.N_REL_ACTIONS, String(&i - 1), "N_PEOPLE_ID_DR", "%Image(PT_BTN_ARROW)", &rs_var(&i).N_MSSACTION_EMP.N_PEOPLE_ID.Value, &rs_var(&i).N_MSSACTION_EMP.N_PEOPLE_ID.Value);
End-For;
/*****************End - Related Actions*************************/
Note: “ String(&i - 1)” is required if this is used in grid/scroll else this can be eliminated.
Custom HTML object Definitions used in above code:
1. N_GET_POPUPMENU - (Object Type is HTML)
<script language="JavaScript">
function ShowPopUpMenu(sFieldName,nRow, sActionFieldName)
{
CreateContextMenu(sFieldName,nRow, 3,"", 0, 0,"","%FormName",sActionFieldName);
return ;
}
</script>
2. N_GET_POPUPMENU - (Object Type is HTML)
<a id="relatedActionsRow$%BIND(:1)" class="PSHYPERLINKNOUL" href="javascript:ShowPopUpMenu('%BIND(:2)','%BIND(:1)','relatedActionsRow$%BIND(:1)');" title="%BIND(:5)" ac="1" class="PTSESRSLTRLTDINFO">
<img border="0" src="%BIND(:3)" style="width: 12px; height: 8px; cursor: pointer; vertical-align:middle: text-bottom;" ac="1" noc="1">%BIND(:4)</a>
Friday, December 23, 2011
Portal and Page Style related links
Below are some useful links related to Branding and Look and Feel of pages and style.
E-PIA How Can We Determine What CSS is Controling An Object? (Doc ID 651874.1)
E-PORTAL: FAQ on Customizing the 'Look and Feel' of the HomePage (Doc ID 615589.1)
E-PIA: How to Change The CSS of Navigation Pages to Reflect Corporate Colors [ID 1054692.1]
E-PORTAL: How to change Look and Feel of individual Pagelet? [ID 641540.1]
E-PORTAL: Where Is There Documentation on Branding PeopleSoft Portal? [ID 755900.1]
E-PIA: PT8.50 How To Change Grid Highlighted Row Color And Clicked Row Color? [ID 1207633.1]
E-PIA: How to Change the Background Color for New Left Menu in PT 8.50? [ID 1286663.1]
E-AD: How to Create SWAN Stylesheets in PT 8.50 (Doc ID 1114254.1)
Friday, August 12, 2011
Link To Portal Folder
The below code can be used for a link to navigate to your portal folder.
Declare Function NavPageURL PeopleCode EOPP_SCRTN_WRK.FUNCLIB FieldFormula;
&LINKURL = NavPageURL(%Portal, %Node, "your-folder-object-name", "PSC", "", "", "False", "", "", "");
%Response.RedirectURL(&LINKURL);
Tuesday, November 9, 2010
Change Homepage Logo
1. NEW_PS_LOGO (Image Type) - To change the logo.
2. PORTAL_UNI_HEADER_NS4X (Html Type) - Change logo name on mouse over.
3. PORTAL_UNI_HEARDER_NNS (Html Type)
4. PT_BRANDING (Application Package Type) - Deals to manipulate homepage and portal look.
Note: Dont change image name in PT_BRANDING application package. Have a backup of original Image type as NEW_PS_LOGO1 and update NEW_PS_LOGO with your image.
Thursday, October 14, 2010
Overview Of Portal Registry And Content References
Portal Registry
Each portal is defined by a portal registry.
A portal registry has a tree-like structure in which content references are organized, classified, and registered.
A portal registry contains folders and content references.
In the portal registry, folders organize content references into a multilevel hierarchy
Every portal registry contains a root folder and a Portal Objects folder.
There are several ways to access and maintain the portal registry:
- Use the registration wizard to register content references, assign security, and update.
- Use the Menu Import feature to upgrade custom menu group definitions.
- Use portal administration pages to add, change, or delete folders and content references from a portal registry.
- Use the portal registry API for programmatic access to the registry.
- Use the security synchronization process to update the portal registry security based on the menu and script security.
Content references are definitions that have been entered or registered in the portal registry.
Content references fall into four categories:
- homepage tabs
- target content
- templates
- pagelets