In my earlier question I had been able to access the properties using jsom but i am unable to target a particular web part without knowing its ID before hand. Inspecting the DOM i have found the below html. Here, the attribute
webpartid is supposed to be used while performing a
<div id="WebPartctl00_ctl35_g_a70dc106_4ee6_4a5d_9d85_95a2aabcffb1" webpartid2="a70dc106-4ee6-4a5d-9d85-95a2aabcffb1" webpartid="5f8931ff-a930-4942-be06-0fe948ad8c4c">
It would be great if anyone could help me out. Thanks in advance.