cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to lock fields of an extension collection?

Former Member
0 Kudos

Hello Experts!

I was wondering if there's a way to lock entered fields on a collection, in order for users to not being able to edit them.

For instance:

I have a customized collection, where I enter rows of 4 values. Imagine I just entered 4 values, and then press save and done.

now the collection has one row in it with 4 values entered (row #1).

If I want to add another row (row #2), I press edit, and the previously entered row (row #1) is locked, and I cannot change it's values. I can only delete it if I want to modify it.

Is there a way to achieve this?

Via configuration or via script.

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

former_member207877
Active Participant
0 Kudos

Hello Oscar,

Yes you can achieve this through scripting.

Use IapiDocumentLockManager in API's

Thanks,

Raj

Former Member
0 Kudos

Hi Raj!

Thanks for answering.

Where should I add this script?

Field Validation?

Thanks in advance!

former_member207877
Active Participant
0 Kudos

You can use collection validation Oscar

Regards,

Raj

Answers (0)