React in ServiceNow applications (advanced)

React in ServiceNow — Advanced Approach

1. ServiceNow Infrastructure

GET resource for serving Javascript and CSS files
GET resource for serving PNG, Jpeg and GIF files

2. React Boilerplate

Making it work all together

1. Install react app container (ServiceNow scoped application)

2. Install react boiler plate

3. Update configuration settings (optional)

4. Build deployment package

5. Deploy to ServiceNow

  • Simply copy html code from ./dist/index.html into UI page. HTML code already includes all necessary ServiceNow-code injections for:
  • Attach (drag-n-drop) the files from ./dist/api/... folders to the corresponding GET resources. Your JS resource should look like this (see attached files on a form):




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Regular Expression Resources | Regex

Ionic 4 — Hiding & Showing Tabs on certain pages

What is React

Customize the Apostrophe Admin UI

React with TypeScript Series: Part 1- Getting Started with Props

How To Run VueJS With Java Backend on GCP Cloud Run

Identity: Sign Up with React and Asp.NET Identity

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrew Pishchulin

Andrew Pishchulin

More from Medium

A developer’s oath: keep my promises … with React

Incorporate Localization into Your React App with react-i18next

Learn how powerful NextJS is and how it can improve your web development

Write a simplified version of React to fully understand the fiber architecture