Create site Collection from site template containing blog subsite sp2013

Hello,
I want to create a site collection based on a `site template` that contains a `calendar app` and a `blog` subsite.
I explain, i have a site that contains a subsite of type `blog` site and also contains a calendar in `sharepoint 2013`, i saved the site as a template and checked **`include content`**.
However,
when i create a new sitecollection based on that template, i get the caledar app but never the blog subsite...
Am i missing something here? And how can we do this please?
Thanks in advance

Save site as Site Template only saves the individual site and its content, not the sub sites. please check below thread :
http://social.msdn.microsoft.com/Forums/en-US/f167d3ac-afd4-407c-8108-2ae896d52752/how-to-save-site-template-with-subsites?forum=sharepointgeneralprevious
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

Similar Messages

  • Unable to Create site collections with any template

    Hi All,
    We are using SharePoint 2013 , after long time am tried for create new BI center in one of our web application , but its taking more then 10 mints , the page is loading more then 10 mints , after that i just refresh the page and i got a error "Sorry
    this site was created already with this name".
    so , i try to enter the new site URL am getting error the page is not valid .
    i thought this was on issue with requirements on BI Center , so i checked the web application associated service application , but i have Visio Graphics service application , Excel Service Application and Performance point service application running for
    this web application .
    after some time i tried to create team site template site collection , i am facing the same issue again , i really dont know what is the issue with my CA , can any one help me to solve this issue ASAP.
    i tried to create site collection from PowerShell also , but am facing the same issue , even i got the same error while try to create sub site. i tried with refreshing IIS also , but its not worked.
    Am waiting for your valuable response .
    Thanks,
    Mani L
    Mani L

    Hello Mani L,
    Please make a host entry on you WFE server for the URL of the site you are trying to create. Then try browsing the site from same server.
    - First check if the binding is correctly configure in Alternate Access mapping on Central administration
    - Same binding should be provided under IIS for the web application
    If this doesn't resolve the issue then, for testing create a host entry for central admin hostheader url.
    To do this follow below mentioned steps:
    Go to Start -> Run -> Type drivers
    open HOSTS file in a notepad
    type IP address of the APP server and beside that with a tab key type URL of the site
    Save the file and try to browse the site in a fresh new browser after closing all the browser.
    Where SharePoint.com is my Host Header URL and IP address is the server IP where the site is hosted (APP Server generally)
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Can't delete a Site Collection from SharePoint admin center completely

    Hi All
    I'm using Office365. And I wanted to delete a Site Collection from SharePoint admin center.
    But at first, I couldn't delete it from there. So I opened the Site and delete it from the Site setting successfully.
    Then I went back to SharePoint admin center to check it was deleted or not completely.
    But the Site Collection was still on the Site Collections list.....
    Things I did are
    1. IE -> Tools->Internet Options-> In General Tab click on Delete in browsing history section and check all options and again click on delete.
    2. Close and re-open the browser and sign back in
    I wanna make free server resource to create new Site Collection.
    Does anyone know how to delete a Site Collection completely?

    Hi,
    Can you try delete the site collection using SharePoint online power shell command? Refer the following link for that.
    Delete site collection
    Also, while deleting site collection from Admin Center, do you get any warning?Or what are steps you follow to delete the Site Collection from Admin Center?
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Issue removing a site collection from Sharepoint Online

    A sharepoint site owner deleted their site by going to site settings delete this site.  This didn't remove the site collection from the Sharepoint Online admin portal in Office 365.  When I attempt to delete here I get the following error "
    Sorry, something went wrong
    There is no site in the current site subscription matching the HiddenSiteSelection control's value.
    I've tried running using Powershell commands to delete the site and I get an error.  
    What do I need to do to remove the site from the admin portal.
    Thanks

    HI,i would recommend  run the PowerShell cmdlet to check if this website exists. Here are the detailed steps:
    1. Set up the SharePoint Online Management Shell Windows PowerShell environment
    http://technet.microsoft.com/en-us/library/fp161372.aspx
    2. Run the command Get-SPOSite, it will return all site collections.
    3. Check if the problematic public site collection is shown in the result. If it shows up, run another command to remove it. For example:
    Remove-SPOSite -Identity https://expertsharepoint/sites/site1 -NoWait
    This will remove the site collection named https://expertsharepoint/sites/site1 from the site collections list and moves it to the Recycle Bin.
    4. Delete the site from the Recycle Bin:
    Remove-SPODeletedSite -Identity https://expertsharepoint/sites/site1
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Is there any REST API to get all the Site and site Collections from Sharepoint Online

    Hi,
    I have one SharePoint Online tenant. We are using REST API to integrate SharePoint to our internal System.
    For my use case I need to get all the SharePoint sites ans Sitecollections. From each SiteCollection I need all the subsites under this.
    I have used below REST Query
    http://<Base site url>/_api/web
    This doesn't give me all the Site collections
    Could any one please give me some way to get all the Site collections and sites from my sharepoint tenant through REST API.
    Thanks,

    Hi Abhiram,
    There seems no such endpoint in SharePoint REST API can retrieve a list of site collections in a SharePoint Online tenant:
    https://msdn.microsoft.com/en-us/library/office/jj860569.aspx#Reference
    If Client Object Model can be an option for you, you can use Tenant object to achieve what you want:
    http://social.technet.microsoft.com/wiki/contents/articles/24050.perform-basic-admin-operations-using-csom-in-sharepoint-online.aspx#Scenario_3_Fetch_All_Site_Collections
    Anyway, I would suggest you submit a feedback to the Office Developer Platform if there any expectation about the future version of REST API of Office 365 SharePoint
    Online:
    http://officespdev.uservoice.com/
    It
    is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft
    Product Team will take it into consideration when designing the next version in the future.
    Thanks 
    Patrick Liang
    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]

  • Powershell script to get Site Collection. Site Owner, Title

    Hi,
    I am new to SharePoint, currently I have given one task to create the powershell script which contains the below fields from our two farms. Could you please help me out with the same.
    The script to list out below items:
    Site Collections:
    Site Collection Name:
    Site Collection Owners:
    Last Activity and the size of site collections.
    Many Thanks & Best Regards,
    Naren

    To get all Site Collections:
    If all you want is a list of all site collections in the farm, all you have to do is open a PowerShell window, load the SharePoint Snapin, if you haven't (Add-PSSnapin
    Microsoft.SharePoint.PowerShell), and type Get-SPSite.
    If you want to return the list of site collections for a specific web application, the easiest way is to just pipe it as Get-SPWebApplication
    http://intranet | Get-SPSite
    To get Site Collection Owners:
    Add-PSSnapin "Microsoft.SharePoint.Powershell" -ErrorAction SilentlyContinue
    Get-SPWebApplication "http://mySharePointSite.com"|
    Get-SPSite| foreach-object{ Write-host$_.Url - $_.Owner.Email}
    To get Size of all Site Collections:
    Get-SPSite | select url, @{label"Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object
    -Descending -Property "Size in MB" | ConvertTo-Html -title "Site Collections sort by size" | Set-Content sc.html
    Regrading the retrieving the last activity I am not sure to what exactly you are looking for but I assume you are concern about getting users last logon time and date using PowerShell.
    For this refer here: Get Users Last Logon Time and Date using PowerShell
    Please remember to upvote if it helps you or
    click 'Mark as Answer' if the reply answers your query.

  • HELP with Problem creating a page from a template Suggestions PLS.

    Nadia was kind enough to give me step by step in creating a template the right way.
    Problem is why won't it work?
    1) I create a page exactily like I want the templete to look.
    2) I save the child page as a template.
    3) I go to FILE>NEW>Page from template, look at the template on the insert on the right and it is just as I would expect it to be. The update is checked on change. I say ok and what appears on screen is I have lost all my formatting. When I look at the code, creating a page from the template causes the process to change the location of (for instance) the background image gif file from ...images/background.gif to the full location name starting the string at the C:/ all the way to ...background.gif. Therefore, the created page from the template loses all of its formatting.
    How do I fix this problem????

    Okay, here I go again with this problem step by step.
    1) Created a basic page that has a header, body and footer: www.goodimage.com and saved it as maintemp.html .
    2) I saved maintemp.html in the normal place where all the html are stored because as I was creating the template it told me I needed to save the page I was working on. So I decided to store it as an html until as it was layed out. Then I went to FILE/SAVE AS TEMPLATE storing it as maintemp.dwt.
    3) Then I created an edItable area called BODY.
    4) Then I did a FILE/SAVE AS TEMPLATE or tried to. As part of this process it wants to know if I want to UPDATE LINKS. If I do then the links will reference the template folder (but it is the DW default - hmmm what do I do) When in doubt take the default. So I did.
    5) So now I have a nice looking template called maintemp.dwt with one editablel region. So I feel pretty good until I suspect the next problem I have been fighting all along will appear. I select FILE/NEW PAGE FROM TEMPLATE and I see goodimage site, and my template called maintemp and a nice picture of it on the right screen part. Also update page when template changes is checked. Then I select to do the action.
    6)  Upcomes an unformatted screen caused by the links not being correct. I save the page as index.html to see if it will correct itself. I does not correct itself. So the index.html page is not formatted even after I closed down DW to see if that would help. It didn't. So I could go in and manually update the page but what a mess that would be.
    7) So I will go back to create a page from the maintemp.html with the UPDATE LINKS turned off. Using maintemp.html to create a template just like in step 2). When UPDATE LINKS is not selected then the template falls apart and is unusable.
    I HAVE WASTE ABOUT THREE DAYS ON THIS ONE PROBLEM AND I HAVE BUT A FEW MORE HOURS TO GET IT DONE. ONCE THIS WORKS IT WILL GO FAST. I AM TIRED OF BEING TIRED BUT MAYBE THAT IS CAUSING MY PROBLEM. ANYWAY, PLEASE HELP AS I AM AT A LOSE.
    HLOWER

  • Creating new site collection using wsp template fails

    Hi all,
    I'm creating new site collections using a wsp solution generated by "save as template".
    For site collection creation I select "<Select template later>" then I upload the wsp solution.
    Everything worked until last month, now after CU installation (agoust 2014) I get an error:
    "List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user."
    Does anyone know how to solve it?
    Thanks 
    Maurizio

    ULS contains a lot of those errors:
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, 
    StackTrace:
         in Microsoft.SharePoint.SPWeb.GetList(String strUrl)
         in Microsoft.SharePoint.SPWeb.TryGetListByUrl(String url)
         in Microsoft.SharePoint.SPFieldElement.PerformFixUpIfLookUpField(Guid fieldId, XmlNode xmlNodeOfAField, SPWeb web)
         in Microsoft.SharePoint.SPFieldElement.ElementActivated(SPFeaturePropertyCollection props, SPSqlCommand sqlcmdAppendOnly, SPWebApplication webApp, SPSite site, SPWeb webNull, Boolean fForce)
         in Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)
         in Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)
         in Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
         in Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
         in Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean
    fMarkOnly, Boolean fIgnoreMissing, SPFeatureDefinitionScope featdefScope)
         in Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly, Boolean fIgnoreMissing)
         in Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6()
         in Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
         in Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures, Boolean fIgnoreMissing)
         in Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String&
    bstrWebTemplate, Int32& plWebTemplateId)
         in Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String&
    bstrWebTemplate, Int32& plWebTemplateId)
         in Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId)
         in Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1&
    featureDependencyErrors)
         in Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)
         in Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)

  • Problem with setting Created, Modified, Author, Editor on file i Site Collection from Client SDK

    Hello,
    I have a piece of code that is used for converting files from a shared file area to SharePoint for customers that move to SharePoint and Dynamics CRM. The relation to Dynamics CRM calls for using custom code an not existing conversion tools.
    The code I wrote works fine if the file sent to a regular site in SharePoint, but if I try to use the same code for files in the Site Collection. If I use the address for the site collection in the constructor for the ClientContext, and the relative URL
    from that for the file, both the upload and the setting of the attributes fails (I do make sure the file is there before trying to set the attributes).
    After some experimentation I am able to upload the file, by creating the client context with the main site URL, and adding the site collection path elements ("/sites/crm") to the path for the file, but using the same the setting of the attributes
    fails.
    I have tried some other variant where the site collection elements are in the path for both the ClientContext and the file path. Then the upload fails, the file retrival (GetFileByServerRelativeUrl) works, but the retrival of the attributes then fails.
    The code below illustrates the variations.
    Can someone please explain what I am doing wrong, or is this a bug in the SDK?
    Regards
    Anders
    using System;
    using System.IO;
    using System.Security;
    using Microsoft.SharePoint.Client;
    using File = System.IO.File;
    using SP = Microsoft.SharePoint.Client;
    namespace TestSharePointDocumentAttributes
        class DocumentAttributeTester
            public void Execute(string[] args)
                string userId = args[0];
                string password = args[1];
                string filePath = @"C:\work\TestCV1.docx";
                string siteUrl;
                string documentPath;
                string clientContextUrl;
                string serverRelativeUrl;
                DateTime createdDate = new DateTime(2013, 2, 1, 11, 20, 45);
                DateTime modifiedDate = new DateTime(2013, 3, 1, 11, 40, 45);
                string fileName = Path.GetFileName(filePath);
                SecureString securePassword = new SecureString();
                foreach (char c in password.ToCharArray())
                    securePassword.AppendChar(c);
                // Pass 1, no site collection
                Console.WriteLine("Pass 1");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/crmn_candidate/TestSPAttributes" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 2, site collection, parameters as expected, both upload and set attributes fails (even if file exists)
                Console.WriteLine("Pass 2");
                clientContextUrl = "https://losangas.sharepoint.com/sites/crm";
                serverRelativeUrl = "/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 3, site collection, parameters adjusted. Upload works and set attributes fails.
                Console.WriteLine("Pass 3");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 4, site collection, parameters adjusted. Upload works fails, but GetFileByServerRelativeUrl succeds and load items fails
                Console.WriteLine("Pass 4");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
            private void upload(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, string filePath)
                try
                    byte[] fileContents = File.ReadAllBytes(filePath);
                    string fileName = Path.GetFileName(filePath);
                    ClientContext clientContext = new ClientContext(clientContextUrl);
                    clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
                    SP.File.SaveBinaryDirect(clientContext, serverRelativeUrl, new MemoryStream(fileContents), true);
                    Console.WriteLine("Upload successful.");
                catch (Exception ex)
                    Console.WriteLine(string.Format("Upload error: {0}", ex.Message));
            private void setVariables(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, DateTime createdDate, DateTime modifiedDate)
                try
                    ClientContext clientContext = new ClientContext(clientContextUrl);
                    clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
                    Microsoft.SharePoint.Client.File uploadedFile = clientContext.Web.GetFileByServerRelativeUrl(serverRelativeUrl);
                    clientContext.ExecuteQuery();
                    ListItem listItem = uploadedFile.ListItemAllFields;
                    List list = listItem.ParentList;
                    clientContext.Load(uploadedFile.ListItemAllFields);
                    clientContext.ExecuteQuery();
                    FieldUserValue author = FieldUserValue.FromUser("Elisabeth Skaane");
                    FieldUserValue editor = FieldUserValue.FromUser("Elisabeth Skaane");
                    listItem["Created"] = createdDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19" 
                    listItem["Modified"] = modifiedDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19" 
                    listItem["Author"] = author;
                    listItem["Editor"] = editor;
                    listItem.Update();
                    clientContext.ExecuteQuery();
                    Console.WriteLine("Set attributes successful.");
                catch (Exception ex)
                    Console.WriteLine(string.Format("Set attributes error: {0}", ex.Message));

    Hello,
    Thanks for your effort, but you are not addressing the problem.
    As I tried to explain, setting the date works fine in the case where there is no site collection involved. There is no reason to believe that this will be different when in a site collection. Also the logon works fine in borth cases. The FieldUserValue.FromUser
    can take either an email, or a prefered name. I tested both.
    Anders

  • Missing Workflow XAML Feature Error during site creation from custom template Microsoft.Workflow.Client.ActivityNotFoundException

    Hi,
    I am using SharePoint 2013 Enterprise with the March CU.
    I created a project site template with libraries, lists and workflows and saved it as a template with content.  When I try to create a new site using this template, I get the error pasted at the bottom.
    I was using SharePoint designer workflow custom activities created in VS2012. I uninstalled those and decided to call a web service directly from SharePoint designer.  The workflows work fine inside of the site which I want to create a project template
    from.  When creating a new site from the template, SharePoint complains about a missing workflow XAML feature.
    Do I have some leftover references to the custom features? Does anyone know how to resolve this issue?
    <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f 
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
     Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e'
    from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c.
    Client ActivityId : 69e6449c-9c3c-f090-404f
    Source Error: 
     An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    Stack Trace: 
    [COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +0
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +293
    [SPException: Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found.
    HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +889
       Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)
    +928
       Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +532
       Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior
    featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +2076
       Microsoft.SharePoint.ApplicationPages.NewSubwebPage.BtnCreateSubweb_Click(Object sender, EventArgs e) +861
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3586
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045  

    Hi  Jerry Choinski,
    For your error, It could possibly have something to do with that the workflow did not publish before saving your project site as a template.
    The "Elements.xml" file, which is packaged within the "wsp" solution file contains 2 "<File" elements. One file element represents the XAML file, and the other
    represents the WF association file. If the WSPublishState value for each "<File" element differ (one has a value of "3" and the other a value of "1"), the error will occur. For solving your problem, please update the WSPublishState value for both "<File"
    elements to “3”.
    PropertyName="WSPublishState"
    Value="3"
    Also note that the WSPublishState property is also duplicated within the "MetaInfo" property, so both occurrences should be updated. Then the resulting files need
    to be re-packaged into the template.
    Reference :
    http://social.technet.microsoft.com/Forums/en-us/be41f1c5-1dfb-4869-9a52-1c93902bfd91/microsoftworkflowclientactivitynotfoundexception-when-deploying-solution-with-workflow
    Please inform me freely if you have any questions.
    Thanks

  • Ability to create a collection from a text file containing the names of the pictures

    1 thing that would be very good is the ability to create a collection / quick collection from a text file that contains the names of the picture we want in that collection...
    The reason for that is when i receive an order from a customer typicaly 100-200 different pictures (i'm a wedding photographer), i ask my customer to send me an excel spread sheet with all the name or number of the picture thay want with size & quantity...
    I would like to be able to use that file as an input for a batch job that would add all those files to a collection "customer order" instaid od adding them 1 by 1... it would save me lots of time and would prevent some errors in the order...
    I am currently able to do that with the help of a small utility (Useful File Utility) is the name... with the other RAW converter i use... Bibble

    Well, it is workflow software, true, but it's really focussed on image development. What you're proposing would necessarily make the primary focus be on the business angle, I suspect.
    If you're talking about tools to help customers sit down and pick what they want for manual processing later, that's one thing - but going the rest of the distance to order processing and fulfillment would be out of scope, at least in my view. The reason is that there is just so much room for potential variation in how this gets conducted that I can't see how Adobe could possibly satisfy every pro with one implementation. Even just dealing with all of the possible payment vendors is a hugely problematic area.
    I agree with Don; a third-party plugin via the upcoming SDK might be a distinct possibility, particularly if it were for a "plus services" solution in which the plugin were designed to work with a specific fulfillment vendor. THAT could work quite nicely, and the plugin might even be free (in return for giving the vendor your business, of course).
    In other words, it's not that I see it as a bad idea, it's just that I don't think it belongs in the "core" of LR. This is something that is best dealt with using the SDK so that differences in processes can be allowed for.

  • User Profiles are the wrong style after importing/migrating site collections from other SharePoint versions

    I manage a couple of different version of SharePoint, which we are in the process of migrating to SharePoint 2013. I have a problem which I am not sure how to resolve. We are using MetaLogix to migrate site and site collection data from an older SharePoint
    2007/WSS3.0 server environment into our new SharePoint 2013 environment and we are having a problem with user profiles that get created.
    I have SharePoint 2013 set up for "SharePoint Profile Synchronization" and some of our user's profiles are being created in an older format that shows the user's claims account information, rather than the more fancy profile type that allows us
    to include pictures and click on "follow this person" links. 
    If we manually delete the profile, it will be recreated properly however, as we are migrating many sites and collections over, it is near impossible to do this and keep track of each user so that their profiles can be deleted and recreated.
    Is there some way to change this behavior so that SharePoint will only create the newer style of user profile?

    These 'profiles' are you looking at them in the User Profile Service Application itself or are you looking at site collections? There is a huge difference between the two but people often miss it.
    In most cases you'll have some partial information on the Site Collections but when you click through to their actual profile (not just their User Information List entry) you'll see the prettier version. That information is normally internally synchronised
    by a timer job but that may not have run yet and/or the fact that your users haven't actually used the site may be causing it not to update them (it's an efficiency matter).
    Finally: Drop your sales guy at Metalogix an email, they will bounce it to one of their techies and they'll have seen it a million times.

  • Get site collection url, site url and list url from a full uri?

    If I have incoming: only URI's of the format http://a.b.c/d/e/f/g/h/i/j/k/l/m/n/o/p.docx
    (And these are coming from multiple farms and multiple site collections) (and i have a web api on some remote server) (and have all the authentication details)
    And I want to query just the single the item via csom : check one column and if value="yes" then download the doc:
    a. how do i get the absolute site url out of it for " clientcontext ctx = new clientcontext(THISURL) "
    b. how do i then get the list uri out of it to push a caml query to to then retrieve it
    I could :
    a. strip off the filename, that is the easy part :)
    b.  I could paste "/_api/contextinfo" behind it and POST it first as a httprequest. Then first get the site and web url and later on
    find a way to find the list url (which is probably the first item behind the fullWebUrl), but it seems weird to mix this in the mix
    Basically im looking for something that tells me what is what in http://a.b.c/d/e/f/g/h/i/j/k/l/m/n/o/p.docx

    Sorry, GetList is only available in the O365 version of Microsoft.SharePoint.Client. If you could test for a root site collection and if there is not one then take the scheme ... + Uri.segments[0] and then get the context. After that you can use
    the GetFileByServerRelativeUrl. The following demonstrates this.
    public static void GetFileList()
    string fileUrl = "http://basesmc15/teamonesubone/teamsubonesubone/Shared%20Documents/folderholder/newauthor6.pdf";
    Uri fileUri = new Uri(fileUrl);
    Uri webUrl;
    ClientContext rootContext = new ClientContext(fileUri.Scheme + Uri.SchemeDelimiter + fileUri.Host);
    webUrl = Web.WebUrlFromPageUrlDirect(rootContext, fileUri);
    ClientContext subContext = new ClientContext(webUrl.ToString());
    File file = subContext.Web.GetFileByServerRelativeUrl(fileUri.AbsolutePath);
    List list = file.ListItemAllFields.ParentList;
    subContext.Load(list);
    subContext.ExecuteQuery();
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Retrieve list of site collections from Office 365 Tenenat

    Hi
    I have a requirement to create a list of all available Site collections in the given O365 tenancy. The purpose of this is to know what are the new site collections created and asisgn a owner for each site collection etc.
    I found through client object model it is not possible to access Site collection level details. Is my understanding correct? Is it possible through REST API ? Please help.
    Thanks in advance
    Kiran

    Hi,
    I am also facing same issue for acessing all site collections in Tenant using CSOM. Please help me for that. I have added TokenHelper class and other classes in my project but still am facing problem because of some methods used in Tokenhelper Class.
    Below are the errors...
    using Microsoft.IdentityModel.S2S.Protocols.OAuth2;
    using Microsoft.IdentityModel.S2S.Protocols.OAuth2;but
    i am not getting S2S in Microsoft.IdentityModel.dll
    Added above References.
    Error 1 The type or namespace name 'S2S' does not exist in the namespace 'Microsoft.IdentityModel' (are you missing an assembly reference?) D:\Rough Work\Test\Test\SharePointContext.cs 1 31 Test
    Error 4 The type or namespace name 'OAuth2AccessTokenResponse' could not be found (are you missing a using directive or an assembly reference?) D:\Rough Work\Test\Test\TokenHelper.cs 154 23 Test
    Anyone Please help me !!!!
    Vivek Kumar Pandey

  • Failed to restore site collection from development server backup on production server

    I get an error as below while restoring development site collection backup on production site collection.
    <nativehr>0x80070003</nativehr>
    Looked into the log file shows below error.
    "Microsoft.SharePoint.SPException: Schema version of backup 15.0.4641.1000 does not match current schema version 15.0.4569.1000"
    However SP1 version installed on both server. Recently upgraded Development environment to 15.0.4571.1502 as production environment has exact same version. Run SharePoint Products Config Wizard successfully after upgrade on Development server.
    Any help.
    Thanks

    Hi Trevor
    Thanks for reply.
    I am beginner in share point. 
    Getting below version in Development and Production Environment.
    In the beginning
    Dev environment has 15.0.4615.1001. Then we installed 15.0.4571.1502.
    Production Environment has 15.0.4569.1506. Then we installed 15.0.4571.1502.
    So now both versions looks exactly same. But somewhere it didn't upgraded fully. Backup and Restore works in the same server If applied but doesn't
    work if I apply from Dev to Production Version.
    Production Server
    Servers in Farm
    Farm Information
    Configuration database version:
    15.0.4569.1000
    Manage Patch Status
    Installed
    Microsoft Access Services English Language Pack
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Access Services Server
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Document Lifecycle Components
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Document Lifecycle Components English Language Pack
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Education
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Education English Language Pack
    15.0.4571.1502
    Installed
    Development Server
    Servers in Farm
    Farm Information
    Configuration database version:
    15.0.4641.1000
    Manage Patch Status
    Installed
    Microsoft Access Services English Language Pack
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Access Services Server
    15.0.4571.1502
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Document Lifecycle Components
    15.0.4571.1502
    Installed
    Security Update for Microsoft SharePoint Enterprise Server 2013 (KB2863829) 64-Bit
    Edition
    15.0.4615.1001
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Microsoft Document Lifecycle Components English Language Pack
    15.0.4571.1502
    Installed
    Security Update for Microsoft SharePoint Enterprise Server 2013 (KB2863829) 64-Bit
    Edition
    15.0.4615.1001
    Installed
    Service Pack 1 for Microsoft SharePoint Server 2013 (KB2880552) 64-Bit Edition
    15.0.4571.1502
    Installed
    Not sure where is the problem.
    I manually change the version number in the .bak file still its the same.
    I get this error "<nativehr>0x80070003</nativehr>"
    and it deletes the site collection straight away.
    Thanks

Maybe you are looking for

  • Connection is not following the Sticky database when one router is comming to up state.

    Dear Team, We have 2 routers configured  in Cisco ACE.( Router 1: 10.250.226.4,Router 2: 10.250.226.6) and VIP 10.250.226.19. In a normal scenario all the client connections are perfectly handled by ACE and Its sending to client request to router as

  • Header and footer on a csv download

    Hi Is there an easy way to add an extra header and footer to a csv download ? What the user wants is a csv of the format New heading --- the additional heading col name, col name ..... -- the existing column names value, value ..... -- the existing v

  • Flash CS3/CS4 Sound Problem

    Hi, I am trying to create a soundboard and I have all my buttons and stuff, the only thing left is to put the sound files in. However, I have tried adding them to the library and dragging and dropping them over the HIT option like I usually do, but w

  • Problem with time duration code

    Hi All, I have recently set up a database for my website search page and have added some code (please see below) to the page which uploads the data to database so that after 60 days the data is automatically deleted from the database. BUT the data is

  • Sp;. Procurement Field in Material Master

    Hello I just wanted to know the  relevance of Special Proc field in MRP 2 View of the Material Master. What is the impact of it if we mark it as 20 in case of a Consignment stock material ?? How a Consignment material is treated with this ?