Access the auto-generated ID of a CMS item

I also need this, any workaround?