Create Folder & Update Metadata by using REST API C# for SharePoint Online

I faced a problem today, how to create Folder and Update Metadata by using C# but with the restriction of not using the lovely dll SharePoint.Client. The REST Api hopefuly can help us by providing function I need, but not so easy to work with that guy, if you forget to add a Header he … Continue reading Create Folder & Update Metadata by using REST API C# for SharePoint Online

Windows Store Content Dialog Close programmaticaly

Close content Dialog programmaticaly Windows Universal appThe following code can be used to close the new content Dialog after a period of time.private IAsyncOperation<ContentDialogResult> dialogTask; private void Button_Click(object sender, RoutedEventArgs e) { ContentDialog dlg= new ContentDialog(); dlg.Content = new TextBlock() { Text = "This content dialog will closed in 5sec!" }; try { dialogTask = … Continue reading Windows Store Content Dialog Close programmaticaly

SharePoint 2010 / 2013 Get all groups for SPUser including active directory group

SharePoint don't give you groups for SPUser if the right is given by an active directory group.You have to merge groups specificied directly using user login in sharepoint groups and active directory groups.private static List GetAllUserGroups(SPUser user){    List groups = new List();    //Get groups from SharePoint    foreach (SPGroup spGroup in user.Groups)    … Continue reading SharePoint 2010 / 2013 Get all groups for SPUser including active directory group

How to log directly into EventLog server (Observateurs d’événements)

Every application can write into the server event log diary thanks to a C# class called "System.Diagnostics.EventLog"In order to log message you have to instanciate one object of this class and specify two important elements Source and LogLog will define the category in which your message will appear, you can use 'Application' 'Security' 'Installation' and … Continue reading How to log directly into EventLog server (Observateurs d’événements)

BeMyApp dev kings 2013

L'initiative BeMyApp continue son petit bonhomme de chemin et propose un nouveau défi pour les fan de développement :http://pitchyourapp.eventbrite.fr/Source : BeMyApp.frDEV KINGS 2013 - On remet ça !Edition spéciale app'citoyenneVenez développer vos applications citoyennes et participez au concours des DEV KINGS 2013.Choisissez la localité à représenter, créez votre team et développez vos app' !2 MOIS POUR DEVELOPPER … Continue reading BeMyApp dev kings 2013