lundi 26 janvier 2015

Sharepoint Client Object model, list.get_defaultViewUrl() not returning correct URL when there are spaces in list name



My purpose of using get_defaultViewUrl() was to actually get URL of library. It works fine as long as there are no spaces in library name, it fails when there are spaces in library names. for e.g. if library name is: Test Library, get_defaultViewUrl() returns : http://server/site/Test instead of http://server/site/Test%20Library


Is this a bug in this method ? Any other suggestions to get URL of library ?








0 commentaires:

Enregistrer un commentaire