Announcements
Hi
I would like to 1. update some fields on a page 2. switch the page to non-editable at the same time by one action.
If I proceed like:
Step 1 update fields and change EDITABLE property within one action
Step 2 close the page
Step 3 reopen the page
the page becomes non-editable. But I would like to make the page non-editable already at the end of Step 1 like pressing the pencil (or crayon) icon.
Is it possible?
Please advise.
Thank you.
Thank you.
Thank you very much, Yun.
YES, it works now in my extension.
Hi, A very simple example, hope to give you some inspiration.
[View:/cfs-file/__key/communityserver-discussions-components-files/758/Test0812.mp4:1013:760]
Thank you very much, Lars.
The prototype is amazing and I did not know that we can change the property like that.
However, I should have told that I am trying to do this with a Page Extension. I have learned that the Editable property of the entire Page cannot be changed in an Extension.
So I could only close the Page in question and reopen it to reflect the change to the Editable property?
Hello,
Below is a prototype only of a page with two fields. If you enter something beginning with 'E' (case sensitive) in field 2, then the two fields go Uneditable. You can make them re-editable again from the Actions. It's setting editable on a group scope as opposed to the whole page. I hope that gives some ideas?
Thank you, Josh.
Yes, I tried and currpage.update() only becomes effective when the page is reopened.
I wonder if there is any other way.
André Arnaud de Cal...
294,161
Super User 2025 Season 1
Martin Dráb
232,942
Most Valuable Professional
nmaenpaa
101,158
Moderator