Access Portlet Instance Configuration from Service BuilderAccess Portlet Instance Configuration from Service Builderhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1187604202024-03-29T04:58:44Z2024-03-29T04:58:44ZAccess Portlet Instance Configuration from Service BuilderBernd Shttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187604192020-03-18T07:52:36Z2020-03-18T07:52:36Z<html><head></head><body>Hello,<br><br>not sure if it is possible but I'd like to access my portlet instance configuration from within my generated service methods.<br><br>The instance configuration works already but I have no clue how to access it.<br>Reading <br><a href="https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/transitioning-from-portlet-preferences-to-the-configuration-api">https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/transitioning-from-portlet-preferences-to-the-configuration-api</a><br>and<br><a href="https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/reading-configuration-values-from-a-configuration-provider">https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/reading-configuration-values-from-a-configuration-provider</a><br>my best bet would be<br><pre><code>ConfigurationProviderUtil.getPortletInstanceConfiguration()</code></pre>Unfortunately I don't know how to get the required Layout and PortletInstance.<br><br>Another option would be to access the instance configuration via JavaScript and pass it to my service as a parameter. Is there any documentation on how to do that?<br><br>Thanks!</body&