Hello,

I created OAUTH 2.0 credentials in Creatio, But Now when I am trying to delete them I am getting error as below:



I checked if there is any dependency on this credentials by clicking on "View Details" as below:



Can anyone guide me what might be issue here?

Thanks !!

Like 0

Like

2 comments

Hi,

The behavior seems a bit odd, and I wasn’t able to reproduce it. I recommend trying the following steps:

  1. Add the "Errors of multi deleting" lookup and check the logs from the moment you attempted the deletion. Most likely, there’s a foreign key constraint error in the database. Check which table the record is referencing.

    There may be a case where the object was deleted from the system, but a reference to the record remained in the DB. In such a case, you’ll need to either manually delete the related record from the referencing table or nullify the relationship.

  2. Another possible scenario is that the related object was deleted, but the source code generation was not performed. As a result, the system is trying to resolve a link to a deleted object. To analyze this, open the Network tab in Developer Tools before clicking the "View details" button and check if there are any errors in the requests — especially the "GetDependentEntities" request.

In any case, it's best to start with the "Errors of multi deleting" logs and then proceed with analysis based on the result — checking whether the issue lies in a constraint, which object it refers to, whether it still exists, and whether it’s a system object, etc.

Hope this helps!

If these steps don’t help identify the root cause, please contact our support team at support@creatio.com.

Hello @Pavlo Sokil,

Got it, Let me try this,

Thank you !!

Show all comments

Hi Everyone,

I have created an custom Applicaiton which has some pages and extension on existing functionality, It is working fine as per the expectation.

When trying to uninstall Application from Applicaiton HUB, the app is getting deleted but the custom package is not getting deleted and is still showing in system designer.

I am not sure if I am missing something here. Can any one guide me on how to do this?

Like 0

Like

4 comments

Hello,

Thanks for your message!

Just to clarify — did you uninstall the application using the method shown in the screenshot I attached in Application Hub?
If not, please try removing it that way and let us know if the issue persists.

Hello @Valeriia Hromova,

Yes, I am deleting using the same way you described and the app is deleted successfully but the package is still showing.

Thanks !!

Madhav Patel,Thanks for confirming!

Could you please check if this package is part of another application or if there is something else in the system that still depends on it?
Sometimes a package may not be removed if it's still referenced by other components or apps.

 

Hello @Valeriia Hromova,

No the Package is not part of another application, it is part of the custom Applicaiton I created only, Also checked and did not find any dependency on this as well.

Do you think this might be issue of custom package? I created a section just for testing purpose to see the data of object I created. 

I think that added the dependency on custom but I removed that and tried again but got same result.

Please checkout this screenshot below:



Thanks !!

Show all comments

Hello,

 

I'm trying to make the DELETE button on Lead to be available only for certain users. This is my code:
 

In diff:

 

In methods:


In console IsDeleteButtonVisible appears as true, but the button is hidden no matter what.

Like 0

Like

9 comments

Change events to attributes bound in row action buttons do not occur. So changing the attribute won't change the button's properties. The only way I've been able to accomplish this is to override the onRowAction with tag delete to display a message if the action is not allowed. I've also hidden that using some conditional CSS as well, but that route is a bit hacky.

Ryan

You can hide the "delete button" on the detail inheriting from Detail Schema where you need, and add some of the following pieces of code to remove New, Copy, Delete & Edit

 

If you also want to remove delete in Methods, just need to add:

 

// remove the delete option
			getDeleteRecordMenuItem: Terrasoft.emptyFn	  

 

define("NdosSchema26d0e559Detail", [], function() {
	return {
		entitySchemaName: "NdosProductosServiciosRequisionCompra",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/,
		methods: {
			// Remove New record
			getAddRecordButtonVisible: function() {
				return false;
 
			},
 
			// remove the edit option           
			getEditRecordMenuItem: Terrasoft.emptyFn,
 
			// remove the copy option
			getCopyRecordMenuItem: Terrasoft.emptyFn,
 
			// remove the delete option
			getDeleteRecordMenuItem: Terrasoft.emptyFn	          
        }
	};
});

 

Regards

Julio

Julio Falcon (Cibernética),

True, as Julio says, you can hide it so it is not shown at all, but you cannot conditionally hide it. Actually, I was thinking you can't change the visible value for it at runtime (since it doesn't respond to change events). However, the current user isn't going to change, so you could use the approach of using an attribute as long as the attribute is set BEFORE the detail grid is rendered. You'd need to somehow pre-fetch that the user is in the role (like from MainHeaderSchema when they first log in), and add it to the Terrasoft.SysValues so it's retrievable without doing an ESQ, then you could set it easily in the detail's init.

Ryan

Ryan Farley,

 

Ryan, how can disable/delete the option in the same detail to select multiple records? Can help me, please?

 

Thanks

Julio

Julio.Falcon_Nodos,

Not 100% sure if this is all that is needed, so you'll have to test, but looks like it might work to add the following to disable multiselect (which means you can't delete multiple at once): 

init: function() {
	this.callParent(arguments);
	this.set("MultiSelect", false);
}

Ryan

Ryan Farley,  Julio Falcon (Cibernética),

I actually found a way to do this with your help. 
I kept the function that checks when the button should be displayed and changes the attribute value, but instead of trying to set the button through diff I called another function that sets the attribute through CSS.



 

Ryan Farley,

Thanks Ryan,

 

It didn't works :-(

 

Also what really I want to do is to know how can I detect the multiple deletion signal in a process, to recalculate the result regarding the records remaining in the detail, so If I didn't how to detect this, I found the best option is to inactivate the "Select multiple records" option in the detail menu

 

Ryan Farley,

