/build/static/layout/Breadcrumb_cap_w.png

Reporting: Asset Custom Fields Table

We're looking to build a report using the custom SQL functionality within Kace. After adding custom fields to an Asset type, we're having trouble finding the tables and columns that contain the assets' values. 


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: Hobbsy 2 years ago
Red Belt
1

Top Answer

So there are a few elements to pull together to get to the right data here, they are the ASSET table, the ASSET_TYPE table and the individual asset type table.

The core data including the Asset ID reside in the ASSET table, so the id, name etc and then every asset type you create will have an ASSET_TYPE.ID also shown in the ASSET table. Every Asset type will also have its own table, showing its ID in the name and in that table is found the custom fields you created.

So for example if you create a new Asset type, check the type ID in the ASSET_TYPE table i.e 10205, you will have an ASSET_DATA_10205 table created to hold your custom data and your core data will be in the Asset table.

9k=

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