Page 1 of 1

Computer preview screen - additional fields?

PostPosted: Fri Aug 29, 2008 5:00 pm
by Motaba
Hey everyone,

I'd like to have some additional fields (user email and a couple of custom fields from the audit) on the Computer Preview screen. How do you map a field from the ADT file using a placeholder, such as %[Info.RAM]%. If someone can help, it will be greatly appreciated!

PostPosted: Wed Sep 03, 2008 4:16 pm
by eliaslynch
If you're asking what I think you're asking, check under Tools/Configure Computer List. You can add snapshot fields and custom fields to the views there.

Preview Screen

PostPosted: Thu Sep 04, 2008 10:23 am
by Motaba
Thanks, but what I what I meant was the Preview Panel - the one that sits under the Computer List and displays a digest of information from the current computer record. On top of it there is a menu bar with various actions (Audit Now, Open in Windows Explorer, Manage, Show Details).

PostPosted: Thu Sep 11, 2008 5:21 pm
by pille
Actually you can add other variables to the Preview section.

Open up the file under C:\Program Files\Alloy Software\Alloy Discovery 5\Sysdata called Computer_Details_Preview.htm and look for the section:

Code: Select all
            <h1>%[Info.Computer_Name]%</h1>
            <table>
              <tr>
                <th>Manufacturer, Model</th>
                <td>%[Info.Manufacturer]% %[Info.Computer_Model]%</td>
              </tr>
              <tr>
                <th>Computer Description</th>
                <td>%[Info.Computer_Description]%</td>
              </tr>
              <tr>
                <th>Serial Number</th>
                <td>%[Info.SerialNumber]%</td>
              </tr>
              <tr>
                <th><b>Asset Tag</th>
                <td>%[Info.Asset_Tag]%</td>
              </tr>
              <tr>
                <th><b>Last Audit Date</th>
                <td>%[Audit_Date.AuditDate.DateTime]%</td>


With some basic HTML skills you can add %[Info.RAM]% or any other value from the ADT snapshot. You'd have to add a section like this:

Code: Select all
              <tr>
                <th><b>RAM</th>
                <td>%[Info.RAM]%</td>
              </tr>

Re: Computer preview screen - additional fields?

PostPosted: Fri Sep 19, 2008 11:07 am
by Motaba
Great, that's what I was looking for. The template file gives a pretty good idea of what sections and fields are available for mapping. Thanks!