I am using sitecoreSitecore 10.3 with SXA, I am trying to read all the renderings of the current item and get datasource of a required rendering item based on the item ID, But iI am able to see only which are present in final renderings but not able see the renderings from page design,.
How can I access the page design renderings. used 'renderingItem.Visualization.GetRenderings(Sitecore.Context.Device, true);'.
I tried:
renderingItem.Visualization.GetRenderings(Sitecore.Context.Device, true);