Sei sulla pagina 1di 11

Graham's PeopleSoft Blog: Step by Step

1 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

i-like-trains.blogspot.co.id

Graham's PeopleSoft Blog: Step by


Step
PeopleTools 8.54 delivers Fluid, a complimentary new user
interface designed for mobile and desktop devices (see it in action
here). If you don't already have tools 8.54 installed grab Image 008
for HCM or FSCM (see Doc ID 164184.2 on MOS) and follow this
simple step by step guide to create your first Fluid application. If
you know Application Designer then all of this will be familiar.
You'll need access to a PeopleTools 8.54 environment and
Application Designer. I hope some find this useful.

Step 1 - Enable the Fluid Homepage


In the FSCM 008 image and maybe the HCM image the link to the
Fluid Homepage is not visible (even though it exists in the Portal
Registry). Follow this video to enable the link . Basically you just
need to create a new content reference link based on the existing
Fluid Homepage link.
Step 2 - Create a Fluid Page
Note the new definition type of Page (Fluid). However, a Fluid
Page is just a Standard type Page with the Fluid checkbox ON in

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

2 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Page Properties / Use.

You'll be prompted to select a Layout Page. Layouts (as the name


suggests) control the page framework. A Fluid Layout page is a
Page of type Layout. For this sample app we'll use a simple,
predefined layout called PSL_APPS_CONTENT which gives us a
simple, single frame view.

Name the page and SAVE. It will prompt to copy PeopleCode but
this page layout has no PeopleCode so it won't matter what you
select here.

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

3 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Let's put a button and a description field on our page. When the
button is clicked we want to display "Hello World". So, create a
work record and add ACCEPT_BTN and DESCR fields along with
some PeopleCode on FieldChange event of the button field.
GRS_FLUID_WRK.DESCR = "Hello World";

Now we'll just set the button link properties to tidy up the display,

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

4 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

5 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Step 3 - Create a Fluid Component


Now we'll create a Component and add the new page.

And now the "magic sauce".... TICK the Fluid Mode property on the
Fluid TAB. It's this property that tells PIA to render this component
in Fluid rather than "Classic" mode.

Our sample application won't be displaying any data so we'll set the
search record to the commonly used INSTALLATION table.

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

6 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Step 4 - Add Component to Menu


Save your new component and Add to a menu. As with all other
components the purpose of adding to a menu is to allow permission
lists to grant security access.

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

7 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Step 5 - Register the Component


Now, with the Component open click the Register Component
button to invoke the portal registration wizard.

To keep things simple we're going to add our Fluid application to


the portal folder PTFL_PEOPLETOOLS. You can of course create
3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

8 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

your own portal folders to organise Fluid Applications or add them


to existing folders.

Again, just to keep things in this walk through simple I'm using the
ALLPAGES permission list to grant access for my user (in this case
VP1) .

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

9 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Step 6 - Add the new Application Tile to your Homepage


Access the Fluid Home Page.

Use the Personalize menu item to add a new Tile to your


homepage.

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

10 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

Here's what your new Tile should look like. The icon and label are
set in the Structure & Content / NUI Attributes TAB. (See Appendix
below)

Click the Tile and test your application.

3/8/2016 2:29 PM

Graham's PeopleSoft Blog: Step by Step

11 of 11

about:reader?url=http://i-like-trains.blogspot.co.id/2014/10/step-by-step-...

You may notice that it doesn't seem to matter where on the page
you place the fields - the layout will always be the same. This is
because unlike the "pixel perfect" Classic interface the Fluid UI is
designed to be "responsive" to the size of the display device and so
will control the layout of page objects in a free-flow style. What's
controlling the field sequence on the page is the Field Order.

Appendix - How to control Tile Display


The Tile contents, Size and Behaviour can be set using the NUI
Attributes on the CREF in Structure and Content. The contents can
be either
a static label and icon
HTML returned by an iScript
results from any component
results from a PeopleSoft URL

3/8/2016 2:29 PM

Potrebbero piacerti anche