Skip to main content

Complete Dedicated Setting sample

The producer panel provides a sample HTML file that combines the Dedicated Setting APIs into one working configuration page.

What the sample demonstrates

  • reading projectId, token, deviceSerial, operationName, and operationId from the query string;
  • loading Project Devices, Places, and server scenarios;
  • loading previously saved setting data;
  • building the final JSON configuration;
  • saving the configuration back to AirNgin.

Download

Download the sample from the producer panel section where the Dedicated Setting HTML editor is available.

The sample is a starting point, not a mandatory visual template. You can redesign the HTML/CSS/JavaScript as needed, but keep the documented query-string and API contracts intact.