Dienstag, 13. Dezember 2011

How to get SharePoint List ID not HTMLEncoded

When you try to get a List ID in SharePoint you will always go to Library Settings and get it from the URL. There will be something like this:

listedit.aspx?List=%7B618C96DB%2DE1C5%2D4C7D%2D9B69%2D2AEB4702008D%7D

Problem here is, that you need to replace different Strings (%7B, %7D, %2D) this is not really a problem but it is a waste of time.

In the List Settings (or library Setting) just click on "Information management policy settings". Here you can get your clean decoded List ID from the URL

Example:

List={618c96db-e1c5-4c7d-9b69-2aeb4702008d}

Keine Kommentare:

Kommentar veröffentlichen