APPLICATION DESIGN


Creating an action hotspot
In IBM® Lotus® Notes®, an action hotspot completes a programmed task using simple actions, formulas, LotusScript, JavaScript, or Common JavaScript. Use Common JavaScript so that the action hotspot can be used in both a Web browser and the Notes client.

1. Open the form, subform, or page on which you want to add the action hotspot.

2. Select text or an image to associate with the action hotspot.

3. Choose Create - Hotspot - Action Hotspot.

4. On the Hotspot Info tab of the Action HotSpot Properties box, specify the frame in which you want the data to display when the user clicks the link hotspot. You can also choose to have a border appear around the hotspot.

5. (Optional) On the Hide When tab, specify when to hide the hotspot.

6. In the Info List, click Objects and select the action you just created.

7. Program the action hotspot to run one of the client or one of the Web program code types by choosing either Client or Web at the Run pull-down list.

8. Save the form, subform, or page.

Other action hotspot tasks
Action hotspot taskSteps
To change propertiesClick the hotspot and choose Hotspot - Hotspot Properties.
To delete, but keep the associated textClick the hotspot and choose Hotspot - Remove Hotspot.
To change automationClick the Hotspot entry in the Objects list and edit the programming in the Script area.
To call an agent Use the @Command([RunAgent]) or the OpenAgent URL command.

See Also