Hi Lane:

Thank you for pointing this out.

The documentation is wrong. It should have been DnsName instead of Name. 

The InterMapper's schema table will have the up-to-date information. You can
export this by connecting to your running web server and typing the
following URL:

    http://imwebserver/~export/schema.html?fields=*

Fields with CREATE attribute can be used in insert. 

Name is a read only field since name is an automatically generated field
(the first line of the device's label). 

Ruth Kurniawati
Dartware, LLC

> -----Original Message-----
> From: [email protected] [mailto:InterMapper-
> [EMAIL PROTECTED] On Behalf Of Lane Livingston
> Sent: Tuesday, May 17, 2005 6:23 PM
> To: InterMapper Discussion
> Subject: [IM-Talk] Importing Map and setting a Name
> 
> The import procedure also disallows the use of inserting a 'Name'
> 
> See the error below:
> 
> 05/17 16:04:50  impt  Importing from file import.txt: Starting ...
> 05/17 16:04:50  impt  Import operation: Insert (reason: insert
> directive is specified).
> 05/17 16:04:50  impt  Import warning: read-only fields will not be
> modified: Name
> 05/17 16:04:50  impt  Import Directive - Format=tab Table=devices,
> Fields=Name,MapName,Address,Probe.
> 05/17 16:04:50  impt  AssignFieldFlags failed: Name Field cannot be
> used as insert field, will attempt to use as modify field instead
> 05/17 16:04:50  impt  AssignFieldFlags failed: Probe Field cannot be
> used as insert field, will attempt to use as modify field instead
> 05/17 16:04:50  impt  Map MapA - Created device 192.168.2.111 (g428e496d-
> r15).
> 05/17 16:04:50  impt  Map MapA Device 192.168.2.111 (g428e496d-r15) -
> Probe set to "snmp".
> 05/17 16:04:50  impt  Map MapA - Created device 192.168.2.112 (g428e496d-
> r16).
> 05/17 16:04:50  impt  Map MapA Device 192.168.2.112 (g428e496d-r16) -
> Probe set to "snmp".
> 05/17 16:04:50  impt  Importing from file import.txt: Done. Status: 2
> records inserted.
> 
> The docs show that you can. Must be a bug.
> 
> -Lane
> 
> ____________________________________________________________________
> List archives:
> http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
> To unsubscribe: send email to: [EMAIL PROTECTED]


____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to