Migration from Sandbox solution to SharePoint apps

Hi,
  We have a requirement that we need to migrate SharePoint Sandbox Solution to SharePoint Apps. Few things which I would like to know that if the Sandbox solution has some custom code / server based code then how we have to migrate into Apps. Because
Apps only support client based. And in some cases, sandbox has no code solution. In that case, how we can migrate into Apps..
Recently, many companies are trying to migrate from Sandbox solution to apps becuase microsoft depreciated sandbox in SharePoint 2013. In future, they may stop to support sandbox solution. Please share your views on how to proceed on migration code
and without code based solution to Apps...
Balaji -Please click mark as answer if my reply solves your problem.

HI Balaji,
I assume you are having on premise Farm not office 365 so  in that case
http://msdn.microsoft.com/en-us/library/office/fp179887(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/fp179930(v=office.15).aspx
you have the following options for code:
1- SharePoint Hosted Apps: you will write Javascript code and use Javascript to access client object model
http://msdn.microsoft.com/en-us/library/office/fp142379(v=office.15).aspx
2-Provider Hosted Apps: you will write 2 parts , the first one is an application that will be deplpyed to SharePoint server the second one is a web site (asp.net or mvc) that can be hosted on the SharePoint server or on a separate Application server and
here you you can put all the logic of your .net code and you can have remote event recievers
http://msdn.microsoft.com/en-us/library/office/fp142381(v=office.15).aspx
for non code option what you will be doing is using SharePoint designer but mostly you will still to have SharePoint hosted apps
some codes
https://apps.codeplex.com/
https://corporatenewsapp.codeplex.com/
Hope this is clear and helpful
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