I'm also try another approaches, but without results, to hide the "Select multiple records" menu option :-(

 

Based on article on https://community.creatio.com/questions/remove-new-and-import-buttons-lookup-object

 

define("NdosSchema82b72e2cDetail", [ "ConfigurationConstants" ], function(ConfigurationConstants) {
	return {
		entitySchemaName: "NdosDetalleDeCotizaciones",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/,
		methods: {
          init: function() {
         	this.callParent(arguments);
            this.getSectionActions();
          },
 
            getSectionActions: function() {
            	var actionMenuItems = this.callParent(arguments);
                //var itemToRemove = [];
            	actionMenuItems.each(function(item) {
            		if (item.values.Caption === "Resources.Strings.MultiModeMenuCaption" )  { //"Seleccionar varios registros" || item.values.Caption == "Select multiple records") {
            			item.values.Visible = false;
                      //item.values.Enabled = false;
                        //itemToRemove = item;
                      //itemToRemove.push(item);
 
            		}
            	});
                //actionMenuItems.remove( itemToRemove );
            	return actionMenuItems;
            }, 
 
            /* Delete the [Copy] menu item. */
            getCopyRecordMenuItem: Terrasoft.emptyFn,
 
          /* Delete the [Edit] menu item. */
            getEditRecordMenuItem: Terrasoft.emptyFn,
 
        }
	};
});

Ryan Farley,

Hi Ryan

 

Solved, the solution was shared by Pavlo Sokil and it's posted on article on https://community.creatio.com/questions/there-any-way-detect-process-wh…

Show all comments

Hello,

I would like to ask how to enable additional options such as editing or deleting notes in this section.

Currently, I can delete and edit them, but only from the message card; however, I am unable to edit directly on the object. It is important to me that the person who adds a note can independently edit it directly on the opportunity,

Best Regards 

 

 

Like 0

Like

3 comments

Hello

 

You should be able to delete records from the feed either on the feed page itself or from the communication panel, but only your own records. You cannot edit or delete other people's notes.


Dymytriy Vykhodets,

I understand, in that case how can you turn on the ability to edit own records 

Michał Zieliński,

 

Hello,

 

This option should be enabled by default. We would need to get access to your environment in order to investigate this issue. Please write to support@creatio.com and we will assist you with the request.

Show all comments

I need to change the Delete functionality on a list, to be a logical deletion instead of a physical deletion. 

Is that possible? 

Could I use a Business Process to cancel the delete process and mark the row as "deleted" ?

Thanks in advance,

Ignacio.

Like 0

Like

3 comments

Hello Ignacio,

Unfortunately, it's not clear what you mean by logical deletion, could you please describe the task in more detail?

Sure. I want to add a column called "IsDeleted" or "Deleted" that is marked to true when the record was deleted by a user. Then another process with process that deletion and do the physical deletion.

 

Hello,

When you initiate the deletion of a record, it will be permanently removed from the system, and this is a fundamental logic that cannot be changed.

However, you can add a logical field at the record level, for example, "IsDeleted", and instead of deletion, users can utilize this field. Then, configure a business process with a "delete data" element: 
https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/pr…

This element will handle the deletion of such records.

Thank you for reaching out!

Show all comments

Would individual cases or emails be deleted from CRM. It's not something we would do often but occasionally there are times where the need would arise due to a privacy incident.

 

Like 0

Like

1 comments

Hello,

 

You can create a lookup based on the 'Activuty' object:



 

And filter activities by email category 





 

Then apply additional filter and delete emails.



Regards, 

Orkhan

Show all comments

Hi, I have a doubt.

Could someone tell me how to delete and edit a template once placing it in a campaign?

Like 0

Like

1 comments

Hello,



Please be informed that it is not possible to edit templates that are used in running campaigns. You can edit email templates in Content Designer. I am sending you an instruction that describes how to do it in detail: https://academy.creatio.com/docs/8.x/creatio-apps/products/marketing-to…

Show all comments

Hello Everyone,



I Have uploaded the wrong Data in a custom object based on Freedom UI. Is there a way to delete multiple records in Freedom UI? Also, if not, how do I create a custom Button in Freedom UI and Link it with BP so I can overcome this issue?

 

Like 1

Like

2 comments

There used to be a great Marketplace app that was an SQL console. I would use that to delete data from an object. I have also created a lookup with the custom objects and deleted data from there. If you have a lot of rows it is a long process. You can also open a ticket with support with the SQL query to delete and they may run it for you.

You can also add SQL query to your Custom package and execute it

Show all comments

How do I delete a column from an Edit Page? We have sections with unused or accidentally added columns that we want to clean up and not have visible in Edit Page

Like 0

Like

1 comments

Hello Jeremy, 

 

The column can be deleted directly from the Section Wizard. 



If you have different data on UI and in Section Wizard, for example the column is visible on UI on the page but not available in Section Wizard (or vice versa), you'd need to check the value of the "Current package" system setting and set it to Custom, such issue may occur due to incorrect dependencies of your packages.

The "Custom" package is the very last package in the hierarchy, it "contains the functionality" of all other packages, so the mentioned issue should not occur once it's set as current package.



If the issue persists despite the provided recommendations, please contact the support team at support@creatio.com so we could proceed with investigation.



Best regards,

Anastasiia

Show all comments

It would be nice to add one more 'Delete&Bind' action to Sections, Details, Lookups etc. Id's of deleted records should be bound to the package and deleted on other environments as well when package is installed.

2 comments

Dear Vladimir!

 

Thanks for sharing your idea! We have registered it to add such functionality in future releases.

 

Best regards,

Anastasiia

This would be amazing !

Show all comments