Dominik Marks 3 Years Ago - Edited Interesting blog post.Question: Would it be possible to skip the JSON storage adapter completely? I mean would it be possible to just send a mail or what ever with the data and do not save anything in the database? I'm asking because we often use the form builder to create simple contact forms. In terms of data privacy it is not required to save information from a contact form to the database. Sending a mail is enough. Please sign in to reply. Reply as... Cancel David H Nebinger Dominik Marks 3 Years Ago - Edited Oh, no, the persistence is not necessary at all. Just don't @Reference in the JSON guy and throw away the request objects after you've sent the form. Me, I like persisting even in this case because I can go to the control panel as an admin and see all of the form submissions, whether I've received the contact emails or not, so it just makes sense to me to Tee them where I need them to go and yet still persist them as Liferay normally would. But that's really my own preference. If you don't share it, I'm certainly not going to hold it against you ;-) Please sign in to reply. Reply as... Cancel
David H Nebinger Dominik Marks 3 Years Ago - Edited Oh, no, the persistence is not necessary at all. Just don't @Reference in the JSON guy and throw away the request objects after you've sent the form. Me, I like persisting even in this case because I can go to the control panel as an admin and see all of the form submissions, whether I've received the contact emails or not, so it just makes sense to me to Tee them where I need them to go and yet still persist them as Liferay normally would. But that's really my own preference. If you don't share it, I'm certainly not going to hold it against you ;-) Please sign in to reply. Reply as... Cancel
Ivano Carrara 2 Years Ago David, thank you for discovering to us this important function. With the use of Liferay Forms and Liferay Objects there is any further flexibility to manage the data entered in a Form? In the tab "Actions" of a Liferay Objects item we can trigger a Webhook with a payload. What about to use this Webhook instead a new Tee Storage Type? Thank you in advance for some light! Please sign in to reply. Reply as... Cancel David H Nebinger Ivano Carrara 2 Years Ago - Edited The webhooks should be used when creating forms for Objects. The Tee storage adapter should only be used for non-Objects forms. Please sign in to reply. Reply as... Cancel
David H Nebinger Ivano Carrara 2 Years Ago - Edited The webhooks should be used when creating forms for Objects. The Tee storage adapter should only be used for non-Objects forms. Please sign in to reply. Reply as... Cancel