<HTML>
<HEAD>
<TITLE>Re: [Casper] Capturing ARD custom fields and mapping to the database</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I figured it out :)<BR>
<BR>
I called Jamf Support and the ARD custom fields isn’t something that jamf binary will grab – you have to use the GUI. So instead, I’ll be using the –assetTag option on the jamf binary to take what the user inputted and pass it straight to the jamf binary’s –assetTag option instead.<BR>
<BR>
Much simpler than mapping the ARD custom field, IMHO.<BR>
<BR>
j<BR>
<BR>
<BR>
On 5/5/09 13:35 , "Nichols, Jared" <<a href="jared.nichols@ll.mit.edu">jared.nichols@ll.mit.edu</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi-<BR>
<BR>
So I made an application that prompts the user to enter their computer’s asset tag which then sets that value to ARD custom field 1 with<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Courier, Courier New">defaults write /Library/Preferences/com.apple.RemoteDesktop Text1 466049<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">In looking in the system preferences/sharing/remote management/computer settings I see that the value was set correctly (466069 in this case).<BR>
<BR>
In the JSS, in Admin/Inventory Options/Inventory Preferences, I set ARD Field #1 to map to recon field “Asset Tag.” <BR>
<BR>
Next I did a </FONT><FONT FACE="Courier, Courier New">sudo jamf recon</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> to see if the asset tag number was picked up and inserted into the JSS and it was not inserted. <BR>
<BR>
Am I doing something wrong or does this function just not work the way I’m expecting? I tried it with Remote Management both on and off.<BR>
<BR>
j<BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436 <BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436 <BR>
<BR>
</FONT></SPAN>
</BODY>
</HTML>