Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook

You're reading from   Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook A practical step-by-step guide to develop end-to-end extensions to Oracle E-Business Suite Release 12, with detailed illustrations and explanations

Arrow left icon
Product type Paperback
Published in Mar 2013
Publisher Packt
ISBN-13 9781849687126
Length 398 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Andy Penver Andy Penver
Author Profile Icon Andy Penver
Andy Penver
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Personalizing OA Framework Pages FREE CHAPTER 2. Getting Started with OA Framework Pages 3. Creating a Master Detail Page in OA Framework 4. Adding a Creation Page and LOV Region in OA Framework 5. Advanced OA Framework 6. BI Publisher 7. Desktop Integration 8. Utilities Index

Adding tool tips


A tool tip is used to add text to a screen to provide information about a region or item. In this recipe, we are going to add some tips to the screen. We will be adding a simple tool tip to a page and we will also add text that we retrieve from a message stored in the message repository. We will also show the difference between a short tip type and a long tip type. We will perform the following tasks in this recipe:

  • Adding a tool tip to a page

  • Creating new messages

  • Adding a short tip type

  • Adding a long message tip type

Adding a tool tip to a page

We are now going to add a tool tip to a page. It could relate to anything and really does depend on what we are trying to achieve. Common uses for tool tips are providing information about a region and instructions about an item on a page.

How to do it...

To add a tooltip, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Absence Management.

  3. Click on the Action icon.

  4. Click on the Personalize Page link at the top-right corner of the page.

  5. Click on the Complete View radio button.

  6. Click on the Expand All link.

  7. On the top line of the page (Page Layout: Oracle Self Service Human Resources: Absence Management), select the Create Item icon as shown in the following screenshot:

  8. From the Level drop-down list, select Site.

  9. From the Item Style drop-down list, select Tip.

  10. Complete the properties of the item as per the following table:

    Property

    Value

    ID

    XX_ABS_TIP

    Text

    XX Absence Management region tip

  11. Click on the Apply button.

  12. Scroll down to the bottom of the application and click on the Return to Application link.

How it works...

We have just added a tip to a page and can see the results in the following screenshot:

Creating new messages

We can also use the message dictionary to use as a tip. This will allow us to modify the screen tip or merge data into the message, if required. We will now define two messages in Oracle EBS, which we will use to create a short tip and a long tip on a page. Each message, by default, displays this text before each message: APP:<application short name>-<Number> unless the number field is null or 0.

How to do it...

To create a message, perform the following steps:

  1. Log in to Oracle with the Application Developer responsibility.

  2. Navigate to Application | Messages and the Messages window will open.

  3. Create a new message with the following data:

    Item name

    Item value

    Name

    XX_ABS_TYPE_ST

    Language

    US

    Application

    Application Object Library

    Number

    0

    Current Message Text

    Absence Type Short Tip

  4. Save the form.

  5. Create the second message with the following data:

    Item name

    Item value

    Name

    XX_ABS_TYPE_LT

    Language

    US

    Application

    Application Object Library

    Number

    0

    Current Message Text

    This is a longer tip that may span multiple lines.

  6. Save and exit the form.

The form should appear as shown in the following screenshot (the image has been amended to remove blank lines):

How it works...

We have now configured our message that we will use to create our short and long tip personalizations.

Adding a short tip type

We are now going to create a personalization that will add a short tip to a self-service screen. The short tip called XX_ABS_TYPE_ST will reference the message that we have just created.

How to do it...

To add a short tooltip on an item, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Absence Management.

  3. Click on the Action item.

  4. Under the Absence Summary tab, click on the Personalize Search link in the Search region.

  5. Click on the Personalize icon for the Message Choice: Absence Type item.

  6. Click on the Choose Levels Displayed button.

  7. Shift all of the items other than Site and Responsibility back to the Available Levels side as summarized in the following screenshot:

  8. Click on the Apply button.

  9. Set Tip Message Name at responsibility level of XX_ABS_TYPE_ST.

  10. Set Tip Type at the Responsibility level to shortTip as shown in the following screenshot:

  11. Click on the Apply button.

  12. Click on the Return to Application link.

How it works...

We can see that the message is displayed as a tip underneath the Absence Type field as shown in the following screenshot:

Adding a long message tip type

We are now going to create a personalization that will add a long tip to a self-service screen. The short tip will reference the message we have just created called XX_ABS_TYPE_LT. We will see the difference between the tips we have created and how they are displayed on the screen.

How to do it...

To add a long tool tip on an item, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Home | Absence Management.

  3. Click on the Action icon for an employee record.

  4. Under the Absence Summary tab, click on the Personalize "Search" link in the Search region.

  5. Click on the Personalize icon for the Message Choice: Absence Type item.

  6. Click on the Choose Levels Displayed button.

  7. Shift all of the items other than Site and Responsibility back to the Available Levels side.

  8. Click on the Apply button.

  9. Set Tip Message Name to the responsibility level XX_ABS_TYPE_LT.

  10. Set Tip Type to the responsibility level longMessage, as shown in the following screenshot:

  11. Click on the Apply button.

  12. Click on the Return to Application link.

How it works...

We can see an icon next to the Absence Type field and when clicked, it opens a new window with the message text from the XX_ABS_TYPE_LT message we created earlier, as shown in the following screenshot:

You have been reading a chapter from
Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook
Published in: Mar 2013
Publisher: Packt
ISBN-13: 9781849687126
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime