How to set the ServiceObject method type?


Badge +4

Hello,

 

when I create a default ServiceObject using K2 connect and generate a SmO using that ServiceObject it will automatically assign a method type to the created methods (Read, Execute, Update, ...) However in my case these method types are not being assigned correctly - a read method will be labeled as an execute operation for example.

 

Is it possible to specify which method type should be assigned to a method ON SERVICEOBJECT level? I know how to do this on the SmartObject level but I would like to be able to automatically generate smartobjects (without having to reconfigure these method types each generation).


2 replies

Badge +6

Hi,


 


Have you tried creating a SmartBox SmartObject? Create a new SmartObject in either K2 Studio/K2 Designer for Visual Studio and map methods to the Service Object's methods.


 


Regards,


 

Badge +4

I know it is possible however this SmartObject has a whole bunch op properties (20+) so if possible I would like to avoid having to  manually add those + configure the mappings.

Reply