DROP PAGE / SNIPPET
Synopsis
DROP PAGE module.Name
DROP SNIPPET module.Name
Description
Removes a page or snippet from the project. The page or snippet must exist; otherwise an error is raised.
Dropping a page or snippet does not automatically update references to it from microflows (e.g., SHOW PAGE), navigation menus, other pages (SNIPPETCALL), or security rules. Use SHOW IMPACT OF module.Name before dropping to identify all references that will break.
Parameters
module.Name- The qualified name of the page or snippet to drop (
Module.PageNameorModule.SnippetName).
Examples
Drop a page:
DROP PAGE Sales.Order_Edit;
Drop a snippet:
DROP SNIPPET MyModule.CustomerHeader;
Check impact before dropping:
-- See what references this page
SHOW IMPACT OF Sales.Order_Edit;
-- Then drop if safe
DROP PAGE Sales.Order_Edit;