Shawn Cicoria

Human in the cloud...

Browse by Tags

Tagged Content List
  • Blog Post: SharePoint 2013 Farm in Less than an Hour–New Azure Portal and Azure Templates

    Soon, you’ll be able to author your own templates, but as of today, you can provision an 3 Machine SharePoint 2013 Farm – have it running in less than 1 hour with just a few clicks. For details take a look here: SharePoint Server Farm at http://azure.microsoft.com/en-us/documentation/articles/virtual...
  • Blog Post: Building an Office Web Apps (OWA) WOPI Host

    UPDATE: January 31, 2014 The solution and project have been updated to MVC5, and Web API 2.  In addition, editing PowerPoint (PPTX), and Excel files has been added.  Word Editing is not part of the solution. Also, PDF viewing is enabled.  See the updated post here: http://blogs.msdn.com...
  • Blog Post: Office 365 SharePoint and PDF files…

    Recently, O365 added some server side rendering of PDF files.  Problem is if you have PDF files and an anonymous site, if a user clicks the PDF link, it will then try to authenticate that users.  Which defeats the purpose of anonymous. You’ll need to change the links as follows: Append either...
  • Blog Post: Querying a SharePoint 2013 Task List for Subtasks

    The CAML for the query easily enough includes a ParentID reference.  However, if you’re spelunking around in SP 2013 using the OData services, you might have a hard time finding the ParentID field. However, if you just issue the query: //web/_api/Web/Lists/getByTitle('TaskListName')/Items/?$filter...
  • Blog Post: Faking SPContext–for testing only…

    Keith Dahlby has a good post on creating a fake SPContext.  Here’s the link and the code NOTE: This is not production safe code – use at own risk… http://solutionizing.net/2009/02/16/faking-spcontext/ public static SPContext FakeSPContext(SPWeb contextWeb) { // Ensure HttpContext.Current if...
  • Blog Post: Identity Claims Encoding for SharePoint

    Just to remind myself, the list of claim types and their encodings are listed here at the bottom. http://msdn.microsoft.com/en-us/library/gg481769.aspx Where for example: i:0#.w|contoso\scicoria ‘i’ = identity, could be ‘c’ for others # == SPClaimTypes.UserLogonName . == Microsoft.IdentityModel.Claims...
  • Blog Post: HACK: Forcing FBA Token Refresh against SPClaimProvider with No Credential Challenge

    The approach takes advantage of the SP 2010 OOB Session Token handler and FBA claims provider implementation that during a period of token lifetime, if there is activity during the period of time that can be defined as "EW" in the image in the section "Background" below, that the...
  • Blog Post: SharePoint 2010 FBA and Sliding Sessions

    This is to provide a little bit of explanation on the implementation of FBA authentication with SP 2010. There have been blog posts that indicate there are no sliding sessions, but with a little manipulation and understanding of some of the settings, there is somewhat of support for sliding sessions...
  • Blog Post: Adding and Removing SPClaimProvider via PowerShell

    There are really 2 ways to get a SPClaimProvider registered – 1 via a Farm Feature activation.  The other is via PowerShell.  However, the documentation on how to remove is not that clear. The following code will remove it based upon a TypeName.  Other identifiers can be used. In order...
  • Blog Post: Know what Process is calling your SPClaimProvider

    If you’re writing a custom SharePoint Claims Provider ( SPClaimProvider ) in order to augment claims, it’s important to also understand what process is executing your specific code path.  In the situation where you are making calls to a DB or service endpoint you will need to understand which process...
  • Blog Post: Forcing use of the same Master Page in sub-sites without Publishing

    This seems to come up a few times.  The following sample script in PS applies a common master page across all SPWebs in a site collection. $site = Get-SPSite http://fba.contosotest.com/dv1 $site | Get-SPWeb -limit all | ForEach-Object { $_.MasterUrl = "/dv1/_catalogs/masterpage/custom_v4.master";...
  • Blog Post: Getting Office Web Apps to run on a Domain controller - AppServerHost.exe

    I recall we had a similar issue when running document conversion services. If you’re attempting Word or PowerPoint viewing and you see errors in the event log regarding AppServerHost.exe – you need to enable non-sandboxing.   http://blogs.msdn.com/b/opal/archive/2010/04/25/faq-sharepoint-2010-rtm...
  • Blog Post: App_offline.htm and SharePoint and wholly contained images…

    The question came up today if we could use an “app_offline.htm” file along with HTML in that file that would reference images. First, I wasn’t 100% sure if the app_offline.htm would work, but it sure did.  Since it’s just the Asp.net hosting process that detects the file, it circumvents loading...
  • Blog Post: Deployment of Resource files (*.resx) to App_GlobalResources under SharePoint

    This is a continuation from Deployment of Theme and Resource files Resource File Deployment (Resx) The second item was deploying Resource files to the App_GlobalResource directory present as a subdirectory under each IIS site for each SharePoint Web Application zone. Remember that you can have multiple...
  • Blog Post: Deployment of Theme and Resource files via Feature / Timer Jobs

    Recently, we had a deployment scenario where we needed to deploy a custom theme and some resource files (resx) to the Farm and the Web Application zones respectively. Theme Deployment via Feature / Timer Job For the first feature, deployment of a theme, we initially went down the path assuming that we...
  • Blog Post: Don’t get caught with long Account Names!!

    This has bitten me a couple of times.  This error surfaced yesterday when running a scripted install with psconfig.exe – the error that appears in the log is: LookupAccountName failed to get the SID for account <domain>\LONG AC NAME > 20 chars When setting up SharePoint, we usually have...
  • Blog Post: Make sure you copy the correct web.config…

    During an installation issue, a client followed the TechNet article ( http://technet.microsoft.com/en-us/library/cc298447.aspx ) and those instructions are misleading. It indicates to copy the “web.config” to the Layouts directory – what if fails to specify is it should be the “layoutsweb.config” file...
  • Blog Post: SharePoint 2010 and Claims Based Awareness

    The industry it moving towards identity standards, and with the recent release of Windows Identity Foundation (fka Geneva), and the beta of SharePoint 2010, it’s important to take a look at the direction of how identity is being normalized into a “service” within the SharePoint object model. With SPS...
  • Blog Post: SharePoint 2007 and InfoPath 2010 Client – current install issues…

    Ok, I’ve been bitten twice in the past week on this.  If you have InfoPath 2010 Beta installed and you’ve also got SharePoint 2007 running, at least with the latest SP2 and October CU, you run into an issue that surfaces in the logs as follows One or more types failed to load. Please refer to the...
  • Blog Post: Cleanup your Features…

    Many times, your coding, etc. SharePoint features.  You’ll code something up, deploy, activate, etc.  Using WSP builder, while a convenient tool, it also leaves some orphans around.  It forcibly deletes the solution leaving any place it’s activate with some “broken features”. Fortunately...
  • Blog Post: Minor update to the WSS Command Prompt…

      Take the following and paste into a VBS file – then run. Still need to choose the Link, then set the “Run as administrator” when UAC is on…   Set Shell = CreateObject("WScript.Shell") Set Env = Shell.Environment("PROCESS") DesktopPath = Shell.SpecialFolders("Desktop"...
  • Blog Post: SharePoint 2010 Developer | Learn | Channel 9

    Ted Pattison and Andrew Connell have a bunch of Learning SharePoint 2010 content up on Channel 9. I can say, having attended Ted’s classes in the past, he’s one of the best to learn SharePoint development from.  He’s been at the forefront of getting to the reality of how to build things while working...
  • Blog Post: Visual Web Part Designer in Visual Studio 2010

    In the October edition of MSDN Magazine, there’s a great article that does a quick rundown of building a component that can be surfaced as a Web Part via the Gallery and placed in Web Part zones on pages. The article by Steve Fox is here: Steve Fox - Visual Studio 2010 Tools for SharePoint Development...
  • Blog Post: Building a Mini URL Service – Part 2 – The Algorithm

    Part 1 – Part 2 The first order of business is what URL shortening approach should be used to take some very long URL, which in IE7 is limited to 2,083 characters ( KB208427 ) and provide a nice compact link. The first part of the link (protocol + server + port) is generally controlled by what domain...
  • Blog Post: Building a Mini URL Service – Part 1

    This set of posts is about a "Mini URL" service that I created initially to help provide a means to automate shortening of URL's for sending in emails to users in SharePoint. If you've used SharePoint and at times you need to send a link to a List or Document item one way is to "right-click" the item...
Page 1 of 2 (36 items) 12