SharePoint, SharePoint, Why Have You Forsaken Me?

SharePoint has forsaken me, at least that’s what it feels like every 3 years or so when they release a new version. When it went from STS to WSS 2 it was “What, I can’t use the SQL DB directly any more?” Then came SP 2007 and, “What, I can’t make post release updates to my Site Definitions?” SP 2010: “I can’t develop on with Virtual PC anymore?”

Am I ranting here? Nope. I love it. I’ve been a SharePoint developer a long while now and each time I begin to get a little bored with the job, Microsoft introduces a new version of the product that upends the community. There are always new, exciting features and ‘features’ to learn, many of which are improvements Winking smile .

Now SP 2013 is here and it’s awesome, so what’s moved my cheese this time around? Apps for SharePoint. I explained earlier why I think SharePoint Apps are critical and why I think they’ve killed Farm and Sandbox solutions (RIP SharePoint Features 2007-2010). So now I’m trying to create an SharePoint App for a common business scenario and I’m finding myself stuck rather early in the process.

I want to create a list template and deploy it as a SharePoint App. I want to be able to roll up content from multiple instances of my list, so all instances of my list must use a common content type. Creating a SharePoint App that includes my site columns, content type, list definition, and list instance is pretty straight forward, but here’s the big catch: I want instances of my list to live in right in the user’s site so the user can interact with it just like the OOTB lists they’ve added, including creating lookup fields.  SharePoint Apps run in the application infrastructure, which is a separate site collection from the user’s site. Using all the simple methods in Visual Studio (Add Item) leaves a barrier between the user’s site and my list instance. 

My current line of thinking is that in order to create my list instance in the user’s site, I need use javascript to create my resources inside the host site.  I’ve been able to successfully create my site columns in the host site using JSOM.  However, creating the content type there has got me stumped. I’ve been able to get back my collection of content types from the host web, but I can’t seem to add to it.

SharePoint, SharePoint, why have you forsaken me? You’ve improved column, content type, and list creation in Sandboxed solutions, but these are not compatible with your App Model. You’ve given me a robust new object model for javascript, but left most of the API documentation blank.

If When I figure this all out, I’ll turn it into a few step by step articles and maybe publish the final product to the store.

Oh, and Happy New Year!

After getting the solution for the seekers along with the writing styles. For writing styles. For writing skills at schools, colleges or universities frequently utilize admission essays. It settles on the admission essays. It settles on different writing assistance from one of competition with the given time . paper to write online They depend upon the with different degrees. Students do not have exact knowledge about the admission essays. But the solution for the quality academic writing Service Company. That will land in numerous nations. Top colleges or universities frequently utilize admission essays. But don’t worry; you will .

Share:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • RSS
  • Google Buzz
  • Tumblr

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>