Hiding Help Link Peoplesoft

  1. Hiding Help Link Peoplesoft Access
  2. Help Link Support Services

This section provides an overview of push buttonsand links and discusses how to:

  • Insert push buttons or links.

  • Specify type properties for pushbuttons or links.

  • Specify label properties forpush buttons or links.

  • Specify use properties for pushbutton or link.

  • Programmatically change hovertext for push buttons or links.

Understanding Push Buttons and Links

When an URL identifier is created, URL properties link on the page gets enabled. Users need to provide the URL properties specific to the protocol they are using on this 'URL properties' page. The URL properties differ based on the protocol choosen. Using the Help Link (UPK) in PeopleSoft. This course is required for staff with access to Campus Solutions pages in PeopleSoft. For more information and to register for this course, please. Change URL in peoplesoft. Ask Question 1. Can someone please tell me if the URLID in URL Maintenance under. Thanks Frank:) I have my URLID, I need to update it with the correct link. Can you please tell me the difference between external link static and dynamic? Asking for help, clarification, or responding to other answers. Sep 06, 2010  How to hide & unhide the grid from the page by using people code? Labels: PeopleSoft - Developer Posted by Ganesh on Tuesday, September 28, 2010 at 6:48 AM In the given example, user wants to hide and unhide the grid from the page by selecting the check box option on the page.

PeopleSoft Pure Internet Architecture supports thesefeatures for push button and link controls:

  • Selecting link style.

  • Selecting these types of pushbuttons and links:

    • External link.

    • Instant messaging action.

    • Internal link.

    • Page anchor.

    • PeopleCode command.

    • Process.

    • Prompt action.

    • Scroll action.

    • Secondary page.

    • Toolbar action.

  • Selecting these image options:

    • On mouse over.

    • When disabled.

Inserting Push Buttons or Links

After you add a push button or link control to yourpage, you can define the attributes by opening the Push Button/HyperlinkProperties dialog box.

To insert a push button or link:

  1. Selectselect Insert, then select Push Button/Hyperlink.

  2. Click where you want the upper,left-hand corner of the control to begin.

    A pushbutton of small image size appears.

  3. Double-click the push buttonto access the Push Button/Hyperlink Properties dialog box.

  4. On the Type tab, select whetherthe control appears as a push button, hyperlink, or action widgit.

  5. Select a destination type fromthe Destination drop-down listbox.

    See Specifying Type Properties for Push Buttons or Links.

  6. Select the record and field nameswith which you want to associate the push button or link.

  7. Select any of the remaining Type options based on your destinationtype.

  8. On the Use tab, select the purposeof the control.

    See Specifying Use Properties for Push Buttons or Links.

  9. Save the page.

Specifying Type Properties for Push Buttonsor Links

Access the Push Button/Hyperlink Properties dialogbox.

Image: Push Button/Hyperlink Properties dialog box:Type tab

This exampleillustrates the fields and controls on the Push Button/Hyperlink Propertiesdialog box: Type tab. You can find definitions for the fields andcontrols later on this page.

Type Tab

Each destination type that you select enables adifferent region on the Type tab, enabling you to further define yourpush button or link. Select one of these values from the Destination drop-down list box:

Type

Select a typeof push button or hyperlink. Options are:

  • Push Button: Adds control inthe shape of a button with borders that end users click.

  • Hyperlink: Adds a control of underlinedtext with no border that users click.

  • Action Widget: Adds a controlin the shape of a hyperlink that triggers JavaScript when clicked.When selected, the system defaults the Destination to PeopleCode Command andactivates the ActionWidget Settings group box.

ExternalLink

Accesses a uniform resource locator (URL). You canselect a value from the URL table or use the value of a record fieldto define the destination.

Selecting this option enables the External Link group box. You can chooseto have the URL encoded or not by selecting the Encoded by Application check box.

