How to retrieve all the calendars in portletHow to retrieve all the calendars in portlethttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1218005032024-03-29T04:54:31Z2024-03-29T04:54:31ZHow to retrieve all the calendars in portletdaniel friggihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1218005022023-05-22T14:58:33Z2023-05-19T19:49:04Z<p>I have a react portlet who shows me the calendars i retrieve via api request.</p>
<p>I give to the api a number of a calendarId, that returns me all the
calendars with that calendarId</p>
<p>So here is the problem, i need to show in the portlet preferences,
all the calendars available in the portal, for the users to pick what
they want in a selector</p>
<p>actually, my configuration.json sound like this:</p>
<p>"calendarId": {</p>
<p> "type": "string",</p>
<p> "name": "ID custom",</p>
<p> "description": "id custom"</p>
<p> }</p>
<p>i need to change that to a selector, that generates automatically a
list of options with all the available calendars in the portal, for
the user to pick