Difference between revisions of "Creating Analytical Applications"
Gadiyedwab (talk | contribs) |
Gadiyedwab (talk | contribs) |
||
Line 35: | Line 35: | ||
* '''List app views''' - list all the views that belong to this app. A view can only belong to one app. | * '''List app views''' - list all the views that belong to this app. A view can only belong to one app. | ||
− | * '''List app data sources''' - | + | * '''List app data sources''' - see a list of all the data sources used by the app. This includes data sources used by views and by jobs and ServiceNow data sources to which you publish views. When importing an app, you'll be prompted to map these data sources for the imported app. |
− | * '''List app scheduled jobs''' - | + | * '''List app scheduled jobs''' - list the scheduled jobs that are part of this app |
− | * '''List app track trend jobs''' - | + | * '''List app track trend jobs''' - list the track trend jobs that are part of this app |
− | * '''List app XML files''' - | + | * '''List app XML files''' - see a list of XML files attached to this app (see "Attache an XML file" below) |
− | * '''Delete app''' - | + | * '''Delete app''' - delete the app |
− | * '''Edit this app''' - | + | * '''Edit this app''' - edit the app name, description and instance |
− | * '''Attach an XML file''' - | + | * '''Attach an XML file''' - attach an XML file to this app. The file becomes part of the app and is exported/imported as part of this app. This is used to hold ServiceNow update sets that define dashboards |
− | * '''Export app definition''' - | + | * '''Export app definition''' - export the entire app to XML. It created a single XML file that holds all the items that make up the app |
− | * '''Publish all app views''' - | + | * '''Publish all app views''' - publish each and every view in this app using the saved publishing options. The publishing options are saved when you publish the view using the "Publish" option on the File menu |
− | * '''share this app''' - | + | * '''share this app''' - by default, an app is personal and can only be seen by the user who created or imported it. Sharing the app makes it visible to other people in the team. Please note that this will also make all the views and jobs that are part of this app shared too. When you publish the views of a shared app, the published views become shared as well |
+ | |||
+ | == Importing an App == | ||
+ | |||
+ | When you import an app, you'll see the following dialog: | ||
+ | |||
+ | |||
{{Template:TOC|Tracking Trend|Administration}} | {{Template:TOC|Tracking Trend|Administration}} |
Revision as of 19:39, 30 April 2015
Contents
Introduction
Analytical applications, or apps for short, provide the ability to package multiple views with their publishing options, scheduled jobs, and trend jobs into a single portable Application.
Apps can be used for:
- packaging a related set of views that can easily be migrated, for example from development to test and production, and published together in a single action
- creating a standard solution for other customers
Apps allow you to package your work into a single collection. This collection can be exported into a single XML file, imported as a new app, and published as a single entity.
Creating a New App
From the View menu, select "Add a new App". The following dialog will appear:
- Name - the name of your app
- Description - an optional description for documentation purpose
- Instance - optional. If you maintain more than one copy (instance) of the app you can name each instance. For example, you can have a "dev" instance and a "production" instance
Adding Views to an App
Once you created an app, you'll see some new menu option. For example, when you're displaying a view, you'll see the option "Add this view to an app" on the File menu.
Select the app from the drop-down list.
Listing Apps
Select "Apps" from the Views menu to see a list of apps. The context menu in this list provides actions you can take with apps. These are detailed below.
- List app views - list all the views that belong to this app. A view can only belong to one app.
- List app data sources - see a list of all the data sources used by the app. This includes data sources used by views and by jobs and ServiceNow data sources to which you publish views. When importing an app, you'll be prompted to map these data sources for the imported app.
- List app scheduled jobs - list the scheduled jobs that are part of this app
- List app track trend jobs - list the track trend jobs that are part of this app
- List app XML files - see a list of XML files attached to this app (see "Attache an XML file" below)
- Delete app - delete the app
- Edit this app - edit the app name, description and instance
- Attach an XML file - attach an XML file to this app. The file becomes part of the app and is exported/imported as part of this app. This is used to hold ServiceNow update sets that define dashboards
- Export app definition - export the entire app to XML. It created a single XML file that holds all the items that make up the app
- Publish all app views - publish each and every view in this app using the saved publishing options. The publishing options are saved when you publish the view using the "Publish" option on the File menu
- share this app - by default, an app is personal and can only be seen by the user who created or imported it. Sharing the app makes it visible to other people in the team. Please note that this will also make all the views and jobs that are part of this app shared too. When you publish the views of a shared app, the published views become shared as well
Importing an App
When you import an app, you'll see the following dialog: