These plugins are both still available since they are great examples of documented sample plug-ins, but note that Indigo 4.0 beta 6 and higher has this functionality rolled into the application.
Specifically, instead of using the execAndGo plugin, you can now specify both a client side action (ex: browse to another Control Page or URL) and a server side action (ex: execute an action group, toggle a device, etc.) directly in the Control Page editor UI.
Variable values can be edited from a Web browser via the main Variables table page. If you need to edit a variable value from a control page, then you can show the same browser page for the edit that automatically returns to the Control Page upon completion. It works the same as the Variable plug-in, but the URL you use is different. Instead of the Variable plug-in URL defined like this:
- Code: Select all
/variable/setVariable?name=SOME_VARIABLE_NAME&page=RETURN_PAGE_NAME
You can show the native edit variable page like this:
- Code: Select all
/editvarpage?name=SOME_VARIABLE_NAME&redirectPage=RETURN_PAGE_NAME