Similar Messages

  • External Web Service call from Sandbox Solution in SharePoint 2010

    Can anyone from this forum can tell me how to call an external web service from Sandbox solution?
    It would of great help as got stuck on it for a long time.
    Note:- Cannot use Silverlight and JQuery to call web service from client side.Cannot use full trust proxy.

    Hi Dibyendu,
    Sorry for delay but fact that we can not call webservice in sand box solution(It's does not support).
    The reason behind of this sand box solution support only full trust code.
    One or more assemblies referenced by the XmlSerializer cannot be called 
      from partially trusted code.
    When you create a reference to a Web service, Microsoft Visual Studio®.NET creates and places one or more objects in your assembly to store the argument data passed to the method(s) in the Web service. These objects are serialized using the XmlSerializer class
    when you invoke one or more of the methods in the Web service. By default, if your assembly is strongly named and resides in the BIN directory, callers with partial trust cannot access objects within that assembly. When you make the call to the Web service
    method, the XmlSerializerdetects that there are partially trusted callers on the callstack (i.e. your assembly) and prevents the serialization from taking place even though the object resides in the same assembly.
    Er.vinay

  • Sharepoint Taxonomy Control in sandbox solution in sharepoint 2013

    Hi,
    We have requirement  to bind termsets into taxonomy control  using sandbox solution in sharepoint 2013.
    I cannot use webpart,and APP. Below code added in aspx page in module.
    i cannot write any code as this sandbox solution.
    <%@ Register Tagprefix="TaxonomyField" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    %>
     <TaxonomyField:TaxonomyWebTaggingControl ID="TWC" runat="server"  SspId="08d413ac-c81d-4232-b1df-c2da46f9b21a" TermSetId="06c93fa1-8a76-4637-9b87-5e612276c199"  AllowFillIn="true" IsMulti="false"
    IsDisplayPickerButton="true"  Language="1033"  IsAddTerms="true" >
        </TaxonomyField:TaxonomyWebTaggingControl>
    This is able to render the control, where as termsets are not being  displayed.
    Please help on this.
    -Navya

    I don't think hard coding SSPID and TermsetID is a good practice. Try to get the values through code and using unique names.
    <Taxonomy:TaxonomyWebTaggingControl ID="TWC" IsDisplayPickerButton="true"
    AllowFillIn="true" runat="server"
    ShowTaxonomy(TWC, TaxonomyGroup, TermSetName);
    public static void ShowTaxonomy(TaxonomyWebTaggingControl control, string taxonomyGroup, string termsetName)
    SPContext context = SPContext.Current;
    SPSite site = context.Site;
    TaxonomySession tsession = new TaxonomySession(site);
    TermStore ttermStore = tsession.TermStores["TermStore"];
    Group tgroup = ttermStore.Groups[taxonomyGroup];
    TermSet productsTermSet = tgroup.TermSets[termsetName];
    control.SspId.Add(ttermStore.Id);
    control.TermSetId.Add(productsTermSet.Id);
    control.IsAddTerms = false;
    control.AllowFillIn = false;
    control.IsMulti = true;
    control.IsIncludeUnavailable = false;
    control.Language = 0;
    if(termsetName==Constants.UserKeywordsTermSet)
    control.AllowFillIn = true;
    control.IsAddTerms = true;
    Bala

  • Deploy SharePoint 2010 Sandbox solution to SharePoint 2013

    Hi All,
                I have sand-box solution which is developed in  Visual Studio 2010 for  SharePoint 2010 ,And it is specially developed for branding the SharePoint 2010  site. Now I  need
    to add the sandbox solution to SharePoint 2013 Site.
                Can any one help how can I do this.
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .

    Hi siddiqali,
    According to your description, my understanding is that you want to deploy SharePoint 2010 Sandbox solution to SharePoint 2013.
    Most of the wsp Solutions deployed in SharePoint 2010 should work fine in SharePoint 2013. This is because of the Support for both 14 Hive and 15 Hive directories that are Created in SharePoint 2013 by default.
    Initially, when you deploy a SharePoint 2010 Solution it gets deployed to 14 Hive and not 15 Hive. To force the solution to install in 15 Hive you need to modify manifest.xml file of your solution and add addSharePointVersion=”15.0” attribute to it. The
    Solutions can be forced to install in 15 hive. However, some of the files especially that refers to _layouts might not work. All SharePoint 2010 Solution files that refers to _layouts folder (i.e. Features, Layouts-files, Images, ControlTemplates)needs to
    be updated, the best approach is to re-create the Solution in Visual Studio 2012.
    More information, please refer to the link:
    http://www.learningsharepoint.com/2013/03/24/deploy-sharepoint-2010-solutions-in-sharepoint-2013/
    Here are some similar posts for you to take a look at:
    http://www.threewill.com/2013/10/migrating-a-sharepoint-2010-solution-to-a-sharepoint-2013/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/30fe4cb9-ea11-46d0-868d-4306d915b4db/how-to-convert-sp2010-wsp-to-sp2013?forum=sharepointdevelopment
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How can we increase resource quota of sandbox solution in sharepoint 2013?

    Hi,
    i have created a sandbox solution for sharepoint 2013 but the problem is it shows that your resource usage exceeds your quota.so is there any way we can increase the resource usage quota.
    my application is on sharepoint online 365.
    thanks,
    Gaurav

    Sandbox solutions have been deprecated for SharePoint 2013.  And if you're using this within Office 365, then I'm guessing it means you've navigated directly to the _catalogs/solutions library?  As this resource quota is normally controlled from
    Central Administration, you might be stuck with your curent quota.
    Andy Burns has some interesting observations on Office 365 limitations when it comes to Sandbox solutions
    http://www.novolocus.com/2012/07/17/office-365-technical-observations-from-a-first-project/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Search not working in site collections migrated from MOSS 2007 to SharePoint Server 2013

    I have few site collections migrated from MOSS 2007 to SharePoint Server 2013 using database attach (first to 2010 and then to 2013).
    When I search for anything in these migrated sites, I get "Nothing here matches your search".
    Checked the crawl log for these sites and see this error for all items.
    The content processing component failed to process the security descriptor of the item. ( The input ACL is invalid (1210 / 2072).; ; SearchID =
    Some-Random-GUID )
    Search works fine in newly created sites in 2013 environment.
    Please help.

    Hello
    Did you migrate your users to claims when you migrated the databases?
    $wa = Get-SPWebApplication http://yourdom.com
    $wa.MigrateUsers($true)
    $wa.ProvisionGlobally()
    I assume the sites that work and the migrated content are in the same database?
    MCITP-EA | "Never test how deep the water is with both feet"

  • Is it possible to create a Event Reciver program as Sandbox solution? - SharePoint 2010

    Dear All,
    I try to create a Event receiver program as SandBox solution in SharePoint 2010. I want to do a list item updation using this event receiver.
    Almost all the internet help & examples seems to be written with Farm solution and I got plenty of
    errors in the code(since the code may be written for farm solutions).
    So is it good idea that I am trying to do Sandbox Event Receiver???? Can any one please advice me
    and if sandbox is feasible can anyone help me with a tutorial( How to create a sandbox event receiver for list item updation).
    Somebody please help me soon.

    Dear All,
    hen I run the project, I got this error
    There were deployment errors? do you want to continue. I pressed No button but
    I cannot see any error list below in visual studio 2010!!! I am not able to
    identify where is the error or rectify those error, somebody please help me soon.
    I try to create one event receiver for list updation. I selected Event Receiver template
    while created new project and added following code for debugging, debugger is not hitting!!!
    please note my code below. Am I missing anything?????
    EventReceiver1.cs
    using Microsoft.SharePoint.Security;
    using Microsoft.SharePoint.Utilities;
    using Microsoft.SharePoint.Workflow;
    namespace NewProjEventReceiver.EventReceiver1
        /// <summary>
        /// List Item Events
        /// </summary>
        public class EventReceiver1 : SPItemEventReceiver
            static void Main(string[] args)
           /// <summary>
           /// An item is being added.
           /// </summary>
           public override void ItemAdding(SPItemEventProperties properties)
               base.ItemAdding(properties);
           /// <summary>
           /// An item is being updated
           /// </summary>
           public override void ItemUpdating(SPItemEventProperties properties)
               base.ItemUpdating(properties);
               SPListItem CurrentItem = properties.ListItem;
               String strCustomer = CurrentItem["SampleList"].ToString();
               int startPos = 0;
               int endPos = CurrentItem["SampleList"].ToString().IndexOf(";#");
               int Cust_ID = Convert.ToInt32(strCustomer.Substring(startPos, endPos));
               SPWeb oWeb = properties.Web;
               SPList oList = oWeb.Lists["SampleList"];
               SPListItem Customers = oList.GetItemById(First_ID);
               CurrentItem["Title"] = "One Time";
               oWeb.AllowUnsafeUpdates = true;
               oWeb.Update();
               oWeb.AllowUnsafeUpdates = false;

  • Activating Sandbox Solution in SharePoint 2013

    Hi,
    I am having a Single Server (Windows Server 2008 R2 Standard) with Microsoft SharePoint Server 2013 installed on it.
    I have one CRM solution which is sandbox solution and I want to deploy it on site collection. 
    When i am going to SiteSettings > Solutions and upload the solutions and click on Activate button .. nothing is happening and solution is not getting activated. When I tried same with powershell using Install-SPUserSolution, I am getting below error,
    Install-SPUserSolution : Object reference not set to an instance of an object.
    At line:1 char:1
    + Install-SPUserSolution -Identity crmlistcomponent1.wsp -Site
    http://in-mum-appcs ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...allUserSolution:
       SPCmdletInstallUserSolution) [Install-SPUserSolution], NullReferenceExcept
      ion
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallU
       serSolution
    Also, "Microsoft SharePoint Foundation User Code Service" Service is missing on Services On Server page so that I could
    not start it. However I started "SharePoint User Code Host" service in services.msc
    Please help me out, As I have got stuck in this problem from long back.
    Thanks

    From PowerShell, run:
    Install-SPService
    See if the User Code Service is visible on the Manage Services on Server page.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Creating Termset and terms in Taxonomy using Sandboxe Solution in Sharepoint 2013

    I created a Sandboxed Solution, Added one Visual web part in that solution with one button control. Added Microsoft.Sharepoint.Taxonomy.dll Reference to the solution. Then in the button click event i wrote the following code:
    SPSite site = SPContext.Current.Site;
                var taxonomySession = new TaxonomySession(site);
                var termStore = taxonomySession.DefaultSiteCollectionTermStore;
                lbl1.Text = termStore.ToString();
                var termStoreGroup = termStore.CreateGroup(txtTermSetGroupVal.Text);
                var termSet = termStoreGroup.CreateTermSet(txtTermSetCatNameVal.Text);
                termSet.CreateTerm("AAA", CultureInfo.CurrentCulture.LCID);
                termSet.CreateTerm("BBB", CultureInfo.CurrentCulture.LCID);
                termStore.CommitAll();
    Then, I deployed this solution in one Publishing site. Added one new page in that site and Inserted this visual webpart in that page. When i click that button, I got the
    following error,
    Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred. Correlation ID: 49c1759c-5913-70a8-76e3-b2827260601a.[SPUserCodeSolutionExecutionFailedException:
    Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.]

    Hi,
    The Yammer, OneDrive, Sites , My Sites and so on are buttons in the suite bar, the BROWSE, PAGE, SHARE etc. are the buttons in the ribbon, the two bars are added to the master
    page automatically during the converting process.
    A workaround is that we can hide the ribbon by using such a CSS code:
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • After Migrating from Sharpoint 2010 to Sharepoint 2013 list filter options changed

    Hi All,
    After migrating from SP 2010 to SP2013 i found list View filter option is changed and filter is not working Pls help its really urgent.... you can check field 1 and field 2 in following screen shot.
    Prasad kambar

    Hi  ,
    According to your description, my understanding is that your list filter cannot work after Migrating from SharePoint 2010 to SharePoint 2013.
    For your issue, please check your log files for any issues. Also you can refer to the blogs for troubleshooting SharePoint 2013 migration:
     Firstly try running Test-SPContentDatabase on your source database for any issues -
    Test-SPContentDatabase - http://technet.microsoft.com/en-us/library/ff607941.aspx
    Troubleshoot site collection upgrade issues in SharePoint 2013 http://technet.microsoft.com/en-us/library/jj219648.aspx
    Verify database upgrades in SharePoint 2013 -http://technet.microsoft.com/en-us/library/cc424972.aspx
    And please have a look at your custom solution on your site.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Data Migration from MOSS 2007 to SharePoint 2010

    Hi,
    We have done a migration project for one of our client.
    This migration was done from MOSS 2007 to SharePoint Enterprise Server 2010.
    After the migration was completed we developed lot of new webparts, lists ,application pages in this newly migrated farm in SharePoint Enterprise Server 2010.
    However the entire project took around 1 year due to some unavoidable delays. During this one year our client was using MOSS 2007 sites for there work. hence the data in MOSS 2007 farm/sites was continuously updated.
    Our client needs to go live in next month and also needs the sites/lists/libraries which are migrated in new SP 2010 farm to be updated as per the MOSS 2007 farm.
    Kindly suggest best possible way to achieve this data migration since last 1 year from MOSS 2007 to newly migrated SharePoint Enterprise Server 2010 farm.
    Kindly note we have done lot of customization and new developments in newly created SP 2010 farm.
    Thanks and regards,
    Amien

    Hi there,
    If you have already taken care of customization on SP2010 server. Then use any of the migration tools available in market to migrate data to target SP server.
    Content Matrix gives free 25 GB to migrate your SharePoint data (https://www.metalogix.com/Resources/Promotions/Content-Matrix-Migration-Express-Download.aspx). 
    If you don't know what is changed in last 1 year, then best thing to do is add new content database and migrate your data into it.
    Hope that helps.
    Regards,
    Tapan

  • Activate Sandbox solution in SharePoint 2010

    Hello guys,
    I would like to activate the sandbox solution or even to use code in the whole farm. I have a InfoPath Formular with code, but SharePoint doesn't allow me to publish this form.
    How can I do this?
    Best regards
    Matthias

    Hi,
    If you have custom coded InfoPath form which requires full trust, then you have to upload and activate the same in the central administration.
    Refer these links,
    http://technet.microsoft.com/en-us/library/cc262921(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ms772110(v=office.14).aspx

  • How to content migrate from e-room to sharepoint using powershell

    Hi,
    How to  do content migration from e-room to share-point using powershell.
    Please give step by step process and give some idea about migration using powershell and other tools.
     Thanks,
    inguru

    Hi,
    There is no direct content database migration approach from eRoom to SharePoint.
     However many third party tools such as Metalogix, Tzunami, and AvePoint are available to migrate eRoom content to SharePoint as well as you can write your own utility
    to migrate content since there are various eRoom API available for the same.
    Thank You, Somnath Matere

  • Losing out custom metadata info of few documents of a document librarby when migrated from MOSS 2007 to Sharepoint 2010

    We have recently migrated from moss2007 to sharepoint 2010.We have a document library containing large no. of documents in it  & for those documents there are some custom metadata columns apart from OOB library columns . We have user content DB attach
    migration and after that we can see blank value under the custom columns for some records. However interesting point is we can see this metadata is showing for few documents.
    Please suggest.

    Hi,
    What is your Office edition? When we create a managed metadata column in a Document Library, it will prompt that ‘Earlier versions of client programs might not support this type of column’. You should use Office 2010 to edit and create a document then save
    to document library .
    For detailed information ,please refer to this article:
    http://rules.ssw.com.au/SoftwareDevelopment/RulesToBetterSharePoint/Pages/2010-Managed-Metadata-with-Office-2007.aspx
    Beside, here are similar posts, you can use as a reference:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/1b115343-20e5-4962-af97-793194f07637/metadata-missing-when-revising-document
    https://social.technet.microsoft.com/Forums/office/en-US/a65f9828-6e2f-4eb7-bde6-bd0600e3b1a2/migrating-documents-from-moss-2007-to-sharepoint-2010?forum=sharepointadminprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while deploying Sandbox Solution in SharePoint 2010 using Visual Studio

    Hi,
    I am creating a custom webpart as a sandbox solution.
    While deploying I am getting an error
    Error occurred in deployment step 'Retract Solution': <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.
    I have necessary permissions and part of admin group.
    Please suggest what could be the issue.

    Hello,
    can you check if your account have access to the SharePoint_Config database? if it's still doesn't work, check if the used account is a local administrator of the machine
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.

Maybe you are looking for

  • Java script and jsp

    Hello all I want to call javascript function without any event from a jsp code, like following <script> function add(a,b,c){ alert("hello");} </script> jdbc connection code while(rs.next() a=rs.getInt("id"); b=rs.getInt("id2"); c=rs.getInt("id3"); %>

  • Which table the release code saved?

    Dear Experts, I am developing a report of the PR released status.I need to know where the Processor and releaser of the PR saved? I already know the FM to get those information. Please do not inform me the FM' name. Thanks in advance. BR Edward Edite

  • WAD - 2 geocharacteristics in the drilldown

    Hey experts, I am working on geovisualization. What I try to do is, to show dynamic geo-characteristics, as points or so with the help of the coordinates of longitude and latiude. After some struggeling, this works fine, and I receive a map with tria

  • Cant upload photos into costco photo center firefox browser not compatable

    not sure if need a java plugin update and how to do that or change firewall settings in Norton and how to do that

  • QM costs in Procurement

    Hi, We want to capture  QM costs in Procurement. Can anybody tell me how to configure this? We created QM order but not capturing the costs. Thanks, Venkat