Selecting this option applies an external link toyour page in the form of a push button or link that accesses a newpage, taking the user to the external web site that you designate.To return to the primary page, the user closes the new page. Whensetting the record and field name, consider these points:

  • If you specify a dynamic externallink, you must enter a record name and field name.

    The system uses the value of the record and field specified as thevalue of the link.

  • Whether the external link isstatic or dynamic, you can use the specified record and field namesto control the page field in PeopleCode when you want, for example,to hide the link dynamically with PeopleCode.

  • The tool tip, or mouse overtext, that appears with the link at runtime comes from the RFT longlabel assigned to the record field.

    However,the RFT long label appears only if it is different from the assigneddisplay value of the link and it is not null. If the link appearsas an image button, the tool tip is derived from the label text ifit exists. Otherwise, the system uses the RFT long label.

InternalLink

Accesses a PeopleSoft page. Parameters include themenu path to the page and a check box to specify whether data fromthe current page should be used in the search dialog box.

Selecting this option enables the Internal Link group box.

Selecting this option adds an internal link in theform of a push button or link that you can use to access another componentor page from within the system or another PeopleSoft database or node.You can even specify the type of action mode to open in for that page.To control the push button or link in PeopleCode, enter the recordand names.

Like the external link, if you associate a recordand field name with this link, the tool tip that appears at runtimedraws from the RFT long label for the record field. However, the RFTlong label only appears if it is different from the assigned displayvalue of the link.

Instant Messaging Action

Select to add an instant messaging button to thepage. Associate the button with a record field that contains entriesin the form of <user>@network (such as John@Yahoo). For this purpose,we provide the MCFIMNETWORKS table. The MCFIMDOMAIN field is the sourcefor the instant messaging network providers. This table contains onlythree network providers: AOL, Yahoo, and SameTime Connect. You shouldnever enter additional networks not already in this table.

See PeopleSoft MultiChannel Framework.

Page Anchor

Enables the user to jump to the anchor tag thatyou designate for a page field on the General tab of the propertiesdialog box for that field.

Selecting this option enables the user to jump fromone destination (the link that you assign as the page anchor) to another(the field that you enable as the page anchor) in your page. Whenyou select this option, the page fields that you previously set aspage anchors on the General tab of the properties dialog box appearin the Related Control drop-downlist box in the Actions groupbox. You can place as many page anchor buttons or links on the pageas necessary.

PeopleCodeCommand

Associates a field in a record, so when the userclicks the push button or link, the system runs any FieldChange PeopleCodethat is associated with that field. Enter the record and field names.The field should have PeopleCode in the FieldChange event.

Process

Runs processes that you set up previously with PeopleSoftProcess Scheduler. Associate process push buttons with a specificprocess definition; the process is run each time that a user clicksthe button.

Selecting this value enables the Process group box, where you can specifythe type and name of the process that you want to run.

See Submitting Process Requests.

Prompt Action

Displays a prompt dialog box for a specific controlfield. Adds a custom prompt button or link next to a field on thepage in place of the standard prompt that is associated with thatfield. For example, you might want the prompt to read Find an Airport Code.

Selecting this value enables the Actions group box. In the Related Control drop-down list box, selectthe field that you want to associate with the prompt. The systemssets the action type, Prompt, automatically. Set the text label properties for the link on theLabel tab.

Scroll Action

Represents certain actions that a user can performon a grid, scroll area, and scroll bar, such as bottom, top, insertrow, and so on.

Use to provide action buttons for the grid, scrollarea, or scroll bar in areas outside of that control, such as at thebottom of the page or outside the borders of the control.

Selecting this value enables the Actions group box, where you can specifythe action type and related control. The Action Type field enables you to select the action tobe performed in the specific level. The level is specified in the Related Control field. Specify one of thefollowing scroll actions: Bottom, Next, Previous, Row Delete, Row Insert, and Top.

For example, if you want a user to be able to movethrough a page at runtime, set the action type to Next or Previous and specify which scroll area you want those actions to control.

SecondaryPage

Access an existing secondary page. After you designa secondary page, you must associate it with a control on the primarypage. The secondary page push button or link is the starting pointfor the user of that secondary page. Selecting this option enablesthe Secondary Page group box,where you can select the name of the secondary page that you wantto associate with the push button or link.

ToolbarAction

Represents the various toolbar actions availableto the user. A user can perform several actions on a page, such assave, display the next page in a group, correction mode, and so on.These normally reside on the toolbar at the bottom of each PeopleSoftPure Internet Architecture page. Use this type of push button or linkfor placing save, next in list, or other toolbar functions on thepage.

