/build/static/layout/Breadcrumb_cap_w.png

What is the K1000 query to have a certain asset type show up in the configuration of your queue?

"query: select distinct(LOCATION) from USER"  I tried using something like this which is the example given and repalcing location and user with my categories, but it did not work.


0 Comments   [ + ] Show comments

Answers (3)

Posted by: chucksteel 11 years ago
Red Belt
1

If you want the name of the asset displayed then you need to know the asset's type ID. The easiest way to find this is to view the Asset Types page using the adminui (go to /adminui instead of /admin). Open the asset type like you're going to make a change to it and the URL will now contain the asset type ID at the end of the URL, e.g. ID=12.

In the service desk configuration your query would be:

SELECT NAME FROM ASSET WHERE ASSET_TYPE_ID = 12

You would put the number for your asset type where I have the 12 in that statement.

Posted by: nshah 11 years ago
Red Belt
0

to give you an example, we pull location in the helpdesk queue and department

query: select * from location

query: select * from department

 

You might want to try

query: select (distinct LOCATION) from USER

 

Posted by: peactera 11 years ago
Orange Senior Belt
0

Thank you chucksteel! i copied that exact query and it worked perfectly.  Changing my ID number of course. Thanks again :)

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