Svidos29
11th November 2021, 23:47
Hi all,

i've an extension that disable/enable through 'is.read.only' hook in table extension certain cdfs.
In my session i need to use disable.dal() in before.program, however with this the extension is enabled (i see it through debug) but it only calls the 'is.applicable' of other cdfs, not the is.derived or the is read.only.
Indeed, if i remove the disable.dal, the check through is.derived and is.read.only works.

How can i solve this? I tried do disable.fields/enable.fields, even with actual.occ setted but it is not working for me because it disable the entire column, not only the occurence that i'm working with.

thanks,

ee05220
12th November 2021, 11:25
Hi all,

i've an extension that disable/enable through 'is.read.only' hook in table extension certain cdfs.
In my session i need to use disable.dal() in before.program, however with this the extension is enabled (i see it through debug) but it only calls the 'is.applicable' of other cdfs, not the is.derived or the is read.only.
Indeed, if i remove the disable.dal, the check through is.derived and is.read.only works.

How can i solve this? I tried do disable.fields/enable.fields, even with actual.occ setted but it is not working for me because it disable the entire column, not only the occurence that i'm working with.

thanks,

Hi,

Why do you need disable Dal in before program?
I think it doesn't sense disable Dal and next use 'is.read.only' which acts on dal too.

ee05220
12th November 2021, 11:36
Try to use read.only function in session script intead of extension.

Best Regards.