Using Push Buttons and Hyperlinks

 

Using Push Buttons and Hyperlinks

 

I thought I would take the time to write out some of the capabilities of using a Push Button or a Hyperlink on your PeopleSoft Pages.

PeopleTools allows you to add buttons and hyperlinks to your web pages. A push button and a hyperlink are really the same thing. The only difference is their appearance, which you choose when you create the button.

When you create push buttons you have several different options for the type that you will use. The most commone type of Push button is a PeopleCode push button. PeopleCode push buttons are attached to a field on a record definition, just like an edit box on a page. You must place your PeopleCode program within the FieldEdit and/or FieldChange event of the Record PeopleCode.

When push button is selected, FieldEdit or FieldChange PeopleCode that has been attached to that field will be performed.

You can also choose other actions for your push button. You can link a push button or hyperlink to any one of nine different actions:

·  External Link

·  Internal Link

·  Page Anchor

·  PeopleCode command

·  Process

·  Prompt Action

·  Scroll action

·  Secondary page

·  Toolbar action

Push buttons allow the application developer the flexibility to trigger processing based on a user request by clicking the push button or hyperlink.

There are many uses for hyperlinks and push buttons. For example,push buttons can be used to trigger an email, perform data inquiries, assign defaults or accomplish whatever you want.

Just remember that push buttons are attached to fields on a page. It can be any field, on any record definition. However, most buttons and hyperlinks are attached to derived/work records.

Event Sequence for Push Buttons
When a push button is selected, the component processor determines the field where it is attached. Any FieldEdit PeopleCode attached to the field is then executed. Once the FieldEdit executes successfully, FieldChange PeopleCode is triggered.

Steps to create a Push Button or Hyperlink:

1. Add your Push Button or Hyperlink control to the page and attach it to a record / field.

2. On the Page Field Properties, select the action for the button and set its properties.

3. If you are using PeopleCode, place your Program within the FieldEdit/FieldChange event(s). When the push button is selected, the Component processor determines the field where it is attached, then any FieldEdit and FieldChange PeopleCode attached to the field is executed.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值