@ ottomek
Is there any FAQ or How-to in Connections Pro discussing actions/filters?
Sorry, no there is not. Here’s a list of Gravity Forms hooks I used on a custom project:
gform_pre_render_n
gform_pre_validation_n
gform_pre_submission_filter_n
gform_admin_pre_render_n
The _n part of the hook name is the Gravity Form ID. The above hooks were used to populate the Connections Categories in a Gravity Forms checklist form field. You would use the cnTerm::getTaxonomyTerms() function to retrieve them.
gform_user_registered
You would use this action to insert a Connections entry. You would use the cnEntry_Action::add() method to insert an entry and after a successful insert you would set the category relationships using cnTerms::setTermRelationships()
gform_pre_render_n
The _n part of the hook name is the Gravity Form ID. You would use this hook to populate the Gravity Form with the entry details. To get the entry detail you would use the cnRetrieve::entry() method.
gform_after_submission
You would use this action to edit a Connections entry. To update an entry you would use the cnEntry_Action::update() method.
I’ve glossed over a lot of details but digging into the code you can likely figure it out.
Hope that helps!
ps. I am working on a new class of addons for Connections called Connectors. The first of which is a Gravity Forms Connector. What I have done, works very well is is completely compatible with other Gravity Forms addons such as User Registration, MailChimp and PayPal Gateway using Gravity Forms Feed API. When will this be done, unfortunately this is unknown and will likely be quite a while. Thought I’d mention as it may be useful in future projects.
