Instance ID of a theme embedded portletInstance ID of a theme embedded portlethttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1191260922024-03-28T19:18:01Z2024-03-28T19:18:01ZRE: Instance ID of a theme embedded portletVishnu S Kumarhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191978082020-05-19T18:23:48Z2020-05-19T18:23:48ZWorked like a charm. ThanksVishnu S Kumar2020-05-19T18:23:48ZRE: Instance ID of a theme embedded portletSoumyashree Mishrahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191358502020-05-11T07:14:08Z2020-05-11T07:14:08ZHi Vishnu,<br />You can give the layout plid as the instance id while embedding the portlet. This way every page will have a different instance Id.HTH!Soumyashree Mishra2020-05-11T07:14:08ZInstance ID of a theme embedded portletVishnu S Kumarhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191260912020-05-08T18:26:35Z2020-05-08T18:26:35Z<html><head></head><body>The portlet is added in the theme like this: <pre><code>&lt;@liferay_portlet["runtime"]&nbsp; instanceId="portlet-id-12345"&nbsp;
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;portletName="name-of-the-portlet" /&gt;</code></pre>since the instance Id is hard coded in the theme , all the instances of the portlet has the same instance Id. Therefore, we can't add different portlet instance configurations on different pages. How to manage instance Id on embedded portlets so that it will be always same for a