Can you please share API example that you asking.
thanks for quick response.
I am creating one custom module. doing this it will generate the Document & pages in various directories as per our requirement.
i am working on My DOCUMENT TYPE CLASS TABLE , CMS_ATTACHMENT TABLE,CMS_DOCUMENT TABLE,CMS_TREE Table DB TABELS.
from my custom module it will generating document but not publishing please see previous screenshot that i have attached
Thanks Juraj you always help me out. giving valuable suggestions & hints in kentico development
Regards,
Harshal