If you set device settings in the Preview Settings interface in Workbench in Tool and Frameworks 11.1, you need to manually update these settings in 11.2.
Oracle Commerce added height and width properties to preview settings for devices in 11.2. You must enter values for these settings for all devices after you migrate to 11.2.
All devices can be rotated while previewing a page, so you no longer need to enter a device profile for both landscape and portrait views of the same device. You can enter the height and width of the page orientation that is previewed more. If you had pairs of devices for portrait and landscape views in 11.1, you can remove one profile for each pair after you migrate. You must also update the names of devices.
Follow these steps:
For each device or pair of devices follow these steps:
In the Manage Preview Devices section, delete one of the preview setting profiles for each device pair.
For the remaining profile for the device, enter values for the height and width of the page orientation that is previewed more often.
Optionally, enter a zoom factor.
The zoom factor can simulate displays on devices other than the current monitor. For example, the display on a retina display monitor can be simulated by setting the Zoom factor to 30 -- that is, 30%.
Example 1. Example
The following example shows the device preview settings before and after they have been manually updated.
Name |
User Agent |
Height |
Width |
---|---|---|---|
Handheld (Landscape) |
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3 | ||
Handheld (Portrait) |
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3 |
Name |
User Agent |
Height |
Width |
---|---|---|---|
Handheld |
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3 |
680 |
400 |