The behavior seems a bit odd, and I wasn’t able to reproduce it. I recommend trying the following steps:
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.
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.
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?
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.
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.
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.
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.
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(){returnfalse;},
// remove the edit option
getEditRecordMenuItem: Terrasoft.emptyFn,
// remove the copy option
getCopyRecordMenuItem: Terrasoft.emptyFn,
// remove the delete option
getDeleteRecordMenuItem: Terrasoft.emptyFn}};});
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.
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):
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.
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
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
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.
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.
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.
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.
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…
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?
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.
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
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.
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.