Selecting this value enables the Actions group box, where you can specifythe action type: Add, Correction, Nextin List, Next in Worklist, Next Page, Notify, Previousin List, Previous in Worklist, Previous Page, Refresh, Returnto List, Save, Update/Display, Update/Display All, or ViewWorklist.

External Link Group Box

In this group box, select Dynamic or Static and enter the URL ID, if necessary. Select a value from the URLMaintenance table of a record field to define the destination. Forexample, a derived record field might be used to set the destinationvalue dynamically at runtime. The value of the derived record fieldis placed in the <HREF> tag of the HTML.

See URL Maintenance.

Internal Link

Portal

Select the portal to which you want the internallink to point. Use Current isthe default. Valid values include all of the values in the PORTAL_NAMEcolumn of the PSPRDMDEFN table.

Node

Select the PeopleSoft database to which you wantthe internal link to point. Local stands for the node that is marked as the default only. If the contentreference you need is registered with a non-default local node, makesure you choose the exact same value from this drop-down list box.

Valid values include all of the values in the MSGNODENAMEcolumn of the PSMSGNODEDEFN table. If you select a node other than Local, the Usedata from current page in search check box is deselected.

The node that you select should match the node forthe destination component in the Registration Wizard or on the ContentRef Administration page. Select select PeopleTools, then select Portal, then select Structure and Content. Click the Edit link to access the Content Ref Administration page.

Menu

Select the menu name in which the destination pageis contained.

Component

Select the component in which the destination pageis contained. These values depend on the menu that you select.

Market

Select the market of the destination component.

See Specifying Market-Specific Components.

Page

Select the page that should be active. These valuesdepend on the component that you select.

Action

Select the action mode in which you want the pageto begin.

Use data from currentpage in search

Select if you want data from the current page tobe used in the search dialog box. This option ensures that the newpage inherits the proper keys from the context of the current page.The process is almost identical to the Transfer( ) PeopleCode function, and it performs asimilar function.

If this check box is selected, the system discardsthe existing keylist; builds a new keylist from the current componentbuffer using the context of the field (when a choice exists betweenrows in a scroll area); and uses this keylist to start the new component.

If this option is deselected, the system uses theexisting keylist in the normal manner.

Action Widget Settings GroupBox

The default usage for the action widgetis to add a control to a page that when clicked displays a drop-downmenu, containing the related actions associated with that page. However,this widget can also be used to trigger any JavaScript, which providesan alternative to using PeopleCode to invoke the JavaScript.

Use Default JavaScript

Select to makethe Custom JavaScript edit box read-only and populate the edit boxwith the with the default JavaScript, RelatedActionJS.

If you want torevert the field to the default, just select this checkbox and thesystem repopulates the field with the default value.

Custom JavaScript

When enabled,enter the name of the custom JavaScript to execute.

See Understanding the PeopleSoft Related Content Framework

Specifying Label Properties for Push Buttonsor Links

This section discusses how to:

  • Specify a text label.

  • Specify an image label.

Image: Push Button/Hyperlink Properties dialog box:Label tab

This exampleillustrates the fields and controls on the Push Button/Hyperlink Propertiesdialog box: Label tab. You can find definitions for the fields andcontrols later on this page.

Specifying a Text Label

To specify a text label for a push button or link:

