The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ashok Madhavan1
ServiceNow Employee
ServiceNow Employee

By default, CMP shows a set of CI classes in the end user portal. Sometimes, we might want to show more classes in there. 

find_real_file.png

This article shows how you can add more.

Get to the Resource Type list table “sn_capi_resource_type”. https://your_server/sn_capi_resource_type_list.do

Let us say that we want to show the 'AWS Datacenter' class in the end user portal.

find_real_file.png

Search for the CI class in the that table.
Look for the  ‘Service Category’  and ‘Visible’ column. Make sure the 'Service Category' is set to an appropriate value. In this case we can set it to 'Compute'. Set the 'Visible' to true.

Now go to User Portal ==> Stacks ==> Resources. You will see that the ‘AWS Datacenter’ will now show up.

find_real_file.png

It will show those 'AWS Datacenter' records to which the user has access to. If the is a non-admin user, then unless the record is assigned to her, no records will show up. The user needs to be the assinged_to for that record or be a group admin. If the user is an admin, then all the aws datacenter records will show up.

find_real_file.pngIn a similar way, any CI class can be displayed here.

In some cases the CI class is a new one. Follow the same step and you might have to create the record in the sn_capi_resource_type table as well.

Comments
jain2
Tera Contributor

Hi Ashok,

 

Thank you for this Post. however, just take an example of AWS datacenter, it is not cloud agnostic table and what if customer is only using Cloud user portal for Azure cloud provider then what is the use of showing AWS datacenter table. because the way, you provided steps, it is always visible on Cloud user portal no matter table is used for AWS, Azure or Google.

 

Ashok Madhavan1
ServiceNow Employee
ServiceNow Employee

The CI class need not be cloud agnostic. It can be specific CI classes as well. 

 

By showing the aws datacenters here, the next steps could be that we can show additional Day-2 operations that can be performed. Like adding tags to a set of VMs belonging to that datacenter.

 

Basically, showing comes first. then comes Day-2 ops on it.

Ashok Madhavan1
ServiceNow Employee
ServiceNow Employee

Hi Jain,

 

Am planning to do a follow up with a another article on a day-2 operation on a AWS Region which would tag multiple resources. 

 

Thanks for the comments. Keep it coming. It will keep us in solving your problems better.

 

regards

Ashok Madhavan

Varshith Kuraga
Tera Guru

Hi Ashok,

When I'm setting the Service Category to Compute and unfortunately the system is still showing it as empty. I tried by setting the AWS Datacenter Resource block to draft mode but still, the Service Category is set to empty. I even changed the scope of the application from Cloud Management to Cloud API Application. 

Could you please help me?

Ashok Madhavan1
ServiceNow Employee
ServiceNow Employee

The scope should be Cloud API as this record is in Cloud API scope.

Open up that record (https://itomgcp2.service-now.com/sn_capi_resource_type.do?sys_id=6ccf2188eb81320047f6a5115206fec5) and set the 'Product' to 'AWS Elastic Compute Cloud' and then save.

The Product selection would set the service category for you.

regards

Ashok Madhavan

Varshith Kuraga
Tera Guru

Working. Thanks

Varshith Kuraga
Tera Guru

Is there any possibility to know which AWS accounts these locations belongs to? Since the Portal shows the Location Name, we are unable to find which AWS account this Location belongs to perform start/stop

Version history
Last update:
‎08-04-2019 04:01 PM
Updated by: