Skip to main content
Jan 22, 2021 10:17 AM UTC
Question

Programmatically "Disable Check out on the fly" preference

Hello everyone,

 i need to programmatically set the "Disable Check out on the fly" preference.

I have found PreferenceHelper class used to retrieve the value, any correspondents class to set the value ?.

 

Thank you

 

 

2 replies

Jan 22, 2021 2:05 PM UTC

Take a look at the methods (depending on the type of the preference):

wt.preference.PreferenceHelper.service.setValue(...)

 

gfontanaAuthor
Jan 22, 2021 4:26 PM UTC

Hi Florent,

classical Columbus egg.

I will let you know when i try.

 

Thank you