Sharepoint encodes the URLs with unicode, so we’ll see many \u002f to represent /. If you want to decode those unicode strings, you can use this short code: unescape(JSON.parse(‘ »‘ + s.replace(‘ »‘, ‘\\ »‘) + ‘ »‘))
17
Fév
Sharepoint encodes the URLs with unicode, so we’ll see many \u002f to represent /. If you want to decode those unicode strings, you can use this short code: unescape(JSON.parse(‘ »‘ + s.replace(‘ »‘, ‘\\ »‘) + ‘ »‘))
Tags: english, javascript, Niveau intermédiaire, Programmation, sharepoint
15
Fév
When I open a dialog for an EditFrom and use the « Delete Item » button from the ribbon, then the main page is redirected to the related Sharepoint list. This behavior is very bad for the user experience. To change it I used the below Javascript code: // replace the Delete Item default action when into […]
Tags: english, javascript, Niveau intermédiaire, Programmation, sharepoint
9
Fév
With Sharepoint 2010, when you use Internet Explorer you can open an Office document in readonly or in edit mode. Also, when trying to open an Excel file in Firefox/Chrome it will probably open the ugly xslviewer and won’t let you deal with your file. After searching a bit about it, I found a clue […]
Tags: javascript, Niveau intermédiaire, Programmation, sharepoint