Form post process & web services

Author Message

Tom W

Wednesday 07 July 2010 1:39:47 pm

Hi there,

I'm about 2 months in, working on a Ez Publishing project and need some help.

I have a form where the information need to be collected(easy part, new class with Information collector attributes), but the information also need be sent to salesforce.com via web services.

Right now, I'm thinking of letting Ez Publish do its thing with information collector, and I will put in a custom template operator on the confirmation page that will handle the web service portion.

Just wondering if there's a better way to handle this task.

Thanks in advance,

Gabriel Finkelstein

Wednesday 07 July 2010 4:47:33 pm

Perhaps you could set a cronjob that runs periodically and processes al newly created information collections and sends them to salesforce.com

Gaetano Giunta

Thursday 08 July 2010 12:18:39 am

For the part "making webservices calls", the ggwebservices extension might help you. It allows to quickly connect to external soap servers, either from php code or from within templates.

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Thursday 08 July 2010 12:20:47 am

PS. it sure would be nice to have pre_ and post_information_collection events so that workflows could be hooked up to it. Would you mind opening a feature request in issues.ez.no?

Principal Consultant International Business
Member of the Community Project Board

Tom W

Thursday 05 August 2010 8:18:02 am

Thanks for the help. Finally got this piece of code out of the way.
Request has been sent in as well, hope I did it right.
Now onto the self registry into specific group issue. :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.