Export/Import site lists,library sharpoint 2013

hi,
I have two two web application on one sharepoint server 2013 (one farm) . First web application (compani.my.co) is pruduction and contains a subsites with a lot library, list, calendar , .... . On second web application I trying to import   library
from production site .
I am using :
Export-SPWeb http://company.my.co/dok -Path C:\backup\test.cmp 
Import-SPWeb http://Newcompany.my.co/dok/ -Path C:\backup\test.cmp 
error: 
Import-SPWeb : Cannot import site. The exported site is based on the template STS#1 but the destination site is based on the template CMSPUBLISHING#0. You can
import sites only into sites that are based on same template as the exported site.
The problem is about mismatch site template. How can I resolve this problem?

hi, 
I created new subsite with default template , enable publishing feature and try to import but still the same. 
Error 
Log file generated:
        C:\backup\test.cmp.import.log
Import-SPWeb : Cannot import site. The exported site is based on the template STS#1 but the destination site is based on the template STS#0. You can import
sites only into sites that are based on same template as the exported site.
At line:1 char:1
+ Import-SPWeb
http://Newcompany.my.co/dok2 -Path C:\back ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...CmdletImportWeb:SPCmdletImportWeb) [Import-SPWeb], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWeb

Similar Messages

  • Export and import a list in sharepoint 2013

    Hi Team,
    I have an share point 2013 application which is an input wizard that allows user to enter some employe information and after user submits the same. these records are stored in form of sharepoint list.
    as part of load testing , I need to create this list with more than 100 records. i can use coded ui to enter information and create records, but this will take good amount of time.
    is there any way i can import the list to an excel and then add my test records using some  c# code and then import back the excel to share point list.
    Can any one help in this regard.
    Thanks,

    Hi,
    There are many options we can select to import the excel file to SharePoint list.
    First option,  you can use the “Export to Excel” option to export the list items to a excel file, create records in the excel, then save the file to local machine.
    Now, you can use the “ Export Table to SharePoint List” option under the DESIGN table tool in the Excel to export the file to a new list in the SharePoint.
    You can also use Excel 2007 Add-in(it works in SharePoint 2013) to achieve the same function.
    http://msdn.microsoft.com/en-us/library/bb462636%28v=office.11%29.aspx
    In SharePoint, we can also use the Import Spreadsheet app to import the Excel file to a new SharePoint list.
    Site Content->add an app->Import Spreadsheet
    What’s more, you can also use the SPImporter tool to import data to SharePoint.
    https://spimporter.codeplex.com/
    You can also import the Excel data to SharePoint list programmatically.
    http://ravimaloth.blogspot.com/2013/06/upload-excel-data-into-sharepoint.html
    http://social.technet.microsoft.com/wiki/contents/articles/18830.sharepoint-2010-import-data-from-excel-into-a-list-using-powershell.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • SharePoint 2013 permissions on the sub-site/list/library level

    Hello,
    I would like to understand how access works on SP 2013 restricted sub-sites and the restricted list/libraries (by permissions) stored on the restricted (by permisssions) sub-sites.
    I've created a teamsite in SP 2013, with the sub-sites and libraries accessible to everyone and the restricted sub-sites with access rights only to the team (group)
    Under the restricted sub-sites I created the restricted libraries, access rights only to the team.
    Please help me to understand, how it comes, if someone tries to access the restricted teamsite by the link (URL directly to the restricted sub-site(s), they imediatelly get an "Access Request" note, but when they try to access the restricted list/library
    stored in the restricted site by the link (URL directly to the restricted list/library), they can open the link, see the library title and no content in it. Which is good thing they cannot see the content in the restricted library, but I thought they would
    NOT be able to open the library link at all.
    See my examples with the screenshots.
    if accessed by a link to a restricted library on a resricted site (no permissions granted)
    if accessed by a link to the restricted site (no permissions granted)
    Is that by design? I thought people without the permission could not open that restricted library/list link at all, and would be prompted for an access request?
    Or is it different for accessing directly the restricted the site vs. restricted library/list on the restricted site by the link?
    Thanks
    Dovile
    P.S. I've double checked the permisssions on the restricted sub-sites and restricted libraries/lists and ensure inheritence from the site collection is broken. And double checked teh restricted libraries/lists
    are stored under the restricted sub-sites.

    I am sorry, but it looks like you do not understand my question....
    I know how to check the unique permisssions and I've done that.
    My question is: 
    why accessing the restricted site by the link you get notification to request an access to that site, but when accessing the  restricted library located on the restricted site by the link, you can open the library link, even though you cannot see the content.
    Why for the access to the restricted library located on the restricted site there is no "Access Request"?
    I thought once you create a restricted library/list with the unique permissions, anyone who is accessing that library by the link (maybe folk found thet link on SP or the link was shared by someone) they would get a notification that they are trying to access
    the restricted library (like it is for a restricted/limited acess site) and would need to request an access to it, if needed. Otherwise you land on the library (you do not know whether it is restricted/limited access or not) and see no documents in there and
    have no clue why it is empty...(see my earlier screenshots)
    Is that by design?

  • I want to break inheritence and create unique permissions in a Project Server 2010 project site list/library.

    Some Project Managers want to restrict permissions on certain lists or libraries in their Project Server 2010 project site. However, when I have done this for them, by breaking inheritence to the parent site and then removing/adding users with unique
    sharepoint permissions, it seems that when the project schedule is published, some of the newly created permissions are lost.
    I have tried creating a SharePoint group at the project site level and then applied it with specific permissions (eg. Contribute) to the list/library and this seems to work better but I haven't been able to confirm yet if this will work in the
    longer term.
    Does anyone know what is the best method to break inheritence and set up unique permissions on a list in a Project Server 2010 project site that will not be lost when the project schedule is published?
    Thanks
    Peter

    Thanks Lynda
    I am aware that I can disengage the entire permissions sychronisation using that setting but that is not what I want to do.  I just want to be able to break the inherited permissions on individual document libraries or lists on specific Project Sites
    so that I can restrict access to nominated people.
    My issue is that when I do this, I find that some of the amended permissions disappear from time to time.  It seems to be related to when the schedule is published.  They
    don't revert to the inherited permissions, just some of the people who I have given direct access to no longer have access.
    Im just trying to find out the best way to manage setting non-automated permissions on a single list or library in a Project Server project sites so the changes stick.
    Peter

  • Not able to create new folder in list/library sharepoint 2013 foundation

    I am not able to create new folder in library and also not able to edit existing list item
    Below is the error:
    Getting Error Message for Exception 
              System.Web.HttpUnhandledException (0x80004005): Exception of type 
              'System.Web.HttpUnhandledException' was thrown. ---> 
              System.NullReferenceException: Object reference not set to an 
              instance of an object.     at 
              Microsoft.SharePoint.WebPartPages.ListFormWebPart.EnsureList()     
              at Microsoft.SharePoint.WebPartPages.ListFormWebPart.EnsureListAndFor
              m()     at 
              Microsoft.SharePoint.WebPartPages.ListFormWebPart.UseLegacyForm()    
               at Microsoft.SharePoint.WebPartPages.ListFormWebPart.CreateChildCont
              rols()     at System.Web.UI.Control.EnsureChildControls()     at 
              Microsoft.SharePoint.WebPartPages.WebPart.get_WebPartMenu()     at Mi
              crosoft.SharePoint.WebPartPages.ListFormWebPart.CreateWebPartMenu()  
                 at Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnLoad(Ev...
    Please help.It happens only on few sub sites

    Hi V_K04,
    You said that it happened only on few sub sites, whether this issue occurred on some subsites, and some subsite worked well.
    Please check whether there are some differences between the subsites that worked well and the problematic subsites. 
    Whether this issue occurred on all libraries and lists on problematic subsites.
    Whether there are some customizations in these problematic libraries and lists.
    Please create a new library and a new list, test again, compare the result.
    BestRegards,
    Wendy
    Wendy Li
    TechNet Community Support

  • I would like to see the ability to export/import chapter lists

    I use Encore CS3.  I use an external mpeg-2 encoder to create my M2Vs.  I usually make 2 M2Vs, one for single layer disks and one for Dual layer disks.
    - so I have 2 M2V files, both the same length but one has a higher bitrate than the other.
    In the timeline in Encore, if I delete a video, the chapter points are deleted with it.
    All I want is a feature where I can export the Encore chapters as a file, then import or apply the chapter file onto a different timeline
    Thanks in Advance
    Kelvin

    Thanks
    I forgot about that site.  I remember now about putting something into that site about a year or so ago.
    Kelvin

  • How to Export Import vCard contacts in Outlook 2013? Does it convert multiple Contacts at once?

    I am using latest edition of Microsoft Outlook 2013. I believed that it will definitely help to convert 1500 vCards contacts into Outlook 2013, all at once, but it is not supported to be possible because, still, Outlook 2013 has not improved in this direction.
    Any hope for me rather than exporting or importing contacts one by one???

    If it is one time requirement, simply use vbacode but it exports few garbage values. I tried this code and got below given garbage value (in place of image) apart from real one in every vCards. Vbacode did not export images:
    X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64:
     /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQY
     GBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYa
     KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAAR
     CACUACcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA
     AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK
     FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWG
     h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl
     5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA
     AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYk
     NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOE
     hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk
     5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6UdwpAPU0oIwSTxVeQ7nOPoKRj2B4FAEk
     k4/g59zREMgk9fWoFGSKsr8qc+maAIJPnmx6cUUkIy5aigBw4yfSkpT93680lABEMtUs52xk
     evFJAOabcHkLQA1DsiJ70US8Kq0UAK3Xim0vagdfpQBYhHy5qufmm/GrJ+SP6Cq0PLE0AJMc
     vj0opjNlyfeigCTtTohyKb2qaEfyxQAlw2EA9ajT5YyfWluDlwPQUFSVCryeM0AV6KmEaLy5
     59KKAFHJxU0ZwoxyTzSBoz0Xn6UOSqEjigBDGN2X5J7CmSSEYCjbSRZLEnkgUyQgufSgBEG5
     vmNFNAycCigCzEPmH50s56D8adEvyk/hTJGXeeMkcc9BQAkQIXPvUeFX7xyfQVK5Pl4OBwBx
     UFAAXPRcKPaimUUAaJ4TJ7VUA3MPerMxxGfeoI+pPoKACY8Adjk1FT5fv49OKZQAyiiigC3c
     HkD0psXC89zSSHLNTjwn0H86AISckmkoPWigBlFFFAFoPuIBHWnOVI5xzTI+pPoKSTqB6CgA
     2Ken6GmGP3/MU09aAxHQkUABRscc/Q0Ubz3AP4UUATp9xvwpj/fb60UUARnrRRRQAyiiigD/
     2Q==
    X-MS-OL-DESIGN;CHARSET=utf-8:<card xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusinesscards" ver="1.0" layout="left" bgcolor="ffffff"><img xmlns="" align="fit" area="16" use="cardpicture"/><fld xmlns="" prop="name" align="left"
    dir="ltr" style="b" color="000000" size="10"/><fld xmlns="" prop="org" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="telwork" align="left" dir="ltr" color="000000" size="8"><label
    align="right" color="626262">Work</label></fld><fld xmlns="" prop="telcell" align="left" dir="ltr" color="000000" size="8"><label align="right" color="626262">Mobile</label></fld><fld xmlns="" prop="email" align="left"
    dir="ltr" color="000000" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld
    xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/></card>
    REV:20130313T094717Z
    END:VCARD
    As my no of vcards were limited, so i removed this value manually from all and missed my vcard avatar.
    If your requirement is on regular basis or permanent and vcards have profile images then simply call to vCard magic application that seems pretty good.

  • How to export and import a document library data to a new sharepoint farm

    Hi 
    i have a sharepoint 2010 farm and has one sharepoint web application
    in  this application  it has a document library  and this doc library has a 2000 folders and each folder has  2500 documents
    , here i how i export upto 500 folders from this doc library to a new sharepoint farm 
    adil

    if your both farm are on same version level then you can use export & import funcation if only Document library required.
    Perform export on source farm
    Export a site, list, or document library in SharePoint Server 2010
    copy the files to target farm and run the import.
    Import a list or document library in SharePoint Server 2010
    another way is backup the site collection from source and restore  it to destination.
    for backup: http://technet.microsoft.com/en-us/library/ee748617(v=office.14).aspxFor
    restore: http://technet.microsoft.com/en-us/library/ee748655(v=office.14).aspx
    there is always 3rd party tool options.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Exporting/Importing Library

    I have 2 older Macs, and just got a new IMac. I want to get rid of one of the older Macs. Can I export/import the ITunes library from one older Mac to the other older Mac, and incorporate the 2 libraries on to one of the older Macs (I have ITunes on both, with somewhat different libraries, some overlapping music). Will ITunes allow you to merge the 2 libraries? And if so, once I import the library to the 2nd computer, to the desktop, how do I accomplish this? Is it simply drag and drop into ITunes and it will know what to do, or would it be more complicated than that? Thanks for your help.

    Drag the iTunes Music folder associated with the other libraries into the open iTunes window. This is an import, not a merge, and will not transfer playlists or other metadata.
    (38754)

  • SharePoint 2007 Export to Excel 2010 or Excel 2013 Fails to Export All Fields in All Items View

    Hi All,
    When I am trying to export the SharePoint View from SharePoint site to Spreadsheet (Excel 2013), I am able not able to export the the whole data, I'm missing some numerical columns from being displayed in Excel
    I have Infopath form (2007) published on SharePoint Site and I am using MOSS 2007 and Excel 2013. My form has only 20 or so fields and the rest are fields I generated in the form library to do several other calculations. I have already 73 columns
    displayed which should be exported to Excel, need help

    Hi,
    As per your post, I understand “Excel cannot connect to the SharePoint list” is thrown out in Excel 2010 when exporting the external list in SharePoint 2013. We are able to export the external list to Excel 2013.
    This issue does not occur on the standard lists.
    I am able to reproduce the issue and it could be a potential issue in SharePoint 2013.
    We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
    Appreciate your time and efforts.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • HOW TO IMPORT PRICE LIST?

    Dear friends.
    i am facing problem in importing price list,can u plz help me.
    1)i have made price list for certen items , that is ok with factor 1
    2)now i wants to update this price list through DTW
    3)but as per SAP templete i am anable to update it.
    4)i have  doubt that, will it update prices,because in temple there is no price as such.
    mahesh.

    It's much easier to use the built in SAP Business One Import from Excel from the Administration Menu.
    Use the following procedure.
    Regards,
    David
    Pricelist Export/Import
    Price List Export Files
    When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency.  The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.).  Save the file as type Text (Tab delimited).  Use this file as per Importing Pricelists above.
    Exporting Price Lists for update
    Use this script:
    SELECT T0.[ItemCode], T0.[PriceList], T0.[Price], T0.[Currency] FROM ITM1 T0 where t0.pricelist = '[%0]'
    Select the Price List NUMBER at the prompt. Send this to XL.  In XL, amend the columns Price and Currency as required.  Depending on the Pricelist which is to be updated amend the column Pricelist to the NUMBER of the Pricelist as defined in the leftmost column on the Pricelist screen (Stock management/Price Lists/Price Lists.
    If updating the same Price List as that exported the column Pricelist should already be populated with the correct number.
    When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency.  The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.).  Save the file as type Text (Tab delimited).  Use this file as per Importing Pricelists above.
    Importing Pricelists
    Administration/Data Import/Export/Import from Excel
    Data Type to Import u2013 Change to Items
    In A select Item No.
    In B select Price List Code.
    C should auto populate to Price According to Price List.
    D should auto populate to Price List Price Currency.
    Tick Update Existing Records.
    Tick Update Accounts in Existing Items.
    Click OK.
    Select the file as per Price List Export Files above.
    The file will then be imported and the relevant Pricelist updated.

  • Site Web Analytics Reports - accessdenied.aspx - which page/list/library?

    When I go to the Site Web Analytics Reports of a site and check the "Top Pages" I see on the 1st position "/_layouts/accessdenied.aspx".
    How can I know on which page/list/library they where when they had the access denied?
    For example, I have 100 "views" on /_layouts/accessdenied.aspx, is it possible to see:
    34 on the homepage
    29 on list A
    12 on list B
    7 on library A
    5 on page A
    2 on list C

    Try to find out function name  fn_WA_GetTopPages then
    add a condition to this function and filter out the /_layouts/accessdenied.aspx page.
    As another alternative, you can write your
    own access denied page and configure it from web.config. In that page you can write source url into your custom DB to create your own analytics.
    Link - http://sharepointdiva.com/2012/05/09/customize-the-access-denied-page/
    http://blog.randomdust.com/index.php/2013/07/custom-access-denied-page-in-sharepoint-2013/
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Loss of people picker column data during import/export of a list in SharePoint 2010

    Hi 
    Even we are facing the same issue. i a have meeting minutes(ootb) list, there are totally 100 items with multiple participant in Participant column, when i try to import export that list to some other site.
    participant column loosing the data, for all the items the data is empty. 
    any idea?
    guru

    If the other site is in another site collection then that is to be expected.
    User information is cached on each site collection as the user identity is referenced. That means that a user might have id #7 on one site and #8438 on another. The user lookup column references that ID value rather than holding full information on the user
    in each column they might be needed. To avoid using the wrong IDs when you move a site i suspect it just throws them out.
    If that's the case then you'll need to create your own export/import process, most probably with PowerShell.

  • Illustrator CS3 Import and Export File Format list?

    Hello,
    Has anyone typed up an updated supported import and export file format list for CS3? I used to reference a support knowledgebase document, 1001741, (no longer on Adobe's site) that showed the majority of file formats and versions that Illustrator was able to import. I searched all over and couldn't find one, then called support and they confirmed they no longer had a list like that available--they had split the import options into separate lists--like what versions of Photoshop files, what versions of .eps files, .tiff files etc. Illustrator CS3 could open.
    The reason I was looking because I wanted to see what version Corel file CS3 could open after I was not able to open a customer's v.12 .cdr file.
    Thanks,
    Rick H.

    I am pretty sure that the last supported version of Corel that AI can open is version 10.
    :) Mordy

  • I have limewire so how do i export the song list to library?

    I have limewire and id like to export the song list and import it to the library but when i click file export song list it will not let me click it. any ideas on how to resolve this?
    laptop presario 2100   Windows XP   none

    Thats not entirely true.
    I have an Audi car kit and it copies all contacts, missed/received/dialed numbers from the iPhone 3G to the cars system.
    I can scroll through the contacts in the same way I can on the actual phone.
    So it is possible to transfer the contacts via bluetooth but obviously this doesn't work with every manufacturer or bluetooth implementation.

Maybe you are looking for

  • Apple ID for Enterprise

    Hello, I work at a large organization and we are interested in using iPads for certain business functions. Currently we have a few in the environment. The Apple IDs for these devices are personal ones that belong to the user who it is assigned to. We

  • Converting MS Access to XML

    Egads! I'm attempting to port an Access 97 db to MySql, and I figured I'd make the thing a utility, so I'm trying to be as generic as possible. Therefore, I'm working with the odious '[Microsoft][ODBC Microsoft Access Driver]' to get the metadata of

  • Business Scenerio Solution

    Dear experts, Please provide me solution of given scenario- Here we are involve in power projects (electrifications of different feeders) for that we are procuring all the material from third party excepting trasformer we are doing inhouse  productio

  • Business Connector 4.7 and EDI Module

    Hi all, I want to use the EDI Module offered by SAP for the Business Connector. Unfortunately the SAP offered the zip file only for release 4.6 of Business Connector. Does anyone know if it's even so possible to import the EDI module in Business Conn

  • ClassCastException when retring soap attachment-image

    Hi When i try to retrive my gif(picture) attachment server firs an exception message -exception fires exception is java.lang.ClassCastException: sun.awt.windows.WImage with out retriving . How do i over come this?? pLEASE post me the code how do i re