Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calendar region: disable edit link for some calendar entries?

Kim Berg HansenJan 2 2023 — edited Jan 2 2023

I have a calendar region (APEX 21.1) with "Create Link" and "View / Edit Link" defined in the region attributes. Works fine.
I'd like to disable the edit link for some of the calendar entries, depending on a value in a column in the query.
There are no "conditions" in the link builder that I can see, so I tried using "Event Selected [Calendar]" dynamic action, but it didn't fire. Then I spotted in the docs (https://docs.oracle.com/en/database/oracle/apex/22.1/htmdb/about-dynamic-action-support-for-calendar.html#GUID-5C593F3E-FAB9-4B9B-B793-80B7F0B4EF2C) that this will not fire if a link has been defined :-(
Then I notice that the FullCalendar Event object has an editable property: https://fullcalendar.io/docs/event-object - but is there a way to set this per event in the calendar?
Is there a nice way to achieve this? Or must I un-define my "View / Edit Link" and instead do it all manually using the "Event Selected" dynamic action?

This post has been answered by jariola on Jan 2 2023
Jump to Answer
Comments
Post Details
Added on Jan 2 2023
2 comments
579 views