2 Replies Latest reply on Jul 15, 2015 5:12 AM by michaele RSS
    michaele Explorer

    Network class methods

    Hello I am trying to utilize methods of the "Network" class...  Am having some challenges

     

    I have a network called "CustomerNetwork"  I am trying to  manipulate it through code

     

    one example  removing an entity from the Network

     

    my code for this is

     

    Networks['CustomerNetwork'].RemoveFromNetwork('Store5');

     

     

    when I test this code I get the following error

     

    Wrapped java.lang.Exception: Invalid parameter type for service: [RemoveFromNetwork] on CustomerNetwork Cause: Invalid parameter type for service: [RemoveFromNetwork] on CustomerNetwork..

     

    According to the class reference the parameter type should be string..  I have entered a string in quotes , In previous tries I have passed a string as a parameter and get the same error...  I have tried several other methods where I needed to pass a parameter and get similar results