Forums

Submit an article with custom fields - get Article ID

M.Abletech 11 Sep, 2018
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 11 Sep, 2018
CF6: {var:save_data#.model.id}
M.Abletech 13 Sep, 2018
Hi healyhatman,

thanks! Unfortunately there is no Create Article action in CF V6.

Am I wrong?

Thanks
healyhatman 13 Sep, 2018
No you're not wrong, use a save data action. The ID will then be available as in the code I provided.
This topic is locked and no more replies can be posted.