Installing and deploying a .webpart file in SharePoint 2013

I have a webpart that took from a SharePoint 2010 web site from its webparts library. This webpart has the .webpart extension. I downloaded it as a copy. Now I want to install it to a SharePoint 2013 site ti its webpart gallery. I tried using Visual Studio
by opening the .webpart file and copy its XML to the new empty .webpart source code. Also I uploaded the .webpart file to the Sharepoint 2013 WebPart Library. That also not successful. There was an error regarding when I insert the webpart to a page with a
Correlation ID.
The error is at the below.
Unable to display this web part. To troubleshoot the problem, open this web page in a Microsoft SharePoint Foundation compatible HTML editor such as ...........................
Correlation ID: cb3b839c-b011-e0f5-999c-31292d78623c
Then how am I supposed to do this properly. I am new to Sharepoint.
Could someone please help me to solve this matter?
Thank you,
Regards,
Chiranthaka

What web part is it?  Is it a custom / third party one?
Also, more information on the .webpart structure might be handy -
http://www.wictorwilen.se/Post/Web-Part-Properties-part-3-the-webpart-file.aspx
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.

Similar Messages

  • How to work JQuery and content editor webpart functionality in sharepoint 2013?

    Hi all,
    I have a requirement to display the list data in share-point page by using JQuery and content editor web-part. could you please any one suggest the process to display the list data using JQuery and ContentEditorWebpart.
    Thanks in advance.
    Thanks,
    phani kumar
    Phani kumar

    Hi,
    From your description, my understanding is that you want to show a list data in a page using jQuery and Content Query Web Part.
    You could use SharePoint REST API to accomplish your requirement, please refer to this code below:
    <div id="listData">
    </div>
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    //replace your list title
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('customlist03')/items",
    type: "GET",
    headers: {"accept": "application/json;odata=verbose"},
    success: function (data) {
    if (data.d.results) {
    var obj = data.d.results;
    for(var i = 0; i < obj.length; i++)
    $("#listData").append("<div>title "+obj[i].Title+"</div>");
    error: function (xhr) {
    alert(xhr.status + ': ' + xhr.statusText);
    </script>​​
    The screenshot below is my result:
    Please refer to these articles:
    Working with lists and list items with REST
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    You can also get list data using JavaScript Client Object Model(JSOM), you could refer to this article:
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    https://msdn.microsoft.com/en-us/library/office/jj163201.aspx?f=255&MSPPError=-2147217396
    Here is a link about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Best Regards,
    Vincent Han
    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]

  • How can i deploy sandboxed solution .wsp file to sharepoint 2013 online using powershell script?

    Is there any way to deploy the Sandbox solution .wsp file to sharepoint 2013 online publishing site using powershell or CSOM or any other way?

    Hi,
    According to your post, my understanding is that you wanted to deploy sandboxed solution .wsp file to sharepoint 2013 online.
    "Add-SPSolution" command is not available in SharePoint Online management shell. So, we cannot use PowerShell to update and deploy a solution in SharePoint Online environment. Meanwhile, here is index of Windows PowerShell for SharePoint Online
    cmdlets for your reference:
    http://technet.microsoft.com/en-us/library/fp161364.aspx
    You can CSOM to deploy solution using helper class from CodePlex. The activation code is as follows: SandboxSolutions.ActivateSolution(siteCollectionURl, cookies, "solution_name.wsp");
    About the Client Side Object Model (CSOM), it is a development related issue, we have a specific support channel for the SharePoint developers, so I recommend you go to our MSDN forum for further assistance.
    Here is a similar thread for you to take a look at:
    http://community.office365.com/en-us/forums/156/t/197404.aspx
    In addition, if you would like to upload and activate sandbox solution manually, you can refer to:
    http://community.office365.com/en-us/forums/154/p/64010/244496.aspx#244496
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to Install and deploy Oracle Discoverer in Oracle AppServer 10.1.3.2

    I need to know how to install and deploy Oracle Discoverer in Oracle Application Server 10.1.3.2?

    Hi
    Discoverer doesn't install into OAS 10.1.3.2. It uses 10.1.2.1 or 10.1.2.2.
    When you install Discoverer it installs its own OAS components.
    Best wishes
    Michael

  • How to install and verify the license file on ASA 5512-x

    Hi Friends,
    How to install and verify the license file on ASA 5512-x Firewall. I have lincese pak for CX and web security essential.
    What need to be done? can i install this lic file on firewall or need to be install on CX server.  Because i dont have the CX server right now.
    Please share me document for installation of this license.
    thx
    Ashish Kumar

    Hi,
    one possible solution is to use an intermediate array. The intermediate array should be used in the user interface. When new data is entered the VI should read each element and then compare to the elements in the stored array. If all elements are different then update the array, otherwise display a fault message.
    You could use asequence activated when the Enter button is pressed. In the first frame you would compare the First array with the stored array. it is probably best to use a Boolean indicator to show if the data is valid Make sure you declare this as a local variable.
    With the sequence you can perform the comparisons in several seperate frames or in one frame with a OR to link the results. For large numbers of comparisons I prefer to use m
    ultiple frames because otherwise the screen becomes a maze of wires and other programmers who may need to maintain the code in the future will find it hard to follow a single frame.
    Once all the data items have been compared then the following sequence should contain a CASE statement of type True/False. Link a readable copy of your local variable to the selector of this statement. Then in the FALSE case (Assuming you have linked the boolean to be false when no data is duplicated) copy the new array to the stored array. In the TRUE case bring up an error message.
    So long as your arrays are not too large and you do not use this technique in too many places in your code the processor overhead should not be badly affected. For frequent use of such a caomparison in several VIs you may want to create a dedicated subVI for the task. For very large arrays you should seek a different solution.
    Hope that helps a bit.
    Good luck,
    Shaf

  • Jabber GUest Server 10.5 Install and deploy

    HI,
    I try  to install and deploy my first jabber guest Server 10.5 .What I see is that I should use a secure sip trunk to the ucm ? is this really needed ?,because if I use secure sip trunk I have to install certs
    Could I deploy it without secure sip trunk ? and only use self cert between expressway c and e ?
    Thanks for your Information
    Josef

    Hi Josef,
    It is fine to configure SIP trunk on UCM to be non-secure. 
    Between C and E you just need to make sure there are CA-signed certs installed.  Doesn't matter which CA, could be your own.
    Hope this helps.
    Mike

  • How to deploy SSRS 2008 reports to Sharepoint 2013.

     Hi,
       Can some one guide me how to deploy SSRS 2008 reports to SharePoint 2013 by giving the exact steps from where to begin. We have all our reports deployed in SharePoint 2010.Need to migrate those reports to Sharepoint 2013 instance. I
    also want to know how and where exactly we modify the connection strings to manage the data sources for the reports . Since I am very new to this field I am not able to properly understand other sites i have gone through . I have gone through the prerequisites
    also.Kindly help me by providing step by step method.
    Thanks,
    Mridhula

    If you don't just want to upgrade your database, simply open the report project (which should be on your local file system) and edit the report properties, changing the Report Server URLs appropriately to the new SharePoint server URLs.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013

    Hi, We are building company site with Sharepoint 2013 Enterprise Edition and were wondering what is the difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013? What are the roles/purposes of each one? What
    happens if only Reporting Services Sharepoint Mode  installed or vise versa.
    Thank you in advance

    Reporting Services in SharePoint mode is a service for displaying, managing, and creating SSRS reports within SharePoint. The addin is a pre-req for SharePoint that is used to display reports and is required for Reporting Services in Native or SharePoint
    mode, but does not by itself do anything.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can't open Excel files from Sharepoint 2013

    I am having an issue with opening Excel files from SharePoint 2013. If I click on an excel file it comes up with the error below.
    If I click Try again I get the message below also:
    If I try to open Word or PDF files they open correctly in the appropriate client and I have the option of checking them out and editing them. Any ideas why this would only be happening to Excel files?
    Thanks,
    Shaun

    Hi Shaun,
    I understand that the Excel files cannot be opened from SharePoint in Microsoft Excel.
    Can these files be viewed in the browser?
    I recommend to download a copy of the files with issue and then open them in Excel to see if the issue still occurs.
    If above cannot work, I recommend to repair Office.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow

    Hi,
    We have a requirement to update a column value once the item has been approved.
    Following settings have been made in the publishing articles list:
    Require content approval for submitted items : yes
    Create major and minor (draft) versions
    Who should see draft items in this document library? :Only users who can edit items
    Require documents to be checked out before they can be edited? : yes
    I have createdatu a Sharepoint 2013 workflow to check if Approval sts of current item = 0 i.e. Approved , then check out and update the item and finally checkin the item. Everything works fine till this point except that the minor version of the item is
    checked in. Due to this the updated columns are not published to others.
    Also, I created a Sharepoint 2010 workflow to SET CONTENT APPROVAL = APPROVED and started this workflow from my list workflow above, but the item does not get checked-in and always shows "In Progress" status with comment "The item is currently
    locked for editing. Waiting for item to be checked in or for the lock to be released.".
    Please let me know where I am missing out so that once the item is approved, column value gets updated and current item is still in Approved status.
    Thanks

    Hi,
    According to your post, my understanding is that you want to update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow.
    You will get into this kind of Catch-22 situation trying to set the Content Approval Status in SharePoint Designer workflow:
    - You must check out the document before you can change the Content Approval Status
             - You can't change the Content Approval Status once the document in checked out
    Since you set the Require documents to be checked out before they can be edited=Yes, you will need to check out the document when run the workflow on the item. But you cannot approve a document when it is checked
    out. So the logic in workflow conflicts.
    As a workaround, you can use the Start Another Workflow action to start the normal Approval workflow on the document.  The built-in Approval workflow can work with a document that’s not checked out.
    The designer approval workflow also can work with a document that’s not checked out.
    You can create two workflow using SharePoint Designer 2013.
    First, create a SharePoint 2010 platform workflow.
    Then, create a SharePoint 2013 platform workflow.
    Then when the SharePoint 2013 platform workflow start, it will start the SharePoint 2010 platform workflow to set content approval status, then the SharePoint 2013 platform workflow will update current item value.
    More information:
    SharePoint Designer Workflow Content Approval Issue
    SharePoint 2010 Approval Workflow with Content Approval
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to copy and paste the solution files of SharePoint 2010 from one machine to another machine?

    Hi,
    I was working with SharePoint 2010  in one of my Virtual machines.Now that the lease for my Virtual Machine is going to expire, I want to shift the entire contents of the project to another machine (local) with SharePoint 2010. Also, I want the pages
    in the other machine to be editable. 
    How can I copy the solution files to the other machine? And I want the exact path where the files are located, so that I can shift them to the other machine.
    Thanks in advance. 

    ...that's not a good approach.
    Deploying customisations can be as simple as files being copied onto the file system. Most of the time however there is a lot more happening behind the scenes and simply copying the files won't work.
    Also that is assuming that you mean solutions rather than the pages themselves (or the contents of document libraries) in which case you want to copy databases, not just files.
    SharePoint isn't a simple thing to move, you may need to look at this a bit harder.

  • Install Web Part Using Set up file for Sharepoint 2013

    HI,
        How to install web part to sharepoint 2013 using a setup wizard.
    Suppose i have webpart for some data manipulation process so i need to make a set up for install this web part in any sharepoint system is it possible , programmatically install web part is possible any one have code regarding this or can you suggest me how
    to do this ?
    Thanks & Regards
    SUJIL KUMAR t
    Software developer

    Hi Sujilkumar,
    According to your description, my understanding is that you want to install web part wsp using install wizard.
    In SharePoint, there is no set up wizard to install the web part. If you want to install your custom web part, you can use PowerShell Commands. Before you can deploy a solution package, you need to add it to the solution database of a SharePoint
    Server farm like below:
    add-spsolution c:\yourwsp.wsp
    Then you can install the solution like below:
    Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>
    Here are some detailed articles for your reference:
    how to add a wsp webpart
    Deploy solution packages
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to Deploy OOB Webparts created in Sharepoint 2010 designer to production system

    Hi,
    Can anyone help me the process of deploying the OOB Webparts developed in Sharepoint 2010 designer to Production Server.
    Actually i developed some OOB Webparts and Workflow using Sharepoint 2010 designer.
    So, i want to move these OOB Webparts and Workflow to my Production System.
    Please assist me what is the process?
    Rama

    Hi,
    Thanks for posting your query, 
    There are a lot of mechanisms for doing this, but doing a simple export from your dev environment and then an import into your prod environment is probably a good place to start. You can move the whole site or just a list/library. You can do it via PowerShell
    or Central Admin:
    Export:
    http://technet.microsoft.com/en-us/library/ee428301.aspx
    Import:
    http://technet.microsoft.com/en-us/library/ee428322.aspx
    I hope this is helpful to you. Please mark it as
    Answered. If this works
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS )
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Problem with uploading files to SharePoint 2013 in cloud using web services. Keep getting error message and don't know why.

    Hello everyone. I am having trouble writing a utility that uses SharePoint web services to upload a file and metatag it. It keeps throwing the following error message:
    "The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="/_forms/default.aspx?ReturnUrl=%2fsites%2fgk%2f_vti_bin%2fcopy.asmx">here</a>.</h2>
    </body></html> --."
    Not sure why. I pass the file that I am going to upload to the subroutine and it is suppose to upload it to the appropriate library. I have burned several days on this problem and I am not sure what is going on. I would appreciate anyone that can point me in
    the right direction. Below is the subroutine that I have that is causing the problem. Obviously, I have stripped the name from the example.
    Thanks
    Mike
    ******** <Begin snip of code> **********************
    Public Shared Sub CreateNewDocumentWithCopyService(ByVal fileName As String)
    Dim c As New copyservice.Copy
    c.PreAuthenticate = True
    c.Credentials = New System.Net.NetworkCredential("[email protected]", "mypassword")
    c.Url = "https://x.sharepoint.com/sites/gk/_vti_bin/copy.asmx"
    Dim myBinary As Byte() = System.IO.File.ReadAllBytes(fileName)
    Dim destination As String = "https://x.sharepoint.com/sites/gk/Gatekeeper%20Reference/" & System.IO.Path.GetFileName(fileName)
    Dim destinationUrl As String() = {destination}
    Dim info1 As New copyservice.FieldInformation
    info1.DisplayName = "Title"
    info1.InternalName = "Title"
    info1.Type = copyservice.FieldType.Text
    info1.Value = "new title"
    Dim info2 As New copyservice.FieldInformation
    info2.DisplayName = "Modified By"
    info2.InternalName = "Editor"
    info2.Type = copyservice.FieldType.User
    info2.Value = "-1;#servername\\testmoss"
    Dim info As copyservice.FieldInformation() = {info1, info2}
    Dim resultTest As New copyservice.CopyResult
    Dim result As copyservice.CopyResult() = {resultTest}
    Try
    ' When creating new content use the same URL in the SourceURI as in the Destination URL argument
    c.CopyIntoItems(destination, destinationUrl, info, myBinary, result)
    Catch ex As Exception
    MsgBox(ex.Message)
    End Try
    End Sub
    ******** <End snip of code> **********************

    Hi,
    If you want to upload a file to a library in SharePoint 2013 online, I suggest you use Client Object Model or REST API.
    The code snippets in the two threads below will be helpful:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/deac7cb7-c677-47b0-acdc-c56b32dfaac8/uploading-bigger-files-using-csom
    http://stackoverflow.com/questions/17057074/how-to-download-upload-files-from-to-sharepoint-2013-using-csom
    Uploading Files Using the REST API
    http://blogs.msdn.com/b/uksharepoint/archive/2013/04/20/uploading-files-using-the-rest-api-and-client-side-techniques.aspx
    You can handle the authentication with
    SharePointOnlineCredentials object:
    http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Fan in my macbook pro no longer works.  what can be done?

    sirs:  the fan on my mackbook pro has recently quit working.  I wish to restore it.  How do I do this? Thanks, David Coxwell

  • Procedure to Insert PDF from FIle System to Database

    Hi , I have a requirement to put the pdf files from our Local Machine or File system into Database table .. For that I have created a directory called "MY_PDF" with create and replace directory . Also , I have created a database table to store the fi

  • Where can I get Indesign CS5?

    Hi my employer has CS5 installed on their PC's - which they bought online.  I now need to instal it on a laptop so that I can work off site and as they have no discs I can't do it easily.  Where do I get a copy of CS5 from?  Upgarding all of them to

  • Apache soap and java

    Hi I wanted to know which websites have Apache SOAP webservices which we can write a client for in java and implement

  • Help with developing a POS Software

    Hello I have recently came witht developing a POS system for a client. I have a problem with one of the requirement of my client. This software has to be capable to capture and incoming caller id and auto fill in a program filed so it will automatica