Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

How to add search for new fields in ASSETS? (v3.x)

Hi. 
I was migrate from 2.x to 3.x
Look very nice. But i have some troubles now.

1. I was add two custom fields in my Inventory  - assets
City and Login
For update City field - i was create the rule. Its working

2. For the LOGIN field i was create in template Windows new category. Add PS script and now i can see the last logged user on PC. Nice. But! How tu update this field from Obj - Administrative data - LOGGED USER - LOGIN ? Or by another way - how to show this field in ASSETS list?

3. For created field search isnt work.

https://www.pasteboard.co/t38B5JZVR5yI.png

https://www.pasteboard.co/OcUlWDcmv0BF.png

Thanks 

ago in OCS Inventory NG server for Unix by (180 points)

2 Answers

0 votes

I just went through this! Adding custom fields in ASSETS had me scratching my head for a bit. It’s so satisfying once everything clicks! Thanks for breaking it down. Freecell Solitaire

ago by (180 points)
0 votes

2. For the LOGIN field i was create in template Windows new category. Add PS script and now i can see the last logged user on PC. Nice. But! How tu update this field from Obj - Administrative data - LOGGED USER - LOGIN ? Or by another way - how to show this field in ASSETS list?

3. For created field search isnt work.

https://www.pasteboard.co/t38B5JZVR5yI.png car games

https://www.pasteboard.co/OcUlWDcmv0BF.png

For the existing LOGGED USER → LOGIN value, I would first check exactly where v3 stores/exposes that inventory value and whether it can be selected as a column in the Assets layout. If it cannot, then using your PowerShell category to populate an Administrative Data LOGIN field is a reasonable workaround.

ago by (180 points)
 
Powered by Question2Answer
...