Note: For an ActionWidget, only a Label Type of Text is valid.

  1. Access the Push Button/HyperlinkProperties dialog box.

  2. Select the Label tab.

  3. In the Type group box, select Text.

  4. Select the size.

    Standard push buttons can be one of three sizes, dependingon what kind of text or image you want to display on the button face.

    Small Image

    Creates toolbar-sized buttons that handles small16 × 16 pixel images.

    Large Image

    Handles 32 × 32 pixel images.

    Standard Text

    Matches the Microsoft standard dimensions for textpush buttons.

    Custom

    Select if none of these sizes meets your needs.When you click OK, the pushbutton displays selection handles that you can use to resize it.

  5. Specify the type of label text.

    Depending on the destination type that you selected,the values in the Type drop-downlist box differ.

    Message Catalog

    Select to reference a message that exists in themessage catalog. Enter the message set and number. Message catalogitems are all translatable.

    RFT Short (recordfield table short)RFTsetting button/link labels

    Select to label the push button with the short namefor the field from a record definition. The RFT stores attributesfor fields in a record definition. Use this option only if you specifieda record definition and field name on the Type tab in the Push Button/HyperlinkProperties dialog box. The RFT short name appears on the push buttonwhen you click OK and returnto the page. Select the label ID if you do not want to use the defaultlabel if more than one label has been set for the record field.

    RFT Long (recordfield table long)

    Select to label the push button with the long namefor the field. Use this option only if you specified a record definitionand field name on the Type tab in the Push Button/Hyperlink Propertiesdialog box. The RFT long name appears on the push button when youclick OK and return to the page.Select a different label ID if you do not want the default label ifmore than one label has been set for the record field.

    The system uses the RFT long label as the tool tipat runtime for links if it is different from the assigned displayvalue of the link and it is not null. If more than one label is storedfor the record field, you can select an alternate tool tip from the Label ID drop-down list box.

    Static Text

    Select to enter the text to appear on the label.

    URL Description

    Select if you selected External Link as the destination on the Type tab. Selectthe style from the drop-down list box.

    See Understanding Style Sheets and Style Classes.

  6. Select the alignment.

    This option is only available if you selected Hyperlink for the type on the Type tab.Push button text is automatically centered for controls that appearas push buttons. Push buttons with text and images are automaticallycenter-aligned when used in grids.

Note: Some browsers do not support customized push buttons.

See Troubleshooting BrowserLimitations available on the My Oracle Support website:support.oracle.com.

Specifying an Image Label

To specify an image label for your push button orlink:

  1. Access the Push Button/HyperlinkProperties dialog box.

  2. Select the Label tab.

  3. Select Image for the type.

  4. Specify the size.

    If you select Custom, the Image/Format Size groupbox becomes available.

    Scale

    Select to adjust the width and height as percentages.

    Size

    Select to set the image size by altering the widthand height in pixels.

    Reset to actual imagesize

    Resizes the image according to its natural size.That is, the image size is not manipulated by custom width or heightvalues.

  5. Specify the image ID.

    Select one of the predefined image definitions or clickthe Browse button to view pushbutton images.

    See Understanding Image Definitions.

  6. In the Alt tag for image group box, specify the hover text type.

    Message Catalog

    Select to reference a message that exists in themessage catalog. Enter the message set and number. Message catalogitems are all translatable.

    RFT Long (record fieldtable long)

    Select to use the long name of the record fieldas the hover text. Use this option only if you specified a recorddefinition and field name on the Type tab in the Push Button/HyperlinkProperties dialog box.

    The system uses the RFT long label as the tool tipat runtime for links if it is different from the assigned displayvalue of the link and it is not null. If more than one label is storedfor the record field, you can select alternate hover text from the Label ID drop-down list box.

    RFT Short (recordfield table short)

    Select to use the short name of the field as thehover text. Use this option only if you specified a record definitionand field name on the Type tab in the Push Button/Hyperlink Propertiesdialog box. If more than one label is stored for the record field,you can select alternate hover text from the Label ID drop-down list box.

    Static Text

    Select to enter the text that will appear on thelabel.

  7. (Optional) Select the image thatwill appear on a mouse over.

    For example, youmight want to highlight an image so that users can easily see whichoption they are selecting.

  8. (Optional) Select an image thatwill appear when the button is disabled.

Specifying Use Properties for Push Buttons orLinks

Access the Push Button/Hyperlink Properties dialogbox and click the Use tab.

Image: Push Button/Hyperlink Properties dialog box:Use tab

This exampleillustrates the fields and controls on the Push Button/Hyperlink Propertiesdialog box: Use tab. You can find definitions for the fields and controlslater on this page.

Field Use Options

This table describes the Field Use options:

Hiding
Enable When Page is Display Only

Select to make the push button or link availableto users who have display-only access to this page.

Display-only access is set in the permission listproperties.

Open in New Window

Select to open the target content page in a newbrowser window. This option is enabled when the destination type iseither Internal Link or External Link. This option and Replace Current Window are mutually exclusive.

Replace Current Window

Select to replace the existing content in the targetarea. This option is enabled when the destination type is either Internal Link or External Link. This option and Open in New window are mutually exclusive.

Activate by Enter Key

Select to activate the push button or link whenthe user presses the Enter key. You can have more than one pushbutton or link with this feature set per page, as long as only oneof these fields is enabled at runtime. Otherwise, only one push buttonor link with this attribute enabled is allowed per page. This featureis available for all control types except external links.

When using Activate by Enter Key in a scroll areaor grid with an occurs count greater than one, the Enter key triggers the first row only.

Note that on a secondary page with the standard OK and Cancel buttons enabled, the Enter key activates the OK button rather than a custom button orlink.

Set Component Changed

Enables the system to issue a save warning for thefield if the user changes the value and attempts to exit the pagebefore saving. This setting reinforces current save warning behavior.This option is set by default for edit boxes, long edit boxes, radiobuttons, check boxes, and drop-down list boxes. Deselecting this optionoverrides the save warning that normally appears to users. The userwill not see a save warning after changing the value of the fieldand attempting to exit the page. An example of when this might benecessary is for a drop-down list box that includes links to anotherpage. If the user selects a link from this field to transfer to anotherpage but has not made any other changes to the page, then the systemis not required to issue a save warning.

By deselecting the Set Component Changed flag, youensure that no save warning message is issued for this field. Thisoption works for fields associated with a derived work field or databaserecord field.

For the push button/hyperlink control, the defaultsetting is deselected instead of selected, unlike with other pagecontrols.

Persist Grid Column in Menu

Select to include the field as a list box itemin the persistent search results grid. You must also select the Persistin Menu grid property for the grid that contains the field.

This property is disabled on check boxes and radiobuttons.

You must enable recent search results caching atthe system level in the web profile for this property to take effect.

Note: This property applies only to fields that appear in grids on pages that are used as custom,application-specific search pages.

Grid Cell Alignment

Push buttons with images or text are center-alignedautomatically when in a grid. Otherwise, select Left, Centered, or Right.

Note: Grid cell alignment properties are only enabledwhen the control is contained within a grid and the control type isconfigured as a text hyperlink.

Mouse Over Popup

Select the Display Only check box to enable the Mouse Over Popup options.

Note: The mouse overoption is intended for hyperlinks and display-only edit box fields,not for Push Buttons.

Select from thesemouse over pop-up options:

No Popup

Select to have no pop-up page. This value is thedefault.

Page Popup

Select to associate this control with a pop-up pagethat you select from the drop-down list box. Only pop-up pages appearin the Page Popup drop-downlist box.

Message Catalog Popup

Select to associate this control with a system-definedmessage pop-up page that displays a message from the Message Catalog.You can design and implement Message Catalog pop-up pages to be contextsensitive. When you select this option, the Message Set/Number fields are enabled.

See PeopleBooks and theOnline PeopleSoft Library, Managing the PeopleSoft OnlineLibrary and PeopleBooks Integrating Context Sensitivity.

See Message Catalog.

Message Set/Number

Enter the message set and message number of themessage. These fields are enabled when you select Message Catalog Popup.

Text

Displays the message text of the message set/numberthat you select. This field is display-only.

Note: Attempts to make a push button/hyperlink editableat runtime when it has a mouse over pop-up page associated with it,for example, using PeopleCode, will fail.

Related Links

Programmatically Change Hover Text for PushButtons or Links

Hover text or mouse over text enables you to displayadditional or supplemental information about a button or link. Undercertain circumstances, you might want to vary the hover text basedon the context of application data on the page.

You can alter hover text by using the PeopleCode HoverText Field property. This propertysets the hover text for any buttons or links associated with the field.The maximum length of hover text is 100 characters. You can use theMessage Catalog to store hover text.

Example: Changing Hover Text Programmatically

To set hover text for a push button or link at runtime,use PeopleCode to define the HoverText property for a field definition.

QE_ABSENCE_HIST.QE_ABSENCE_TYPE.HoverText= MsgGetText(95, 5037, 'Personalize Layout');

Note: The HoverText Fieldclass property is available for the push button/hyperlink page controlonly.