My Oracle Support Banner

E-FLUID: Default Ceiling Values Are Showing as Zero For All The Form Factors (Doc ID 2908750.1)

Last updated on FEBRUARY 03, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 and later
Information in this document applies to any platform.

Symptoms

When the form factor method is used in any of the fluid component pre-build event, it's always returning Zero instead of default ceiling value.

The delivered Form Factors Ceiling (the maximum device width in physical pixels) values which shows up using the Form Factor method are given below.

%FormFactor_Small      519
%FormFactor_Medium   759
%FormFactor_Large      959
%FormFactor_Xlarge     999,999

Reference link: https://docs.oracle.com/cd/F44947_01/pt858pbr3/eng/pt/tpcr/langref_RequestClassMethods-0713ed.html

The issue can be reproduced with the following steps:

1. Create a Fluid Component Page or use a delivered component.
2. Add the below sample win messageunder pre build fluid component

WinMessage(String(%Request.BrowserDeviceFormFactor) | "," | String(%Request.FormFactor(%FormFactor_Large)), 0);

Result : This should return the Ceiling value as 959, but it's returning Zero.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.