Referring to this previous
question.
Instead of redirecting the user to the Method Admin page, it is
preferred all the methods are rendered and published automatically.
What code would be needed to complete this process?
I have been looking through the code for "DeveloperPortal\profiles\apigee\modules\custom\devconnect\smartdocs\smartdocs.admin.inc" and
"DeveloperPortal\profiles\apigee\modules\custom\devconnect\smartdocs\batch\smartdocs.render.inc".
It looks like the forms for rendering methods call the smartdocs_render_node (not smartdocs_render_nodes ) function, but I can not find the definition for this function.
Any help would be appreciated.
Thank you for your time,
Mitchel
Solved! Go to Solution.
Great Question,
Take a look at the custom module smartdocs services developed by @Yuriy that does exactly same, "publish & render" through an API.
I believe you can get the code that you are looking for from above module / install the module in your portal & call the method from your custom module to integrate same.
Hope it helps.