Salesforcepfgadapter customization

6 views
Skip to first unread message

AndreaB

unread,
Jul 30, 2010, 6:11:15 AM7/30/10
to Plone Salesforce Integration
Hi,
I have been learning Plone and the Zope Component Architecture for the
last year and now, after installing Plone 4, I'm trying to customize
the product salesforcepfgadapter; basically I'd like to create a form
that lets users make a search on salesforce database: the selection
widgets of the form will be populated by retrieved values from
salesforce and the action performed on submitting the form will be a
search returning the list of salesforce records matching the criteria
set by the selection widgets. To display the retrieved values into the
selection widgets I created a custom view sub-classing
FieldValueRetriever from salesforcepfgadapter.prepopulator module and
overriding the __call__ and retrieveData methods (I named this view in
the configure.zcml file as "mysf_values" and I manually set the
Options Vocabulary override of the selection widget as "object/
@@mysf_values").
Now I'm wondering what could be the best way to customize the submit
action. Any suggestions?
Thanks in advance.

Andrea
Reply all
Reply to author
Forward
0 new messages