We are retrieve a component content by using below method by passing the component ID and Component Template ID. However, when I publish the component using bundle, my changes are not reflected. On debugging I find that the minor version/in-workflow version of the component is not pulled and only the major version is published again.
functs.RenderComponentPresentation(componentId, componentTemplateId);
Does this retrieve minor version? Or should I change anything in my code to retrieve the minor version?