i configured a plugin using builder plugin and i try to add the import and export option init. i followed this step Import Export Controller - October CMS - 3.x and in this export is working fine, but import is not working fine it is showing this error Undefined variable $importUploadFormWidget
, cant find any resource this to solve this… any help…
Hi @Logendher ,
Just test it, no bugs, it works as documented.
In order, make sure;
- Add the behavior Backend\Behaviors\ImportExportController to your controller
- Set the path of your importExportConfig file in the variable $importExportConfig
- Create your importExportConfig file
- Create the view import.htm in your controller
- Create your export model (it needs to match what defined in 3 or update it).
- Add your button in your toolbar
<a
href="<?= Backend::url('author/plugin/controller/import') ?>"
class="btn btn-default">
Import Records
</a>
1 Like
thanks for your reply…
i just figure it out the issue, when i tried to use the fields instead of columns, it is working fine now thanks.
and thanks for sharing the import option link, i try to search this all over the internet cant find one… thanks for sharing, option is loading the page now, working on uploading the data. thanks
You’re really welcome!
and thanks for sharing the import option link, i try to search this all over the internet cant find one…
Ok I will add it to the documentation, thanks.