cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
0
Helpful
4
Replies

Dynamic Global Directory Listing for Intranet?

vocollect
Level 1
Level 1

I'm looking for some pre-written xml page(s) (XML to pull data and XML Stylesheet to format data) that will display the all the information in the Global Directory in an web page that I can publish on our local intranet. Currently a manually updated Word Doc that's converted to a PDF (which is nearly always out of date) is how we capture this information. I would like to have something that is dynamic in nature.

Has anyone developed anything like this? I'm looking to not re-invent somethat that may already exist.

I would appreciate an assistance.

Debbie

4 Replies 4

jasyoung
Level 7
Level 7

Well, if you're not looking to reinvent, have your Intranet link over to the directory service built right into CallManager:

http://yourcallmanager/ccmuser/directory.asp

No login is required. Depending on your version of CallManager and whether you have WebDialer installed/enabled, the telephone numbers shown may be enabled for click-to-dial operation, which is nifty.

Not looking to re-invent here, but I would love to find a way to just display everyone in a single list, but this is certainly a start. Any other suggestions would be appreciated.

You could make your Intranet link into a prebuilt form submission that finds everybody. For example:

http://yourcallmanager/ccmuser/directory.asp?findBy=last&match=begins&pattern=&submit1=Find&rows=200

Note the null pattern, which is equivalent to just hitting Find on a blank search from the normal directory page. Set the Rows parameter to something large enough to contain all your users; you're not limited to the choices you're given on the form although you should be gentle with this if you have more than a few hundred users.

If you wanted to be clever, you could place a search form directly on your Intranet home page that submits the input over to the CCMUser directory page, along with the all-user search. This way your users can do searches directly from your Intranet.

There are two other dynamic ways to pull information out of the user directory. One is via LDAP. You would need to query the DC Directory via a third-party LDAP library or assuming you're developing on Windows, perhaps the Windows-builtin ADSI toolkit (I've read that it can connect to LDAP directories other than Active Directory). It would then be up to you to format and display the data. The other is via the AXL SOAP API, which you can get documentation on from Cisco Developer Support. That does provide an XML interface, but I don't think the user search and list mechanisms are terribly strong. Specifically, I think you end up getting a list of users and you have to query each one individually to get telephone numbers and departments.

http://www.cisco.com/cgi-bin/dev_support/access_level/product_support

Based upon your original reply, I started digging, and found that there are two Call Manager Enterprise Parameters (I went to System / Enterprise Parameters) that needed to be set..

The first: Enable All User Search --- needed to be set to True

The second: User Search Limit --- needed to be set to 500 (which is the max. Although I only have about 300 devices, I didn't want to have to keep changing this value.)

http://ServerIP/ccmuser/directory.asp?findBy=last&match=begins&pattern=&rows=500

Now I just need to edit the XML to only give me LastName, First Name and extension as well as to wrap the columns of name and extension be 3 columns wide. Not sure how to do this, but my web developer here should be able to help me. Thanks.