We have a scenario where the product component is in workflow and publishes the minor version content to Staging/preview site in Product Detail page. There is also Product landing page which uses tom.net API to publish all the products component as json.SO we have the minor version content available in Product detail page and not in product landing page as the component workflow is not completed.It always uses the major content to publish to Broker DB.Any help is much appreciated.
There is also Product landing page which uses tom.net API to publish all the products component as json
Assuming you are using a standard publish instruction in TOM.NET, you can ask the publisher to "publish minor versions" by using
IncludeWorkflow = true in the ResolveInstruction (one of the parameters of the publish method).