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 ?
Aucun commentaire:
Enregistrer un commentaire