Changing Layouts in Dynamic Components Based on a Page Variable by Bino Kohli

image

In this blog, you will see how to use a page-level variable to switch the dynamic layouts attached to a dynamic form. This lets you tailor the content the user sees—as well as the actions and interactions the user has access to—based on the user’s context. If you are new to dynamic components check out this intro.

Dynamic components use rules that you define to decide which UI elements to show and how to show them.  By adding a page-level variable to a dynamic component’s context, you can conditionally show fields and elements in the layouts attached to the component.

For example, suppose you want to set up two profiles:

· Internal Profile – which is visible to internal employees within the organization. This layout includes the fields Name, Phone Number, Email, Details about internal training, Skills, and Internal feedback.

· External Profile – which is visible to people outside the organization. In this layout, we want to show the fields Name, Phone Number, Email, Skills, and Recommendations.

Check out this video to see how to create a dynamic form that displays a different layout depending on the component’s context, which is tied to a page-level variable. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.