Hi,

I am trying to make a detail available.  At Detail setup the checkbox 'Make the list editable' is disabled:

 

Like 0

Like

3 comments
Best reply

Hello,

 

The checkbox becomes disabled when any modifications are applied to the detail schema in configurations, such as comments, custom methods, attributes, etc. This behavior is determined by the _canChangeType method in the DetailDesignerUtils module. The logic ensures that when the checkbox is disabled, the wizard does not save modifications applied to the base detail with a list schema, preventing any loss of changes.

This logic cannot be overridden, which is why the detail cannot be switched from an editable list detail to a standard detail if schema modifications are present.

To address this issue, you can choose one of the following approaches:

 

  1. Remove the custom code, including comments, and save the changes. This will make the checkbox available again in the detail wizard.
  2. Delete all methods and values associated with the edited detail's features from the detail schema. This will make the detail non-editable.

     

We would also like to highlight that this logic has been improved in the new FreedomUI designer. The updated designer addresses these nuances, allowing you to modify the attribute of the edited pattern with a single setting, without requiring additional code changes.

Hello!

 

Could you please specify the issue you are facing?

 

Additionally, we were unable to view the picture you provided. Could you kindly resend it for us to review?

 

Thank you in advance, and we look forward to your reply!

Hello,

 

The checkbox becomes disabled when any modifications are applied to the detail schema in configurations, such as comments, custom methods, attributes, etc. This behavior is determined by the _canChangeType method in the DetailDesignerUtils module. The logic ensures that when the checkbox is disabled, the wizard does not save modifications applied to the base detail with a list schema, preventing any loss of changes.

This logic cannot be overridden, which is why the detail cannot be switched from an editable list detail to a standard detail if schema modifications are present.

To address this issue, you can choose one of the following approaches:

 

  1. Remove the custom code, including comments, and save the changes. This will make the checkbox available again in the detail wizard.
  2. Delete all methods and values associated with the edited detail's features from the detail schema. This will make the detail non-editable.

     

We would also like to highlight that this logic has been improved in the new FreedomUI designer. The updated designer addresses these nuances, allowing you to modify the attribute of the edited pattern with a single setting, without requiring additional code changes.

Show all comments

Hi,



I have a detail that has been added on an opportunity in code, so I cannot make it read-only with the opportunity designer. How do I set up the code so that make a decimal field in the detail read-only ?



Thanks,



Damien

Like 0

Like

1 comments

Hi Damien,

 

If this is a detail with an editable list simply add this code:

"enabled": false

to the definition of the column that you need to disable (should be added to the detail page schema, not detail schema). So it should look like this:

{
				"operation": "merge",
				"name": "columnName",
				"enabled": false
				}
			},

and refresh the page.

 

Best regards,

Oscar

Show all comments

Hi Team,

 

I have created a editable GRID and added some business rule . I have added few field as read only but still i was able to edit in the editble GRID . Any idea what is causing this problem ?

 

Regards,

Sethuraghav N

Like 0

Like

1 comments

Hi Sethu, 



Unfortunately at the moment Business Rules don't work with details with editable grid. 

This is a known issue and our developers are already working to fix this issue in future releases. 



Best regards,

Yurii.

Show all comments

Hi team ,

 

Im trying to use explore out of the box editable list options in some details the check box is enabled and in some details its not enabled ,

 

Is there anywhere i can check how this is working ?

 

Like 0

Like

1 comments

Hello Sethu, 

 

I would like to suggest you to check the below articles where you can find the requested information, as well we have a lot of useful posts on community on this topic:

https://academy.creatio.com/docs/user/no-code_customization/ui_and_busi…

https://academy.creatio.com/docs/developer/elements_and_components/basi…

 

If you have any additional or specific questions, please let me know!

 

Best regards, 

Anastasiia

Show all comments