Skip to content

magento2.4

Auto Added by WPeMatico

Upload csv file from a custom admin form issue

This is my fieldset from the uicomponent form: <fieldset name=”image_form_fieldset”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Form</item> </item> </argument> <field name=”file”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string”>File</item> <item name=”visible” xsi:type=”boolean”>true</item> <item name=”formElement” xsi:type=”string”>fileUploader</item> <item… Read More »Upload csv file from a custom admin form issue

In Model Edit, display filtered grid of another Model

Consider two models, Foo and Bar. The Bar model has a non-nullable field foo_id which is associated with a Foo object. <?xml version=”1.0″ ?> <schema xmlns:xsi=”…” xsi:noNamespaceSchemaLocation=”…”> <table name=”dc_foos_foo” resource=”default” engine=”innodb”> <column xsi:type=”int” name=”foo_id” padding=”10″ unsigned=”true” nullable=”false” identity=”true”/> <constraint xsi:type=”primary”… Read More »In Model Edit, display filtered grid of another Model