Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My first questions after studying MYC portal
(11-29-2016, 08:04 AM)Guido1982 Wrote: Good to know, I'll focus my attention on webservice. I'd very much like to see the SO webservice.

I attached the plugin. You have to go to Settings > Plugin Manager and upload it there. If I remember correctly it uploads it to the wrong directory and you have to manually move it to the right place. I never got around to investigating but it is probably here:

I think that has to be:

PHP Code:

at least that is where I have that code now.
Let me know how that goes.

(11-29-2016, 08:04 AM)Guido1982 Wrote: About you doInvoke example: that represents a file on the portal side right? You invoke the 'convertlead' method, but where would that be defined? In the general webservice file or in a module? And if so, how can you register webservice methods in the app from a module?

Yes, that code would be on the portal side.
To register a new webservice you have to call the registerWSAPI() function:

that accepts an array with the definition of the new method: where it lives, what it is called, it's parameters,....

You have a whole bunch of examples here:

which are the new ones we have added on top of vtiger CRM's default ones.

Attached Files
.zip (Size: 5.26 KB / Downloads: 0)

Messages In This Thread
RE: My first questions after studying MYC portal - joebordes - 11-29-2016, 09:33 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)