Question

Create first edit page of a section OR delete a section

Hi,

By mistake, I deleted the edit page schema of a section from the configuration.

the create new page on section wizard is not there no (probably because there is no page). How can I create a new edit page for that section?

OR, how do I delete the section so I'll use the object to create a new section?

Thanks,

Chani

Like 0

Like

4 comments

You can delete a section if you have access to the database.

You can delete the section by dropping the table in the database where the table name is your Section code.

 

https://academy.creatio.com/docs/developer/interface_elements/section/o…

 

DECLARE @UId UNIQUEIDENTIFIER

DECLARE @ModuleEntityUID UNIQUEIDENTIFIER;

DECLARE @ModuleID UNIQUEIDENTIFIER;

DECLARE @Name NVARCHAR(max) = 'ToDelete';

select @UId = UId from SysSchema where Name Like @Name

select @ModuleEntityUID = Id from SysModuleEntity where

SysEntitySchemaUId = @UId

select @ModuleID = Id from SysModule where SysModuleEntityId = @ModuleEntityUID;

delete from SysModuleInWorkplace where SysModuleId = @ModuleID;

delete from SysModule where Id = @ModuleID;

delete from SysModuleEdit where SysModuleEntityId = @ModuleEntityUID;

delete from SysModuleEntity where Id = @ModuleEntityUID;

delete from SysDetail where EntitySchemaUId = @UId;

delete from SysLookup where SysEntitySchemaUId = @UId;

delete from [Lookup] where SysEntitySchemaUId = @UId;

Satyam Kumar,

Thanks for the information. Would that delete the object too or just the section? I do NOT want to delete the object.

Thanks,

Chani

Show all comments