What Kind of User Do I need to Programmatically authentication to Office 365...
We are using the Code Sample from Wictor's post to Programmatically authentication to Office 365 and SharePoint Online. The cookie however is returned null when we pass the user id and password for a...
View ArticleHow to set Custom Retention Policy for a site programatically?
Hi,I am creating subsites in sharepoint 2013 programatically using the below code.SPWeb newweb = spWeb.Webs.Add(siteTitle, siteTitle, siteDescription, locale, templateName, inheritParentSiteNavigation,...
View ArticlePublishing Page & Script/Content editor webpart
Hello,as soon as i insert a script or content editor webpart in a 2013er publishing site (for example the enterprise wiki template) the page is somehow broken and i can't insert more webparts (ribbon...
View ArticleHow to Disable "Edit Report" option in PowerView Report in SharePoint 2013.
I'm showing a powerview report in a page, I need to disable either "Edit Report or Save" option for a particular group.Environment: SharePoint 2013- Sandboxed Solution.I have tried the below link for...
View Articlesharepoint 2013 autohosted host wcf service
HelloI am developing sharepoint on my office365 account and my question is is there a possibility to host wcf service in app?Or something similar which allows me to connect to it from outside.Because...
View ArticleHow do you integrate a control driven Excel app using Sharepoint Excel...
I'm trying to externalize slider controls into JavaScript so that I can parameterize an Excel app that I created. So when the user operates the controls in one iframe that the SharePoint Excel app...
View ArticleJavascript Client Object Model OpenBinary Method?
Hello,Is there any way i can read document stream in javascript like we can call OpenBinary method in C#? Is there any replacement of SPFile.OpenBinary method? I have seen lot of samples for uploading...
View Articlehow to target apps for specific site collections
is there a way to make only specific site collections to be able to add my app?Scenario is : I have created a app and want only few site collection is allowed to add? App should not be seen by all site...
View ArticleSharepoint 2013 one workflow call another
In sharepoint 2013 is there any new feature that will allow one sharepoint 2013 workflow call another sharepoint 2013 workflow.
View ArticleWeb template not found
Hi guys.I saved a site as a site template and wanted to apply it to new site collections on my web app programmatically. I followed Waldek Mastykarz blog...
View Articlesharepoint 2013 office365 socket listen not working
helloi am working with sharepoint 2013 on my office365 account.I would like to create TcpChannel on it(something like tcp server)- just open port i a way (in c#) TcpChannel serverChannel = new...
View ArticleChange LCID from webpart
Hi ,i have to develop a WP that by click a button control change the LCID (UI).. Idea?
View ArticleDeclarative Worflow - VSTO - SPO
I'm working on a "Declarative Worflow" with VSTO for SharePoint Online 2013 project and I have two sticking points: 1) Add the link in the email task of task assignment notification: The assignment of...
View ArticleSharePoint 2013 PowerShell Get-SPSite - Operation is not valid due to the...
We have SharePoint 2013 Enterprise (Build 15.0.4420.1017). vanilla sharepoint installation. 3 server farm: 1 WFE, 1 App, 1 DB: SQL server 2012 Standard. All are running on Windows Server 2008 R2 SP1....
View ArticleSPQuery.ViewFields not working on...
I am trying to fetch data from list using PortalSiteMapProvider but if i specify viewfields in SPQuery then it returned zero items but same query return 13 items for GetItems method of list, here below...
View ArticleSharePoint Designer 2013 no Design View
Dears friends: I recently discovered that SharePoint Designer 2013 has not Design view. Only Code view. From everything I've seen in SharePoint since 2001, honestly this is the most -mmm- how to say...
View Articleusing REST to update file properties
Hello Experts,I am looking for a code example in C# for updating file properties in sharepoint 2013, using REST interface.I have already managed to upload files to document library, but I need to...
View ArticleSP13 in new farm or in old farm
We have a Sharepoint 2007 farm which use exclusively as documents libraries.We are now thinking of adopting SP 2013 for other tasks (lists, discussions etc). Should we install SP 2013 in the old farm...
View ArticleException type: NullReferenceException
I have the following scenario: an web part that retrieve an Item from a listcode:namespace SPPMyWebPart.VWPMyWebPart { [ToolboxItemAttribute(false)] public partial class VWPMyWebPart : WebPart { SPList...
View ArticleCreating a Custom NewForm.aspx
HiI have created a list and would like to add some Headings to the NewForm.aspx, so I created a new form and set as default using SharePoint designer and inserted some code for the heading. If I then...
View Article