Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
indigo_2023.1_documentation:plugin_guide [2025/09/23 09:56] – [Custom HTML Config Dialogs] davel17indigo_2023.1_documentation:plugin_guide [2025/10/22 14:45] (current) – [Custom HTML Menu Item Dialogs] davel17
Line 1134: Line 1134:
 === Custom HTML Menu Item Dialogs === === Custom HTML Menu Item Dialogs ===
  
-You can also implement your own custom menu item form in HTML if you prefer. Rather than adding //''<CallbackMethod>''// and  //''<ConfigUI>''// definitions, you simply specify a //''<URL>''// element. The URL specified can either be a fully specified URL (protocol://host/path) or it may be a relative URL (/some/relative/path). If it's the later then Indigo will attempt to guess the [[indigo_2023.1_documentation:server_commands&#get_web_server_url|best base URL]]. You would then handle those form requests using [[#processing_http_requests_in_your_plugin|the built-in request handling mechanism discussed below]]. See the **Example HTTP Responder** plugin in the [[https://github.com/IndigoDomotics/IndigoSDK/releases/tag/v2023.1|SDK]] for an example.+You can also implement your own custom menu item form in HTML if you prefer. Rather than adding //''<CallbackMethod>''// and  //''<ConfigUI>''// definitions, you simply specify a //''<URL>''// element. The URL specified can either be a fully specified URL //''<nowiki>(protocol://host/path)</nowiki>''// or it may be a relative URL //''(/some/relative/path)''//. If it's the later then Indigo will attempt to guess the [[indigo_2023.1_documentation:server_commands&#get_web_server_url|best base URL]]. You would then handle those form requests using [[#processing_http_requests_in_your_plugin|the built-in request handling mechanism discussed below]]. See the **Example HTTP Responder** plugin in the [[https://github.com/IndigoDomotics/IndigoSDK/releases/tag/v2023.1|SDK]] for an example.
  
 ==== SupportURL Elements ==== ==== SupportURL Elements ====
- 
 Anywhere you can specify a //''<SupportURL>''// element, the value can be either a full URL or a relative URL. If it's relative, then Indigo will attempt to guess the [[indigo_2023.1_documentation:server_commands&#get_web_server_url|best base URL]]. You can use this to supply [[indigo_2023.1_documentation:plugin_guide#resources_folder|static HTML]] files or dynamic help provided through the [[#processing_http_requests_in_your_plugin|HTTP processing API discussed below]]. Anywhere you can specify a //''<SupportURL>''// element, the value can be either a full URL or a relative URL. If it's relative, then Indigo will attempt to guess the [[indigo_2023.1_documentation:server_commands&#get_web_server_url|best base URL]]. You can use this to supply [[indigo_2023.1_documentation:plugin_guide#resources_folder|static HTML]] files or dynamic help provided through the [[#processing_http_requests_in_your_plugin|HTTP processing API discussed below]].
 ==== plugin.py ==== ==== plugin.py ====
  • /www/perceptive/wiki/data/attic/indigo_2023.1_documentation/plugin_guide.1758621406.txt.gz
  • Last modified: 2025/09/23 09:56
  • by davel17