I was not able to access any of the mcsSprinklers web pages with the newly released build 1955 of HS2. Other mcs plugins that have a browser interface will likely exhibit the same problem with the hs.GetPlugins method that now errors-out.
Announcement
Collapse
No announcement yet.
HS2 Build 1955 is a no-go with mcs Plugins
Collapse
X
-
According to the current documentation Build 1955), hs.getplugins now returns a collection of objects, each item in the collection being a plugin. Looks like you have to add a for loop (For each item in...) to iterate the objects in the collection comparing item.name to the name of the plugin you want. You can then either do the work needed to be done, or perhaps set a new variable to be the current item (the plugin object) and exit the for loop.
-
smoothtlk
This is the mcsSprinklers.asp page that works with latest 1955 build:
PHP Code:<%
set col = hs.GetPlugins
for each c in col
if c.name = "mcsSprinklers" then
response.write c.ControlSystemsASP(request, response)
exit for
end if
next
set col = Nothing
%>
Comment
Comment