Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion CRM
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

×

Warning

JUser: :_load: Unable to load user with ID: 1794

Working with Dynamic Layouts

Create a dynamic layout

In this practice you will create two additional dynamic layouts for the opportunity detail page in the simplified UI. One of these pages will be based on a record type field, and the other will be based on a Groovy expression.

You should set these rules:

If the Win Probability is < 60%, show a default layout

If the Win Probability is < 60% and the Access Level is set, show a secure layout

If the Win Probability is > 60%, show a high-probability layout.

Tasks

1. If you are currently signed in to the application, sign out. Then sign in to the Simplified UI using your assigned login.

2. In the global area at the top of the page, verify that you are in a sandbox.

 

DynamicLayout1

 

3. Create a record type field for the opportunity object.

a. Navigate to Application Composer.

b. Set Application = Sales.

c. Expand Standard Objects.

d. Expand Opportunity.

e. Click Fields.

 

 

f. Verify that there is not currently a custom field with Type = Record Type.

Note: Objects can have only one Record Type field.

g. Create a new field with Type = Record Type.

 

h. Set:   Display Label                      Access Level
Name                                    AccessLevelGTS

i. For Lookup Type, create a new Lookup Type with:

Meaning                              Access Level GTS

Lookup Type                      EXT_ACCESS_LEVEL_GTS

 

j. Create three lookup codes:

k. Be sure to Save the newly created lookup codes.

Meaning

Lookup   Code

Display   Sequence

Standard

STANDARD

1

Executive

EXECUTIVE

2

Secure

SECURE

3

 

 

 

 

l. Set Default Value = Standard

 

m. Examine the table of roles. For each role:

  • The "Available Record Types" list allows you to select which record types that role can access. This allows you to limit the user's available selections. For example, only roles with security clearance should be able to set the access level to "Secure".
  • The "Default Record Type" list sets the default type for when a user with that role creates a new record. This overrides the default value set in the Default Value section.

Because your student login has many roles assigned (which is not typical of a normal user), locking out the secure role would involve adjusting every role in the list, therefore, you will not modify the defaults in this practice.

n. Click Save and Close.

 

o. Add the Access Level field to the default layout.

1) In the regional area, under Opportunity, click Pages.

2) Click Simplified Pages.

3) In Details Page Layouts, select the Default Layout record.

4) Click Edit.

 

5) In Summary, click the Edit icon.

 

6) Add the Access Level field to the Selected Fields.

 

DynamicLayout11

7) Click Save and Close.

8) Click Done.

4. Create a dynamic layout that hides the Revenue field based on the value in the record type field.

a. In Details Page Layouts, select the Default Layout record.

b. Click the Duplicate Layout icon.

 

DynamicLayout12

 

c. Set New Layout Name = Insecure Layout.

d. Verify that Source Layout = Default Layout.

 e. Click Save and Edit.

f. In Summary, click the Edit icon.

g. Remove Revenue from the selected fields list.

DynamicLayout14

h. Optionally, remove additional fields; be sure not to remove the Access Level field, as this layout's visibility will depend on that field.

i. Click Save and Close.

 j. Click Done.

 k. On the Insecure Layout record, Open the Type list.

l. In the Available Record Types dialog box, select Specific Type.

m. Move Standard to the Selected list. Standard users will not see revenue.

 n. Click OK.

 

 

5. Create a dynamic layout that reorders the subtabs based on the Win Probability field.

a. In Details Page Layouts, select the Default Layout record.

b. Click the Duplicate Layout icon.

c. Set New Layout Name = High Probability Layout.

d. Set Source Layout = Default Layout

.e. Click Save and Edit.

f. Move the Interactions subtab to just below the Contacts subtab.

 

1)Above the subtabs, click the up down icon . 

2) In the Configure Subtabs dialog box, use the up and down arrows to reposition the Interactions subtab below Contacts.

 3) Click OK.

g. Click Save and Close.

     h. Click Done.

 

i. Create an advanced expression that applies this layout when the Win Probability is over 60%.

1) In the High Probability Layout, click the Advanced Expression DynamicLayout30 icon.

 

2) At the top-right, set Depends On = Win Probability.

   If you see more than one Win Probability, select them all.

 

3) In the code box at the bottom, copy this code. You will learn more about Groovy Scripting in subsequent lessons.

if (nvl(WinProb, 0) >= 60)

return(true);

else

return(false);

 

 

At the bottom of the window, click OK.

Test the results.

a. Click the Home icon.

b. Click Yes.

c. If you get an error, sign in again.

d. Navigate to Opportunities.

e. Create Test Opportunity EXT nn, where nn is your student number

 f. Save and Close

g. Drill onto the Opportunity you just created.

h. Set Win Probability = 10%.

i. Notice that the Interactions subtab is not right under Contacts.

 

DynamicLayout26

 

j. Set Win Probability = 70%.

k. Click to a different field.

l. Notice that the Interactions subtab is now right under Contacts.

 

DynamicLayout27

 

j. Set Win Probability = 70%.

k. Click to a different field.

l. Notice that the Interactions subtab is now right under Contacts.

 p. Set Access Level = Standard.

q. Notice that the Revenue field is no longer shown

 

DynamicLayout29

 

r. Set Win Probability = 70%.

s. Click to another field.

t. Notice that the Revenue field is now shown again, even though the Access Level has not changed.

This demonstrates why carefully ordering your layouts is extremely important: The first layout whose conditions match will be applied, and the other layouts will be ignored.

u. Click Save and Close

 


Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  May 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
    1  2  3  4  5
  6  7  8  9101112
13141516171819
20212223242526
2728293031  

Enquire For Training

Related Items

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner