Announcement

Collapse
No announcement yet.

GetPagePlugin never called in plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GetPagePlugin never called in plugin

    I'm creating a plugin and I'm trying to create the config screen. I have the link showing just fine using RegisterLink. however, clicking on that link it just shows the homeseer header and footers and no content. I put a console.WriteLine in the GetPagePlugin call, but it never outputs anything to console and nothing i put in the return for the method call ever shows.

    Anyone have any idea what I could be missing? My code is in C#, but I looked at the Moskus example in VB and I don't see what I"m missing. I even just tried returning "" (empty string) and "<html><body>hello</body></html>" to no avail.

    #2
    Ok, So I had to register the page with homeseer like this:

    Hs.RegisterPage(Link, plugin_name, instance_name).

    I did not see this anywhere in the docs, but maybe I missed it. It was in the Moskus code

    Comment


      #3
      I have the same problem. I have modified MoskusSample with a new plugin name. MoskusSample calls GetPagePlugin, my renamed plugin does not. Hs.RegisterPage is called as it should be with same parameters as in MoskusSample, but with new Link and Plugin_name.
      Anything else I should check?

      Comment

      Working...
      X