On Sharepoint 2013 I was trying to hide a field (the complete row) based on some elements into its description. To do so we will call our file using the JSLink (see my previous post about it). The JS file looks like that: (function() { // do some actions as soon as the fields are […]
Author: Aymeric
Bypass a lookup field not displayed because of threshold on NewForm and EditForm [Sharepoint 2013]
EDIT 22/Dec/2016: there is s a new version of this article at https://blog.kodono.info/wordpress/2016/12/22/2-bypass-a-lookup-field-not-displayed-because-of-threshold-on-newform-and-editform-sharepoint-2013/ Sharepoint is really annoying to limit the access to the list with more than 5,000 items… It causes many troubles, and one of them is when you use a lookup field into a form that is tied to a big list. Sharepoint […]
Incruster des sous-titres dans une vidéo
Voilà une opération qui pourrait paraitre simple et qui pourtant est difficile à trouver sur le Net… Pour cela on va utiliser le logiciel HandBrake. Commencer par le télécharger puis l’installer. On choisit notre fichier vidéo d’origine (ici un .mp4) en cliquant sur “Source” : On choisit la destination, c’est-à-dire là où notre nouveau fichier […]
Send an email to several recipients from a String in a workflow [Sharepoint 2013]
I found the case in which I have to send 1 email to several recipients. I have the names stored into a Sharepoint list. Using REST API and a call into my Workflow I’ve been able to get a list of login names (using $expand=MyUserField and $select=MyUserField/Name), then you just need to concatenate them separate […]
Load a script once a DispForm is fully shown in Sharepoint 2013
Sharepoint 2013 introduced the JSLink. This is very useful to play with forms and views. My attempt here is to remove some rows from the DispForm. To do so I needed to trigger an action as soon as the fields rendering has been done. After different tries, I finally came up with the PostRender option. […]
Add a SharePointWebControls into a HTML version of a MasterPage [Sharepoint 2013]
In Sharepoint 2013 it’s now possible to create the MasterPage based on an HTML file. Here is the snippet you need to add into your HTML page to get a SharePointWebControls: <!–SPM<%@ Register Tagprefix=”SharePointWebControls” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>–> <!–CS: Start Create Snippets From Custom ASP.NET Markup Snippet–> <!–SPM:<SharePointWebControls:TextField runat=”server” FieldName=”Title” />–> <!–CE: End […]
Illegal use of $_SERVER. You must use the request class or request_var() to access input data. [phpBB]
When I want to update my phpBB forum I get this annoying message because I’m using a homemade auth file where $_SERVER is used. I found the solution on the phpBB forum: Modified /forums/config/parameters.yml. Set core.disable_super_globals to false and delete the cache
Get color_id from a Google Calendar using API [PHP]
For a project I needed to get the events from a Google Calendar, as well as the colors from it. It’s been a pain, but after a couple of days I’ve been able to create a PHP page to do so. It will use the server-to-server auth mechanism. I’ll try to provide the different steps […]
Mise à jour d’un serveur Kimsufi (OVH) depuis Debian 7.10 (Wheezy) vers Debian 8 (Jessie) [Linux]
Il faut régulièrement penser à mettre à jour son serveur Kimsufi. Je vais essayer d’expliquer brièvement les étapes à suivre pour cela. On va d’abord sauvegarder les données : mkdir /root/svg_special; cp -R /var/lib/dpkg /root/svg_special/; cp /var/lib/apt/extended_states /root/svg_special/; dpkg –get-selections “*” > /root/svg_special/dpkg_get_selection; cp -R /etc /root/svg_special/etc Ensuite il est conseillé d’utiliser screen pour pouvoir […]
Passer son serveur Apache en HTTPS avec Let’s Encrypt
Je vais expliquer les différentes étapes pour passer un serveur Apache en HTTPS grâce à Let’s Encrypt. Toutes les opérations vont se passer dans une console sur le serveur Linux en mode root. J’utilise ici une Debian 7.10 « Wheezy ». Je me suis aidé de cet article en anglais. Commencer par nettoyer le contenu […]