diff --git a/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-button-custom-field-start.png b/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-button-custom-field-start.png new file mode 100644 index 0000000000..b4eac04373 Binary files /dev/null and b/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-button-custom-field-start.png differ diff --git a/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-destroy-case.png b/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-destroy-case.png new file mode 100644 index 0000000000..8e6d7806cf Binary files /dev/null and b/Documentation/portal-guide/source/portal-developer-guide/dashboard/images/new-dashboard-case-widget/custom-action-destroy-case.png differ diff --git a/Documentation/portal-guide/source/portal-developer-guide/dashboard/new-dashboard-case-widget.rst b/Documentation/portal-guide/source/portal-developer-guide/dashboard/new-dashboard-case-widget.rst index 22ca725ead..034b73eec4 100644 --- a/Documentation/portal-guide/source/portal-developer-guide/dashboard/new-dashboard-case-widget.rst +++ b/Documentation/portal-guide/source/portal-developer-guide/dashboard/new-dashboard-case-widget.rst @@ -202,10 +202,16 @@ Portal supports creating custom action buttons as a column in case widget for sp Follow these steps to implement it: - #. Create a new process that will be triggered after clicking on the custom action button. In this example, the process will destroy the case. + #. Create a new process that will be triggered after clicking on the custom action button. In this process, define a request start event that accepts the ``uuid`` parameter. + When the ``Custom Action`` button on the case details page is clicked, Portal will call this process and pass the case UUID as + the ``uuid`` parameter. |custom-action-button-process-demo| + #. Design and implement the action/script for the custom action within this process. + + |custom-action-destroy-case| + #. Describe the custom action button in ``custom-fields.yaml``. .. code-block:: yaml @@ -593,3 +599,5 @@ Below are the definition of these attributes: .. |custom-action-button-custom-field| image:: images/new-dashboard-case-widget/custom-action-button-custom-field.png .. |custom-action-button-process-demo| image:: images/new-dashboard-case-widget/custom-action-button-process-demo.png +.. |custom-action-button-custom-field-start| image:: images/new-dashboard-case-widget/custom-action-button-custom-field-start.png +.. |custom-action-destroy-case| image:: images/new-dashboard-case-widget/custom-action-destroy-case.png diff --git a/Documentation/portal-guide/source/portal-user-guide/portal-header/index.rst b/Documentation/portal-guide/source/portal-user-guide/portal-header/index.rst index 02fc04e586..38461f38ba 100644 --- a/Documentation/portal-guide/source/portal-user-guide/portal-header/index.rst +++ b/Documentation/portal-guide/source/portal-user-guide/portal-header/index.rst @@ -101,7 +101,7 @@ HowTo: Set substitute .. note:: - Grant either permission :bdg-ref-warning:`🔑UserCreateOwnSubstitute ` or :bdg-ref-warning:`🔑UserCreateSubstitute ` + Grant either permission :bdg-warning:`🔑UserCreateOwnSubstitute ` or :bdg-ref-warning:`🔑UserCreateSubstitute ` to allow a user to create their own substitute definitions or create substitute definitions for all users, respectively. Change Password