How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
shiv

Nice, can you point me to the solution please ?
I'm  trying to do this but I get an error : 
Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
All help really appreciated.

Similar Messages

  • SharePoint 2013 and Native Mode SSRS Web Parts

    SharePoint 2013 and SQL Server 2012 installation.  Trying to get the SSRS native mode web parts installed as per these instructions:
    http://msdn.microsoft.com/en-us/library/ms159772.aspx
    Have tried both via PowerShell and stsadm.  In both cases, get an error regarding "Failed to extract the cab file in the solution".  Have done this a bunch of times in SharePoint 2007 and 2010, is this solution no longer supported in
    2013 and if so, is there a supported way of integrating with SSRS in Native Mode for SharePoint 2013?

    OK, let me amend my statement a bit. 
    Found this article:  http:// social.msdn.microsoft.com /Forums/sqlserver/en-US/5b9de028-5b6a-47c7-8da8-793d1a78df55/error-with-sql-server-2012-rswebpartscab-for-sharepoint-2010
    Mind you, I was able to get the SQL Server 2012 version of RSWebParts.cab to install successfully on the SharePoint 2010 dev box in the environment, but figured that trying the SQL Server 2008 R2 version of RSWebParts.cab was worth a shot.  It worked
    (or at least it installed and I am able to add the web parts to pages).  Will post an update once I am able to test full web part functionality with an SSRS Native Mode server.
    So, what I can say from my testing:
    SQL Server 2012 version of RSWebParts.cab works (installs) for a SharePoint 2010 installation but not for a SharePoint 2013 installation.
    SQL Server 2008 R2 version of RSWebParts.cab works (installs) for a SharePoint 2010 installation and for a SharePoint 2013 installation.
    There is no update to RSWebParts.cab in SQL Server 2012 SP1 (at all, not in any part of it including the Reporting Services Add-In), the file is always 10/20/2012.
    So, as long as you are trying to integrate a SQL Server 2008 R2 SSRS Native Mode instance or lower on your SharePoint 2013 farm, there is a solution.  However, it will likely not work against a SQL Server 2012 SSRS Native Mode installation.  
    So, the amended statement is that:
    "The bottom line is that it *appears* that there currently is no supported version of the Native Mode (2.0) version web parts for SQL Server Reporting Services2012
    (RSWebParts.cab) for SharePoint 2013.  Therefore, there is currently no way to integrate SharePoint 2013 with a SQL Server Reporting Services
    2012 instance running in native mode."
    And, no, none of this really makes any sense in the least but that is what my testing shows.

  • SharePoint 2013 Promoted Links issue

    Hi,
     I am encountering an issue in which I need some input. This is a SharePoint 2013 environment and the issue is related to Promoted Links. The issue is that after 60 seconds the title on the promoted links disappear. Checking in developer tools, I notice
    that the div tag that houses the title information disappears also. I am attaching the images that depict the behavior. Any ideas will be greatly appreciated.

    Hi,
    We need more investigation for troubleshooting:
    Are you using OOB promoted links app in SharePoint 2013?
    Is there customization on the issue app? If so, how did you customize it?
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to prevent RSS Viewer web part from overriding list-item CSS style?

    I am using SharePoint Online. I have a web part page with a number of web parts with links. Font size of the links is ~12px.
    If I add an RSS Viewer web part to the page, then it overrides the 'list-item' class CSS Style to something like 8px, which is unreadable.
    To correct this I have tried the following:
    1. Added the following code to a Script Editor Web Part on same page:
    <style type="text/css">
    .item link-item
    font-size:20px !important;
    .link-item
    font-size:20px !important;
    </style>
    2. Completely deleted all XSL from the RSS Viewer web part and replaced it with very simple formatting code which format the links within the RSS web part to 16px - but still the other links are set to 8px.
    3. Linked a custom style sheet to the relevant master page and set the link-item classes in there, ensuring that it is executed after the standard SharePoint css.
    ...but nothing works!
    It appears that, as soon as the RSS Viewer web part is added to the page it overrides the list-item style and then will not release it even if all the XSL within the web part is deleted!
    On deleting the RSS Viewer from the page and saving it, the links font size returns to normal.
    Does anyone have a fix/work around for this?
    Thanks in advance,
    Jimmy

    Hi Jimmy,
    I recommend to use “.link-item a” instead as the code below to change the font size of the links:
    <style>
    .link-item a
    font-size:20px !important;
    </style>
    And I tested the code above in my environment and it worked fine.
    Best regards,
    Thanks
    Victoria Xia
    TechNet Community Support

  • SharePoint 2013 Online : Custom List view xslt webpart UI vs List View WebPart UI with search ? How to create a xslt list view webpart same UI as list View webpart ???

    I have created a xslt list view webpart but I does not have UI as SharePoint 2013 list view UI.
    how I can have it.
    Ahsan Ranjha

    Hi Ahsan,
    According to your description, my understanding is that the UI is different between XSLT web part and List View web part.
    Per my knowledge, the List View web part is a kind of the XSLT list view web part which uses XSLT to display data on the page.
    http://sharepoint-videos.com/list-view-and-data-view-web-parts/
    How did you add the XSLT web part and the List View web part?
    Could you please provide a screenshot of the two web parts?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Linking two lists to create a Data Source but cannot add web part to page in SharePoint designer

    All;
    I created a new data source by linking two lists which created a linked Data Source. I now want to access that linked data source via insertion of a Data Source control on a web part page.
    What I find is, both DATA SOURCE and DATA VIEW are inactive and unselectable.
    Is there any way to get this functionality going?
    Thx
    Larry Pexter

    Hi Larry,
    Since it is a coding UI, we need to put cursor into appropriate place so we can insert data view web part, i.e. the coding which represents the web part in to the whole coding part.
    As I tested in my envrionment, if you put cursor between <ZoneTemplate> and </ZoneTemplate>, I cannot get the DATA view, even before </ZoneTemplate>. Please put it exactly before <ZoneTemplate>.
    If you have modify the coding, please click save and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to Insert Sharepoint 2013 Person or Group Field using VBA

    Hello,
    How to Insert Sharepoint 2013 Person or Group Field using VBA , I tried set the field with ID / ID;Name / Name
    but all failed, Please advice 
    Function SetSP_Field(F_Yer As Single, F_WekNo As Single, F_ProjectNum As String, strField As Variant, strFieldValue As Variant) As String
    ' test code
        Dim rst         As Recordset
        Dim strSQL      As String
        Dim SP_RecSet   As ADODB.Recordset
        Set SP_RecSet = New ADODB.Recordset
        SetSP_Field = False
        strSQL = "Status Report"
        On Error Resume Next
        Call SP_Connect(2)
        strSQL = "select " & SP_List & ".* From  " & SP_List _
               & " Where [Year] = " & CInt(F_Yer) _
               & "   and [WeekNo] = " & CInt(F_WekNo) _
               & "   and [Compass_Code] = '" & F_ProjectNum & "' ; " _
    '           & " Set " & strField & " = " & strFieldValue
        'Debug.Print strSQL
        'Debug.Print SP_CN
        SP_RecSet.Open strSQL, SP_CN, adOpenStatic, adLockOptimistic
        If SP_RecSet.RecordCount = 0 Then
            Debug.Print "Record for project: " & F_ProjectNum & " not found"
            LogFile.WriteLine ("Record " & strID & " not found")
        End If
        If Not SP_RecSet.EOF Then
            'SP_RecSet.Edit
            SP_RecSet.Fields(strField) = strFieldValue
            SP_RecSet.Update
            If Err.Number <> 0 Then
                MsgBox ("SP Update Error: " & Err.Description)
                GoTo Exit_Fun
            End If
            SetSP_Field = True
        End If
    Exit_Fun:
        SP_RecSet.Close
        Set SP_RecSet = Nothing
    End Function

    Hi Tim,
    Let’s verify the followings:
    Whether this issue occurred for other lists in the same site.
    Whether this issue occurred for all users who don’t have full control.
    Whether this issue occurred on other sites.
    When you created the people & group column, which show field did you used? Please try to use a different show field for the people & group column, compare the result.
    In addition, please check if the link is useful:
    http://www.learningsharepoint.com/2013/08/21/empty-value-in-people-picker-after-saving-the-list-form-in-sharepoint/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Can you create two separate tile views for a Promoted Links List

    I have lots of pages on my site where i want the effect of the promoted links list tile view. However, i don't want the same links to show up on every spot i use it. Is there not a way to create separate tile views so you can create filtering conditions?
    Right now i am stuck having 5 separate lists with 5 items in each because of this limitation. Am i missing something? 
    I look forward to your responses.
    ~Zach

    There is an easy way to do this.
    Add columns to the Promoted Links list.
    Add a column named Page.
    Type in name of the page on which you would like this link to appear.
    Add a column named Row.
    Create a view filtered by page name and Row. Example: Show only when Page = HomePage AND Row = 1
    Create another view filtered by page name and another Row. Example: Show only when Page = HomePage AND Row = 2.
    Go the page you would like the links to appear. Edit the Page.
    Add Promoted Links app part (still not used to the app thing) and select your view for Row 1
    Add another Promoted Links app part and select the view for Row 2.
    Lather, Rinse and Repeat.
    Tamara Bredemus SharePoint Minion...working up to Maven

  • How to dynamically change link in Page Viewer Web Part SharePoint 2010?

    Newbie Question:
    Situation:
    a) Created: Two Site Pages page 1 & page 2
    b) Page 1: Includes simple hyperlink text Example - Home | About Us | Contact etc
    c) Page 2: Includes Page Viewer Web Part that includes link to an existing web site (this site has all of the pages) and the olde site is shown in SharePoint site
    Complication:
    a) I want the users to click on Page 1 - About Us etc
    b) The View on Page 2 - page viewer link should be dynamically updated to About Us . If user clicks on contact us on Page 1..the page 2 view should change dynamically to Contact US
    ASK:
    a) How do I dynamically update the links in Page Viewer web part using minimal coding (if possible)
    Any Guidance will be greatly appreciated.

    Hello,
    You can also used the another appoch,
    Create your custom webpart , then add the PageViewer Webpart at run time,Create webpart property for the custom webpart to change the url and add the PageViewer webpart runtime,
    I have created the custom webpart property to specified the url at the tine of edit the webpart
    Here is the code
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    using System.Collections;
    using Microsoft.SharePoint.Publishing.WebControls;
    using Microsoft.SharePoint.WebPartPages;
    namespace MyNameSpace.MyPageViewer
    [ToolboxItemAttribute(false)]
    public class MyPageViewer : System.Web.UI.WebControls.WebParts.WebPart
    private string _customUrl = "http://yourdefaulturl";//Specified default url
    [WebBrowsable(true)
    , Personalizable(true)
    , Bindable(true)
    , Browsable(false)
    , DefaultValue("")
    , Category("Custom Page Viewer Properties")
    , WebPartStorage(Storage.Shared)
    , FriendlyName("PageViewer URL")
    , Description("PageViewer URL")]
    public string CustomUrl
    get { return _customUrl; }
    set {if (string.IsNullOrEmpty(value) == false) { _customUrl = value; } }
    #endregion
    public MyPageViewer()
    this.ChromeType = PartChromeType.None;
    protected override void OnInit(EventArgs e)
    EnsureChildControls();
    base.OnInit(e);
    protected override void CreateChildControls()
    string pageViewerUrl = CustomUrl;
    Microsoft.SharePoint.WebPartPages.PageViewerWebPart pageViewerWebPart = new Microsoft.SharePoint.WebPartPages.PageViewerWebPart();
    if (!string.IsNullOrEmpty(pageViewerUrl))
    pageViewerWebPart.ContentLink = pageViewerUrl;
    pageViewerWebPart.ChromeType = PartChromeType.None;
    pageViewerWebPart.Height = "382";
    pageViewerWebPart.Width = "682";
    this.Controls.Add(pageViewerWebPart);
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    protected override void OnPreRender(EventArgs e)
    base.OnPreRender(e);
    Hope this will help you
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to export SharePoint 2013 Calendar View to PPT or as an image?

    Greetings!
    I am working on a SharePoint 2013 event calendar and should be able to provide a capability to export my calendar view (day/week/month) as a PPT slide or as an image. I understand that OOB we can export the calendar list to Excel or open using MS Access.
    I had been exploring the option of using the Chart View Web Part which can be saved as an image (jpeg/bmp/png). Here are the pitfalls - Chart View WP does not support calendar view. At best, I am able to use the Gantt Chart Types, but having difficulty using
    Calendar list "Start Time" column for one of the axes. There is End Time and Duration columns available for selection, but not start time. Also, I am unable to define date range for my date in the x-axis. Right now I have an x-axis
    that spans over 40 years. Is there any way to confine the chart for a particular quarter or year.
    At this time, I am inclined to look at custom development approaches. Any suggestions regarding an approach will be really helpful.
    Thanks!

    Well, even if you want to go through "Export", it will be more manual work than taking a screenie. Unless of course you want to achieve it programmatically (am not sure what to do there).
    Another option could be to subscribe to the SharePoint Calendar from Outlook. That way you can eliminate the need for the PPT (?) and also enable your users/clients/management to have more clarity on how the dates stand vis-a-vis other stuff they have listed
    on their calendars.
    ----------------------- Sujay Sarma {Unbounded;}

  • How to add a new url link in a view of an existing webdynpro component?

    How to add a new url link in a view of an existing webdynpro component?

    hi ,
    refer SAP online hep :
    Implementing Enhancements in a View
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
    To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
    Enhancements  means inserting user developments into SAP development objects at predefined positions.
    The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
    refernce :
    have a look at this article
    How to Create Enhancement Implementation in Web Dynpro ABAP
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
    as pointed correctly by Saurav in earlier thread
    regards,
    amit

  • How to add values to drop down list in adobe forms

    how to add values to drop down list in adobe forms

    Hi,
    If you are using WD Java following are steps of filling values in DD Box:
    1 Create a simple type in the Dictionary.
    2 Create an attribute "CountryNew" in the Context of type created by you.
    3 Write following code in the init method of the form:
    IWDAttributeInfo countryinfo =
                   wdContext.nodeEmployee().getNodeInfo().getAttribute("CountryNew");
    ISimpleTypeModifiable Country = countryinfo.getModifiableSimpleType();
    IModifiableSimpleValueSet countryValueSet =
                   Country.getSVServices().getModifiableSimpleValueSet();
    countryValueSet.put("IN", "INDIA");
    countryValueSet.put("US "USA");
    4 Add a Enumrated DD box in the form and bind it to the attribute "CountryNew"
    Hope this helps
    Amit

  • HT201301 how to add app to file sharing list ?

    how to add app to file sharing list ?
    For expamle, i have autocad ws app on iPad. When i had previous version of iTunes i saw this program in file sharing list.
    After upgrading iTunes AutoCad have gone from this list, how can I return this back?
    Thank You.

    From what I read in the app description in iTunes on my computer, you need some sort of account and you use this with a desktop program as well. Files are uploaded to a server???
    I see no mention of file sharing in the app description.
    https://itunes.apple.com/app/autocad-ws/id393149734?mt=8
    BTW, you cannot add an app to file sharing - it has to suppport file sharing on it's own - it must be built into the app. If the app supports file sharing, it will be in the file sharing apps list in iTunes.

  • Does anyone know how to Add a date drop down list to a pdf file?

    Can someone tell me how to add a Date drop down list in a form

    There's no built-in function that does that in Acrobat, but there are some third-party tools that do.
    The two most known ones are by FormRouter, which is free and based on form fields (but also a bit buggy), and a non-free version created by Max Wyss, which is based on a dialog object.

  • List view web part not reflecting changes made to list view in SharePoint Designer

    Dear All,
    When adding a list view web part containing a view modified in SharePoint designer (e.g. conditional formatting applied, or group headers modified) I'm finding that the changes made in SPD are not reflected in the web part. 
    For example, I go into SPD edit a view, and the view appears correctly when I go back into SharePoint, however when I link to the view within a list view web part it results in losing the changes made in SPD. 
    Becasue it's a publishing page I'm unable to edit the contents of the web part in SPD.
    I'm sure this is expected behavior but how do I get around this?
    Thnaks,
    MDB

    Try below
    http://stackoverflow.com/questions/19533998/sharepoint-designer-doesnt-show-anything-in-list-and-libraries-link
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a63a1894-6b1d-420a-95dd-b6c546eab34d/updates-made-to-sharepoint-designer-2010-workflow-do-not-show-up-on-the-server?forum=sharepointcustomizationprevious
    http://stackoverflow.com/questions/5959521/sharepoint-designer-saves-the-changes-but-it-does-not-affect
    http://social.technet.microsoft.com/Forums/en-US/1e9a8c27-bbc5-4a6f-8daf-4b243182f543/changes-in-sharepoint-designer-2010-not-showing-in-sharepoint-server-2010-page?forum=sharepointadminprevious

Maybe you are looking for

  • Won't show firefox since last night

    It crashed. Tried to restart and it won't show. Did a full scan. Uninstalled and reinstalled over 6 times. It says that I must close firefox that is currently in use but it isn't. When I use explorer to download firefox, explorer will sometimes crash

  • How do I use a preamp for an input, but have it ouput through my speakers?

    I'm using a Mobile Pre USB with the guitar plugged in through INput 2 and the Mic through Input 1. When I put the driver as the Preamp, I can't get the sound to output through my default Imac speakers. How can I use the preamp while having the sound

  • Is it worth trying to fix my computer, or should I look into purchasing a new one?

    I currently have an aluminum Macbook from late 2008. It has a 250GB hard drive and 2 GB RAM. I'm running OSX version 10.8.2. Recently my laptop has been running really slowly; programs will often just give me the spinning beach ball when I try to ope

  • DP background jobs in local time zone

    We are using APO DP in an international environment (SCM 4.1). We have setup up the system, that is using the local time zone (personal user settings), which is working fine in interactive planning (data views & macros). But when executing the macros

  • Loading data from MS Sql to Oracle.

    Hi, While executing interface I am getting following error: Caused By: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1.      at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:294)      at com.sunop