GroupletAutoSize property: Content Reference class
Description
Use the GroupletAutoSize property to set or return a Y/N string value indicating whether to allow the fluid content to dynamically resize itself based on the size of the content. Note the following conditions and limitations with respect to the autosize option:
-
The autosize option pertains to tiles and related information, but not to embedded related content.
-
The autosize option is best used on dashboards with few tiles. Be aware that layout changes can occur from the autosized content.
-
Autosize automatically accounts for resizing of the browser and rotation of the device.
-
The autosize and resizable options are mutually exclusive; both cannot be selected simultaneously.
-
The tile will not resize itself to larger than the dimensions of the device.
-
If the content is larger than the size of the tile, the tile will display scroll bars.
-
Due to the same-origin policy implemented by web browsers, for the autosize option to work with external content, the external content and the PeopleSoft application must either reside within the same domain or they must both set the document.domain property to the same value. Otherwise, the autosize option is ignored. For more information on how the domain and same-origin is determined, see Same-origin policy.
This property is read/write.
Important:
Use this property within fluid applications only.
Example
If &CRef.GroupletAutoSize = "Y" Then
&CRef.GroupletAltHeight = 0;
&CRef.GroupletAltWidth = 0;
End-If;