How to make a column read only in embedded list

Suyash Joshi
Tera Contributor

Hello Everyone,

Can anyone know how to read only embedded list.

Thanks in advance,

Suyash

3 REPLIES 3

Wade Clairmont
Tera Guru

Just figured it out myself, so I here's the scoop.  This will only make it read only, it does not remove that crazy "insert a new row' on the following line.

 

Generate a new ACL 'list_edit' on the table for the embedded list.  Specify the column (or * for all columns) you wish to make read only.

 

Create an advanced script on the ACL and use this script:

if(current.getTableName() != <embedded list table>){
    answer = true;
}
 

Hi @Wade Clairmont 

Can you help provide me a demo with screenshot.

I am unable to get this.

My table name - u_test.

Embedded List name - Test.

Thanks and Regards,

Suyash

Wade Clairmont
Tera Guru

Create the list_edit acl on the table, select the column name from the drop list of available columns on the table on the top right of the ACL form. Click advanced under condition and enter the script to specify/eliminate the applicable table.

 

Example on sys_user table.

 

WadeClairmont_0-1707916748079.png