pimcore-formbuilder icon indicating copy to clipboard operation
pimcore-formbuilder copied to clipboard

Object channel - map data object fields inside fieldsets

Open valentin- opened this issue 3 years ago • 8 comments

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no


Hi, I'm trying to save form data to an object. Unfortunately I can't map fields inside fieldsets, isn't that possible?

image

Thanks!

valentin- avatar Nov 18 '21 13:11 valentin-

Same here

shaselboeck avatar Nov 24 '21 15:11 shaselboeck

Mhmm, it is not possible to map object properties to container items of type "repeater" but I guess it should be possible to map field set fields since they are simple subfields. I have to check this first.

solverat avatar Nov 24 '21 15:11 solverat

Same thing seems to happen in the Email Workflow, i have only the fieldset in the builder.

bellu avatar Dec 02 '21 10:12 bellu

@bellu you mean the mail layout editor? True, there are no subfields either. The Mail Layout Editor most meaningful purpose is to set up structured text emails (in some cases, provider will process text emails by automation). I would recommend using the default twig template (form-data.html.twig) which will be used by the email output channel by default.

solverat avatar Dec 08 '21 10:12 solverat

@solverat: Will the bug be fixed?

shaselboeck avatar Feb 25 '22 14:02 shaselboeck

Here is a screenshot of the output workflow object mapping: image

shaselboeck avatar Mar 09 '22 09:03 shaselboeck

Any updates about this issue?

simonkey avatar Mar 23 '22 14:03 simonkey

We have the same issue. Did anyone find a workaround? @solverat is this going to be fixed?

hagmann avatar Jun 05 '22 18:06 hagmann

@valentin-, @shaselboeck, @bellu, @simonkey, @hagmann: Finally, this works now!

Also thanks to @JHeimbach!

https://github.com/dachcom-digital/pimcore-formbuilder/pull/355

This will be available in 4.1.4!

solverat avatar Nov 17 '22 11:11 solverat