Good day, I have a question regarding the tabs in Classic UI. I want to make them disabled, or locked or unclickable in my edit page. If you know how to implement it please could you show it in the following code snippet:

                "operation": "insert",
                "name": "AgbPrimaryDataTab",
                "values": {
                    "caption": {
                        "bindTo": "Resources.Strings.AgbPrimaryDataTabCaption"
                    },
                    "items": [],
                    "order": 0
                },
                "parentName": "Tabs",
                "propertyName": "tabs",
                "index": 2
 
Like 0

Like

1 comments

Hello Behruzbek, 

If you don't want some users to see the existing tabs, use the following article to hide tabs by code based on different...MoreLess

Show all comments

As the title says, we sometimes need to disable buttons while still showing them - something which was easy to do in Classic UI. Is there any way of doing so in Freedom UI? I can't see any examples in OOTB Freedom UI areas, anywhere that does have disabled buttons OOTB are in Classic UI sections (e.g. the "Finish session" button on the System User page on the Access Rules tab when no record is selected).

Like 1

Like

4 comments
Best reply

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Show all comments (3)

Hi,

I'm trying to disable the 'Do not use' Options from the Contact Communication option detail.

Does anybody know how I can do this or where can I find it?

I know that if I want to disable the 'Home Phone' option I only need to change it from this lookup, but I cannot find the 'Do not' option in here.

Thank you!

Like 1

Like

1 comments

Hello,

This task is harder than disabling the option from the lookup. The method that generates the restrict option is getRestrictionsMenuItem...MoreLess

Show all comments



I have added a custom button called "Confirm Audience" to a detail and it's working fine. but in the meantime, I need to disable the button once I click on it. So far I tried to disable it using an attribute, which is mentioned in this article.

https://community.creatio.com/questions/how-can-i-disable-button-once-clicked



While...MoreLess

Like 0

Like

4 comments
Best reply

Lakindu Yasomith,

I am sorry for assuming that the result of the click would have other visible changes in local conditions that were not mentioned...MoreLess

Show all comments (3)

Hello fellow creators! I have problems with extending BaseSectionV2 schema. I want to disable View button , so I  created a replacing module of BaseSectionV2 and wrote some code, but it's not working. Any advice would be much appreciated

 define("BaseSectionV2",[],function(){
	 return {
		 entitySchemaName...

MoreLess

File attachments
Like 0

Like

2 comments
Best reply

Hi,

You need to override shema BaseDataView and modify the button SeparateModeViewOptionsButton:

  define("BaseDataView",[],function...

MoreLess

Show all comments (1)

How to disable the Select All button on Modal dialog box?

Like 0

Like

4 comments

Kindly Suggest

Show all comments (3)

In an edit page, we have fields that can be changed by the user or calculated by the page Javascript code, depending on specific circunstamces.

In this case we need to inhibit the attribute dependency method call, to make sure it is not called when the field is calculated by the page code, and not by the user.

Is it possible ?

Regards,

Like 0

Like

3 comments

Hi Ricardo,

Everything is simple - these specific circumstances should be included into the logic of custom method calls inside the JavaScript...MoreLess

Show all comments (2)

Hi Team,



I would like to apply the "enabled" property to active row buttons COPY & DELETE in  contact section.



I have tried the below code but it doesn't work.

{
		"operation": "merge",
		"name": "DataGridActiveRowCopyAction",
		"values": {
		//"enabled": {bindTo: "ShowButtonforAdmin"}...

MoreLess

Like 0

Like

4 comments

Hi Bhoobalan, 

please use "visible" : false

instead of 

"enabled": false

and the button will be hidden.

Best Regards, 

Bogdan L.

Show all comments (3)