4 Replies Latest reply on Apr 9, 2015 11:05 AM by Asle Frantzen

    Custom webpart connection to PI Treeview Webpart

    neilg

      Hi All,

       

      I have a custom web part which connects to the PI Treeview webpart. This was working with the previous version of PI Treeview installed on WSS 3.0. We implemented the 'IParametersOutConsumer' interface in our custom webpart to connect to the PI Treeview.

       

      We are building a new Sharepoint Foundation 2013 environment with PI Webparts 2013 SP2. I can see that the interface 'IParametersOutConsumer' is obsolete in Sharepoint and the recommendation is to implement the 'IWebPartParameters' interface.

       

      Is there any article which describes how to connect PI Webparts 2013 SP2 Treeview to a custom webpart which implements the 'IWebPartParameters' interface? Are we still able to use the 'IParametersOutConsumer' interface against PI Webparts 2013 SP2 Treeview?

       

      Thanks for any pointers,

      Neil.

        • Re: Custom webpart connection to PI Treeview Webpart
          klum

          Hi Neil,

           

          From the PI WebParts 2013 SP2 User Guide, the SharePoint connection types still lists the IParametersOutConsumer as still an option. Please refer to the user guide (available for download from the OSIsoft TechSupport Download Centre here, see page 165 "SharePoint connection types"). Although the parameter is considered obsolete, it can still be used. Have you tried the custom webpart and check if it is working properly? Was there any issue with the connection?

           

          Cheers,

          William