Giter Site home page Giter Site logo

hotel's Introduction

Mastering ServiceNow - Second Edition

This GitHub repository contains the Hotel application built out in the Mastering ServiceNow book. To get started quickly, please fork this Hotel repository at GitHub. Use the Fork button just up there to the right. You will need a GitHub account to carry this out, but don't worry, its free.

You will then be redirected to your fresh copy. Take the URL from your browser (it will be github.com/<username>/hotel) and follow these instructions.

Importing the application

Linking your application to your new repo is easy! Just follow these steps in your ServiceNow instance. Note it must be running the Helsinki version of ServiceNow.

  1. Navigate to System Applications > Studio, and click on Go next to Open studio.
  2. In the window that appears, click Import From Source Control
  3. Fill out the URL, User name and Password with the URL you copied just now, and your Github credentials
  4. Click Import and let the magic happen!
  5. Once it is done, click Select Application, then click Hotel in the list. You are done! You now have the

Jumping to another branch

The Source Control feature of Studio allows you to make checkpoints, letting you jump to a particular version very easily. I have created a branch for each chapter. This means that if you wish to start with Chapter 11 (and have fun with Service Portal), you can check out Chapter 10 and get straight to it. So while every chapter builds on the previous one, you can type in the cheat code and jump to where you want.

Follow these steps to do so:

  1. Open up Studio: System Applications > Studio, and click on Go next to Open studio. Select Hotel.
  2. From the Source Control menu, click Switch Branch.
  3. If you have done configuration, you will need to decide if you want to get rid of it, or stash it. Select the appropriate option.
  4. In the dropdown, select the branch you want. If you want to import all of the configuration from Chapter 7 and all previous chapters, select 07-Integrations and click Switch Branch.
  5. Wait while the your application is aligned to that in the repo, and once done, click Close Dialog
  6. To manage your stashes, you can, erm, click Manage Stashes in the Source Control menu

Some supporting data have been added to each branch. This includes some example Room and Maintenance records, as well as some test users. The admin user contains the necessary roles to work with application, so has been included from Chapter 8 onwards. The Active, Locked Out and Password fields will not be altered however. If you have difficulty accessing the Hotel application, use the admin user to access it.

Disabling Scoped Administration

Scoped Administration only allows users with the right roles to access the application. This include System Administrators. If you wish to disable this (enabled from Chapter 8 onwards), import this XML file to update the Scoped administration field appropriately.

hotel's People

Contributors

martinwoodnow avatar gardinerhotels avatar

Watchers

James Cloos avatar Victor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.