Welcome to WiseSoft.co.uk!
Register
About
Contact
Donate
Home
Scripts
Articles
Software
Forum
Links
Active Directory Schema Guide
Submit a Script
All Scripts
Active Directory
Computer
Database
Event Logs
Exchange/Email
File System
General
Printer
SQL Server
Account Page
Address Page
COMPlus Page
DialIn Page
Environment Page
General Page
MemberOf Page
Organization Page
Profile Page
RemoteControl Page
Sessions Page
Telephones Page
TerminalServices Page
Batch File
HTA
KiXtart
PowerShell
T-SQL
VB
VBScript
Computer Accounts
Domains, Forests & Trusts
Groups
Monitoring & Replication
Organizational Units
Schema Information
Search
Sites and Subnets
User Accounts
PowerShell
VBScript
VBScript
PowerShell
VBScript
VBScript
VBScript
VBScript
VBScript
PowerShell
VBScript
VBScript
PowerShell
VBScript
HTA
KiXtart
PowerShell
VB
VBScript
VBScript
KiXtart
PowerShell
VBScript
PowerShell
VBScript
Batch File
KiXtart
PowerShell
VBScript
HTA
VB
VBScript
HTA
KiXtart
PowerShell
VBScript
HTA
PowerShell
T-SQL
VBScript
All Articles
Active Directory
Miscellaneous
Programming
Scripting
Security
SQL Server
WiseSoft
Submit Article
All Software
TSQL DDL Code History Tool
Account Management Spreadsheet
Bulk AD Users
Password Control
Script Builder
NTFSFix
TSQL DDL Code History Tool
Bulk AD Users
Password Control
Script Builder
Account Management Spreadsheet
NTFSFix
Scripting
Guestbook
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Login
User Name:
Password:
Remember me next time
Forgot Password?
Login using OpenID:
Create free account
Exclusive access for registered users
Registered Users:
20870
Click here to find out how you can help support wisesoft.co.uk!
home
recent topics
recent posts
search
faq
AspNetForum v.5.2.7.0
WiseSoft :: Forum
:: Forum
user:
psw:
remember me
|
lost password
|
register
Home
»
Bulk AD Users
-
Bulk AD Users - Suggestions
»
telephone attribute and E.164
|
5/28/2010 6:55:55 AM
permalink
gaanthony
Posts 1
I was testing Bulk AD Users and user accounts with Telephone attribute in E.164 format (e.g., +19805551234) lose the + when exporting. Even if I use the ' in Excel to set field to string and enter + before the phone number the import drops the + from the phone number. Tried a couple of things but no go.
Basically is there a way to Escape characters like the + so it's included in the import from CSV? Putting a \+ causes the Telephone field to become empty.
edited by gaanthony on 5/28/2010
5/31/2010 8:18:04 AM
permalink
admin
Posts 331
Hi,
The the value is incorrectly been converted into a number which causes the + sign and any leading zeros to be dropped from the data. Exporting to a CSV file will allow the data to be preserved, but you will have the same issue if you try to open the CSV file in Excel - Excel will incorrectly convert the data to a number.
To open the file correctly in Excel, you will need to use the "From Text" data import option. Specify the type as "delimited" and the delimiter as "Comma". You should see your data in grid format in the data preview. You will need to select the telephone number column and change the format to Text to allow the data to be read correctly be Excel.
If you re-save the CSV file from Excel, you will notice that Excel will again drop the + sign and any leading zeros, unless you use the "From Text" import option (The data is preserved in the text file, but Excel will have problems reading it properly). If you plan to use the file as an input to the CSV update feature, the Bulk AD Users application will also drop the + sign and any leading zeros. The original CSV export works fine with Bulk AD Users as the double quotes text qualifier causes the application to treat the data as text instead as a number. Excel drops the text qualifier which causes the Bulk AD Users application to also treat the data as a number. The easiest option to fix this problem is to create a
schema.ini
file.
If you are using the "Edit In Excel" feature, you can change the number format of the cells to "Text" to allow the data to be preserved in the update. Changing the number format won't re-add the plus sign and leading zeros automatically, but it will allow them to be persisted in the update.
The CSV import issue is also described in the documentation here:
http://www.wisesoft.co.uk/software/bulkadusers/csv_update.aspx
Hope this helps,
David
PS
This is something I'll be looking to fix in the next release, but it might be a while before this is available. Until then, you can use a schema.ini file or quote your CSV files with double quotes.
edited by admin on 5/31/2010
pages:
1
|
Home
»
Bulk AD Users
-
Bulk AD Users - Suggestions
»
telephone attribute and E.164