Buy Now
Sign in

Submit an article with custom fields - get Article ID

M
M.Abletech
Hi,
I wish I can submit an article also with custom fields: I thought the best way is to use CF V5 Article Action on submit, followed by a DB save on custom fields table. Only, i need the ID of the just created article.
What custom code should I use then to get the Article ID?
Any idea? Thanks!
healyhatman
CF6: {var:save_data#.model.id}
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman
M
M.Abletech
Hi healyhatman,
thanks! Unfortunately there is no Create Article action in CF V6.
Am I wrong?
Thanks
healyhatman
No you're not wrong, use a save data action. The ID will then be available as in the code I provided.
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman
M
M.Abletech
Thanks!