Remove components from a script page


前提条件

The following permissions:

  • Scripter > Script > All
  • Scripter > PublishedScript > Add
  • Scripter > PublishedScript > View

Check what you select before deleting so that you do not delete items unintentionally.

  1. Select a component. To remove multiple components, select the parent container of the components.

  2. Check your selection to make sure it applies solely to the items that you intend to delete. To do so, view the indicator in breadcrumbs where the currently selected component is identified by name. In the example below, only the Submit button is selected. Note that the breadcrumb identifies the selection as a button and that its parent container is a horizontal stack container:

    script_editor_delete_single_component2

    If a parent container is selected instead, the indicator displays “Horizontal Stack Container.” In this example, everything inside that container is selected for deletion.

    script_editor_delete_container_component2

  3. To delete the selection, click the Delete Component icon in the component properties.

    <p><img src="https://help.mypurecloud.com/wp-content/uploads/2015/01/el_trash_icon.png" alt="Figure shows button used to delete a component or selection" class="alignleft size-full wp-image-55102" /></p>

    If the component is a container, all components that it contains are also deleted.

    Tip: Do not press the Delete key. Click the Delete Component icon instead. Modern browsers, such as Chrome, interpret delete as a shortcut to go to the previous page in the browsing history for the tab. That effectively closes the script editor, losing any edits you have not saved.

    元に戻すとやり直し

    削除を止める場合は、[元に戻す] をクリックすると削除されたコンポーネントが復元されます。

    図は、[元に戻す] ボタンの場所を示しています

    You can undo component-level changes such as adding, moving, or removing a component. You cannot undo property-specific changes such as the color of a component, its position, and so on. Redo performs the inverse of undo. It restores component-level changes, but not property-level changes.