Étiquette : sharepoint

Show the full content of a Sharepoint Calendar event box

With a Sharepoint Calendar the events with a long title/description are cropped and you cannot see the full description, except if you move your mouse over it. Example: So I’ve had to do some CSS and a complicated JavaScript code to be able to create some large boxes. Now we are able to see the […]

Override SharePoint OOTB Upload.aspx default for « Add as a new version to existing files » checkbox

With Sharepoint, when we want to upload a file, the « Add as a new version to existing file » is checked by default, and that could be an issue for you. Here is a JavaScript fix to add into your masterpage, just before the </head> tag : <script type= »text/javascript »> function DefaultUploadOverwriteOff() { if (document.title.indexOf(« Upload Document ») > […]

WebPart doesn’t work with IE8 in standard mode under Sharepoint 2010

The Microsoft developers are not really good, and we can see it if you use IE8 in standard mode with Sharepoint 2010: the web parts don’t work anymore due to an error with the wpadder.js file. After few hours trying to find the problem I’ve finally discovered that the WPAdder class uses the for..in statement […]

Récupérer les détails d’un utilisateur dans une masterpage [Sharepoint]

Il est assez simple de stocker dans un coin d’une masterpage les détails de l’utilisateur pour pouvoir ensuite les réutiliser. Pour cela vous devez rajouter une ligne au début de votre masterpage : <%@ Register Tagprefix= »SPSWC » Namespace= »Microsoft.SharePoint.Portal.WebControls » Assembly= »Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c » %> (Attention de bien mettre Version=14.0.0.0 si vous êtes sous Sharepoint 2010, et Version=12.0.0.0 […]

SharepointPlus 2.5.1 released [announcement]

I’ve just released SharepointPlus 2.5.1 ! This new version brings two functions : – $SP.people() that will permit you to find the user details (email, manager, departement, job title, …) from his name; – $SP.addressbook() that is a search feature to find anyone from the Active Directory using a part of a name. Enhance your […]

Public release of SharepointPlus — a JavaScript API for Sharepoint [announcement]

In my job I have to work with Sharepoint, but with no access to the back-end. I can only edit the HTML code, and hopefully I can use JavaScript. It’s really handy with the Sharepoint web services, even if they are not well-documented ! I found a couple of JS API on the Web, but […]

URL dans un Workflow de Sharepoint [Astuce]

Avec les workflows de Sharepoint on peut faire un certain nombre de choses, comme envoyer des emails avec des liens. Il existe trois variable dans la Current List à savoir : – Encoded Absolute Url : retourne une url du type http://votre.site.com/votre/rep/Lists/NomListe/2_.000 avec ‘2’ l’ID de l’item… donc pas très utile; – Server Relative Url […]