var Namespace = Namespace || {};// Lock timeline functionNamespace.lockTimeline = function (executionContext){ var formContext = executionContext.getFormContext(); var formStatus = formContext.ui.getFormType(); if (formStatus === 4 || formStatus === 3) { var timeline = formContext.getControl(/Timeline/); // disable timeline timeline.setDisabled(true); // Check timeline is disabled var timelineDisabled = timeline.getDisabled(); console.log(timelineDisabled); // This returns true but I can still edit and add things to the timeline }};
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 58
Tom_Gioielli 16 Super User 2025 Season 2
CU29080825-0 16