logo

NJP

Now Mobile adding charts

Import · Jul 20, 2020 · article

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

Hi there,

Now Mobile, what a nice piece within the ServiceNow family. And while working with the Now Mobile and especially Applet Launchers, have you noticed the section type "Chart section"? Sounds like you could enrich the Now Mobile with displaying charts. This would enhance the Now Mobile a lot again and would be appealing for some specific audiences within your company.

So let's see if we can get this working, adding charts to your Now Mobile.

Applet Launcher

Out-of-the-box there is an Applet Launcher for the homepage, "Homepage". On this one, we need to tie a new Applet Launcher Section. Navigate to "System Mobile > Applet Launcher". The Applet Launcher Section is under the "Body" section. Just double click the Insert new row..., add an order (for example 100), and create a new Section.

image

When creating a new Mobile Section, a pop-up concerning the Section Type appears. "Chart Section" would be our choice.

image

On the Media Section, most import is selecting the Chart type that you are after (Single score or Chart) and the specific Chart that you are after in the Charts field.

image

Chart

The Charts field actually references the sys_sg_chart table. You would need to create a record in this table first, so it will be selectable when setting up the Media Section.

When setting-up a sys_sg_chart record, you can choose between type Report and PA. For this Community article, I've just selected type Report. When Report is selected, a reference field to the sys_report table will be shown. When PA is selected, a reference field to the pa_widgets table will be shown. For this Community article, we are just selecting an out-of-the-box Report. Obviously, you could set up your own reports and widgets and select them here!

image

View original source

https://www.servicenow.com/community/mobile-apps-platform-articles/now-mobile-adding-charts/ta-p/2302800