Calendar selected period

Hi,

Is it possible to send data from a calendar view to a form view ?

I would like to get in form view start and end dates of the selected period in calendar view.

I have found a solution by adding an onChange attribute in the calendar view and creating an action-view with the following definition but don’t know how to fill expr value to make it work (if possible) :

<action-attrs name="action-book" model="com.axelor.meta.db.MetaJsonRecord">
  <attribute for="startDate" name="value" expr="" />
</action-attrs>

Thanks.

Hello,

If you want to send the start date and end date from the calendar view to the form view then this functionality is already present in our aos, if you select the periods from the calendar view then it will automatically open the form view filled with the starting and ending date.

Regards,