Article - CS369867

Detect Resolution of Monitor viewing a ThingWorx Mashup

Modified: 17-Jul-2025   


Applies To

  • ThingWorx Platform 9.3 to SP8

Description

  • Determine the resolution of the monitor/screen presently viewing the ThingWorx Mashup
  • Set a popup height and width as a percentage of the screen's resolution
  • In ThingWorx 9.3, mashup runtime logs show below warning:
    • Evaluation of expression "ScreenResolution" failed. ReferenceError: screen is not defined
This is a printer-friendly version of Article 369867 and may be out of date. For the latest version click CS369867