You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to ServiceNow's Code Snippets community repository, managed by the Developer Program and the sndevs Slack community.
4
6
5
7
Inside this repository, you will find community submitted code-snippets and their variants for different use-cases.
6
8
9
+
**[📝 Contribution Guidelines](CONTRIBUTING.md)** | **[📚 Browse Categories](#repository-organization)** | **[🔍 How to Use](#how-to-use-this-repository)**
10
+
7
11
> Interested in our other ServiceNow Hacktoberfest projects? See the main repository [here](https://github.com/ServiceNowDevProgram/Hacktoberfest) or see our official blog post [here](https://devlink.sn/hacktoberfest).
8
12
9
13
**Note:** ServiceNowDevProgram has many repositories that can be imported directly into ServiceNow, this is not one of them; This repository is meant to be edited directly in GitHub or any other Git-enabled IDE like VS Code.
@@ -28,6 +32,25 @@ We appreciate your participation and contributions to this community-driven proj
28
32
**_CONTRIBUTORS must follow all guidelines in [CONTRIBUTING.md](CONTRIBUTING.md)_** or run the risk of having your Pull Requests labeled as spam.<br>
29
33
🔔🔔🔔
30
34
35
+
## Table of Contents
36
+
37
+
-[How to Use This Repository](#how-to-use-this-repository)
This repository contains code snippets that you can use in your ServiceNow instance. Here's how to make the most of it:
47
+
48
+
1.**Browse by Category**: Navigate through the [six major categories](#repository-organization) to find snippets relevant to your needs.
49
+
2.**Copy and Adapt**: Once you find a useful snippet, copy the code and adapt it to your specific use case in your ServiceNow instance.
50
+
3.**Read the Documentation**: Each snippet folder contains a README.md file that explains how the snippet works and how to implement it.
51
+
4.**Search by Topic**: Use GitHub's search functionality to find snippets by keywords (e.g., "GlideRecord", "REST", "UI Action").
52
+
5.**Contribute Your Own**: If you have a useful snippet, consider [contributing](#we-invite-you-to-contribute) to help others.
53
+
31
54
## Repository Organization
32
55
33
56
The repository is organized into **6 major categories** that cover all aspects of ServiceNow development:
@@ -50,16 +73,61 @@ External system integrations, data import/export utilities, RESTMessageV2 exampl
50
73
### 🎯 [Specialized Areas](Specialized%20Areas/)
51
74
Domain-specific functionality including CMDB utilities, ITOM scripts, Performance Analytics, ATF Steps, Agile Development tools, and other specialized use cases.
52
75
76
+
## Finding Snippets
77
+
78
+
There are several ways to find the snippets you need:
79
+
80
+
1.**By Category**: Browse the six major categories listed above.
81
+
2.**By Search**: Use GitHub's search functionality with keywords like:
82
+
- API names: `GlideRecord`, `GlideSystem`, `GlideAjax`
0 commit comments