Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Able to edit fields in the Lock asset by another user?

Avatar

Level 2

Hi team,

I have locked the asset by user A, and when i opened the asset by User B i am able to edit some fields like dropdown,rte field and fields inside the fieldset though i can't save it as save is disabled. How can i disable dropdown,rte field and fields inside the fieldset.

Thanks

Kranthi

1 Accepted Solution

Avatar

Correct answer by
Level 10

You would have to use this api

http://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.form.DialogFieldSet

and create custom app logic to make fields in this xtype read only for those users.

View solution in original post

3 Replies

Avatar

Level 10

If user a locks an asset, other users cannot modify it.

Avatar

Level 2

Yes for the locked asset another user cannot edit the fields, but as per our requirement we have created custom metadata fields using a dialogfieldset xtype, so the fields inside the dialogfieldset are editable by the another user.How can i avoid this to happen?

Avatar

Correct answer by
Level 10

You would have to use this api

http://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.form.DialogFieldSet

and create custom app logic to make fields in this xtype read only for those users.