« Back to Product

Documentation

GetVisualizationTile

Require: IP-Symcon >= 7.1

 string GetVisualizationTile ()

Returns

Initial display of a representation via HTML SDK

Description

If the HTML-SDK is to be used, this function must be overwritten in order to return the HTML content.

Warning

For easier processing, it is usually worth defining the constant part of the display in an HTML file instead of writing it out completely in this function

Example

void GetVisualizationTile() {
  // Directly return the contents of the module.html in the same directory
  return file_get_contents('./module.html');
}
Any questions?