Help: Creating new entries from the publish list view
This is an open discussion with 2 replies, filed under Extensions.
Search
Have a look at this snippet. Pay attention to non declared variables :D
Totally awesome, thanks so much!
Create an account or sign in to comment.
Hi Again, sorry to flood.
I’m creating a customised CSV upload extension that adds an upload field to the publish list page - this is all working fine (see: http://cl.ly/fddb2e12092cd5ad9c36). However I’m having problems actually creating the entry (for the specified section).
I’ve tried multiple variations of creating a new SectionManager instance, fetching the section and creating an EntryManager instance and then creating from that to no avail.
Is there an easy way to create a new section entry record by creating an EntryManager instance, injecting my values into that and committing or am I thinking too simply here?
Thanks! L