From eda3e1a3def4c9b18dc6c4782b271a2d4ffdfc50 Mon Sep 17 00:00:00 2001 From: TejasSNOW Date: Sun, 5 Oct 2025 11:55:57 +0800 Subject: [PATCH 1/2] Create my_apprvals_new_desing.html Feature Description: Enhanced Approval Widget This update introduces an enhanced user interface and functionality to the standard Service Portal approval widget, addressing a common gap in the Out-of-the-Box (OOTB) experience. Key Features and Improvements: Mandatory Rejection Reason: Added a mechanism to prompt the approver to enter a reason when rejecting an approval record directly from the portal. Ensures better auditing and accountability for rejection decisions. "Request More Information" Functionality: Introduced a dedicated "More Info" button on each approval line and a corresponding modal. Allows approvers to easily rollback the approval record, add comments detailing the required information, and send it back to the requester/fulfiller. Modernized Interface: Implemented custom CSS styling for a cleaner and more consistent visual presentation. --- my_apprvals_new_desing.html | 536 ++++++++++++++++++++++++++++++++++++ 1 file changed, 536 insertions(+) create mode 100644 my_apprvals_new_desing.html diff --git a/my_apprvals_new_desing.html b/my_apprvals_new_desing.html new file mode 100644 index 0000000000..a8c6fa8d3e --- /dev/null +++ b/my_apprvals_new_desing.html @@ -0,0 +1,536 @@ + + + + + + ServiceNow Approval Widget Preview + + + + + + + + + +
+
+
+

My Pending Approvals

+
+ +
+

No pending approvals found.

+
+ +
+
+
+
+

+ My Approvals +

+
+ +
+ +
+ + +
+ +
+

No pending approvals found.

+
+ + + + + + + + + + + + + + + + + + + + + + +
Approval TaskRequesterCreatedActions
+ + {{ approval.task.number }} - {{ approval.task.short_description }} + + {{ approval.task.opened_by }}{{ approval.task.start_date }} + + + +
+ + + +
+
+ +
+ +
+ +
+ +
+ + +
+ + + + + From 1e9c9764ffa2c00d21ead18b11309caca3922971 Mon Sep 17 00:00:00 2001 From: TejasSNOW Date: Sun, 5 Oct 2025 12:13:28 +0800 Subject: [PATCH 2/2] Add files via upload Enhanced UI Page Description I've developed a UI page (or custom form) designed to streamline the process of granting user access. When a user clicks a button, a form appears that collects the necessary information for the access request. Form Elements: Multiline Text Area: For the user to enter a detailed justification or description of the access needed. User Picker (or Select User field): To specify the individual who requires the access. Category Selector: A dropdown or selection field to define the type or level of access being requested. Submission Action: When the user submits the form, a new record is automatically created to process and track the access grant. --- .../New Text Document (2).html | 45 +++++++++++++++++++ .../page_client script.txt | 0 .../server_scrip_of_page.txt | 0 3 files changed, 45 insertions(+) create mode 100644 Client-Side Components/UI Pages/Custom Alert using UI Page/New Text Document (2).html create mode 100644 Client-Side Components/UI Pages/Custom Alert using UI Page/page_client script.txt create mode 100644 Client-Side Components/UI Pages/Custom Alert using UI Page/server_scrip_of_page.txt diff --git a/Client-Side Components/UI Pages/Custom Alert using UI Page/New Text Document (2).html b/Client-Side Components/UI Pages/Custom Alert using UI Page/New Text Document (2).html new file mode 100644 index 0000000000..44240d2a9c --- /dev/null +++ b/Client-Side Components/UI Pages/Custom Alert using UI Page/New Text Document (2).html @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + +
+ + Additional note: + + + +
+ + Manager : + + + +
+ + Confirm category : + + + +
+ +
+
+
\ No newline at end of file diff --git a/Client-Side Components/UI Pages/Custom Alert using UI Page/page_client script.txt b/Client-Side Components/UI Pages/Custom Alert using UI Page/page_client script.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Client-Side Components/UI Pages/Custom Alert using UI Page/server_scrip_of_page.txt b/Client-Side Components/UI Pages/Custom Alert using UI Page/server_scrip_of_page.txt new file mode 100644 index 0000000000..e69de29bb2