Display the data on Portal from CMDB_CI table

Dipu_9999
Tera Expert

I am creating a custom widget on the portal and I want to display the 4 fields as columns: Name, Source, IP Address, and Environment. The corresponding background names for these fields are u_application_name, u_source, ip_address, and u_environment. I want to display the data from the 'cmdb_ci' table. The current script is not working, so please help me correct it or provide me with a solution. or any client script needed?

1 REPLY 1

Gabriel Haynie
Tera Expert

Looks like you are referencing the cmdb_ci table. But if you want to pull data back from a specific CI class, you will need to use the table for that class. For example, u_cmdb_ci_laptops.