ECT List View Web Part displaying incorrect data when View Item

I have a External Content Type which pulls data from a stored procedure. The stored procedure has 1 parameter - the users logon id. The data retrieved is a list of meetings with start date time, end date time, location, subject, etc. From this ECT there
is an External List which displays all data correctly.
There is 2 pages within the site and its subsites that have list view web parts which display a subset of the info from the external list. When the user clicks a specific meeting to display the complete info on the meeting, the wrong information is displayed,
it always displays the info for the 1st meeting in the list. So, I displayed the BDC Identity field on the list and this field is identical for all the rows since the key for the ECT is the username and hence not unique.
I've spent all day trying to finding a way to resolve this and have come up empty. I've tried to find a way to make the BDC Identity field to be unique, using Business Data View web part, Data View web part, and nothing.
The user needs to be able to click the My Meetings url header on the above pages to see a full list of their meetings so I need the external list. Any ideas how to make the BDC Identity field unique or how to get the View Item on the List View web part to
work correctly?

Sorry, I do not understand what you mean.
I resolved the non unique BDC Identity problem by simply adding the row # to the Username in the stored procedure so the BDC Identity fields on the list records are now unique (although they're really long ie. __bk44003500070057003700560027000200140037003700f600360096001600470056003300,
__bk44003500070057003700560027000200140037003700f600360096001600470056004300 etc). Not sure how it generates the BDC Identity?
I still see the same behaviour when you select a meeting to display the details. It always displays the 1st record in the list.
I added code to the DispForm to display the ID when the page loads and the BDC Identity from the record and verfied that they do match.
I can add another parameter to the stored procedure and just return the row # in that field. What do you mean by make the identifire as Identity in operations?

Similar Messages

  • List View Web part not showing all available views for list

    We have added a list view web part to a page, and we get the "Current View" link in the web part...which is configurable when modifying the actual web part.
    What we'd like to see (instead of having to click the ellipses button/context menu to get the other views) is the views displayed horizontally like when you are viewing the list itself.
    When viewing the list itself, we see "All Items" "View 1" "View 2", etc.
    Is this possible in the list view web part to display all available views in a horizontal/breadcrumb layout?  Please advise.

    The below works via alert, just need to now assign data to a <DIV> or element for display.
    Trying this in simple webpart code snippet to get back all views:
        <script>
        var viewCollection = null;
            function runCode() {
                var clientContext = new SP.ClientContext.get_current();
                if (clientContext != undefined && clientContext != null) {
                    var web = clientContext.get_web();
                    var listCollection = web.get_lists();
                    var list = listCollection.getByTitle("MyListName");
                    this.viewCollection = list.get_views();
                    //var viewInfo = new SP.ViewCreationInformation();
                    //viewInfo.set_title('MyView');
                    //this.viewCollection.add(viewInfo);
                    clientContext.load(this.viewCollection);
                    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
            function onQuerySucceeded() {
                var viewInfo = 'Tasks list current views: \n\n';
                var viewEnumerator = this.viewCollection.getEnumerator();
                while (viewEnumerator.moveNext()) {
                    var view = viewEnumerator.get_current();
                    viewInfo += view.get_title() + '\n';
                alert(viewInfo);
            function onQueryFailed(sender, args) {
                alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        </script>
        <a onclick='return runCode();'>Click here</a>
                            

  • WebI displays incorrect dates when sourced from SAP

    We have several issues, all tied to displaying dates from a BEx Query, through the universe, into WebI.
    Scenario One:  Dates that have a datatype of date will parse in the universe, but will give driver not capable when used in WebI.  Could this be tied to an invalid date?
    Scenario Two:  Dates set with date datatype parse correctly and can be queried in WebI, but return incorrect results. If queried WITHOUT a measure, date appears as one day less than actual date (ex. SAP date  = Apr 28, 2009 but universe object set with date datatype shows April 27, 2009.  When a measure is added, the same date displays as Sept 27, 1976.
    I suspect that we need to modify the data access files in order to accurately convert SAP dates (which by default come into the universe as Character) to a date datatype. If this is the case, are there sample sapen.prm and sap.sbo files to ensure appropriate settings? 
    Does anyone have additional thoughts on what could be causing this issue?  Are there sample sapen.prm and sap.sbo files anyone would be willing to share?
    Thanks!

    Hi Robin,
    If you are using BOE XI 3.1. Then make sure that you apply fixpack 1.4 on it because the issue you are Describing is Fixed in this fix pack.
    Here is the Description of that Particular issue In Release Notes of Fix pack 1.4
          ADAPT01181134
          Description:
          When users create a Web Intelligence document with the universe which is built based on SAP data, it fails to display correct values for some Date objects. This problem occurs when users have a timezone of 'GMT-x hours' on the machine where BusinessObjects Enterprise is installed.
          I hope this would solve your problem.
    Thanks,
    SK.

  • Report Viewer shows incorrect data when viewing pages from last to first

    Post Author: Fmorales
    CA Forum: .NET
    Hello.
    I've made a huge report with Crystal Reports for Visual Studio 2005, and sometimes the Report Viewer show data with errors.
    If I see all pages of my report in order, 1 first, then 2nd, 3, 4... until the last one.... The report is always correct.
    If I see all pages in reverse order, 1 first (shown by default), then last one, then last one-1.... until 2nd.. All years show incorrect, except first one... 
    In an outer section, for every year, there is a final row which shows summarize calculated data. The error consists in that every value of the row is 0.
    It seems that Crystal Report calculates while showing, that's good.. but... Why does it ignore the data before when I see directly the last page?? It forces me to see all pages one by one in ascendant order to ensure data is correct.. I must fix that error.
    The way I calculate data in the problematic summarize row is a bit complicated, but I'll try... Let's focus in one only column (the other ones are similar). The summarize value is a formula which simply show a global value :
    WhilePrintingRecords;
    CurrencyVar margenActual;
    which is being increasing or decreasing along the group:
    WhilePrintingRecords;
    CurrencyVar actual:=actual+CurrentFieldValue; 
    if {PresupPeriodifMesesAux_DS.TIPO} = 'PAGOS' then         CurrencyVar margenActual:=margenActual-CurrentFieldValueelse    CurrencyVar margenActual:=margenActual+CurrentFieldValue;
    DefaultAttribute
    It is placed in the backgrond property of a CrossTab cell in a hidden pre-section... Well.. I know it's a bit complicated, but I have to do that way because it was the only trick I found to make a summarize file before printing data summarized (that's why the line "CurrencyVar actual:=actual+CurrentFieldValue;" appeared in formula). So I also wanted to use this formula to acummulate "margenActual".
    In the inner section I reset the actual value (this value always go fine):
    WhilePrintingRecords;
    CurrencyVar actual:=0; 
    Before end of year I reset the margenActual value:
    WhilePrintingRecords;
    CurrencyVar margenActual:=0; 
    I've tried multiple combinations (using WhileReadingRecords instead WhilePrintingRecords) but data is incorrect or I cannot get rid of visualization page's problem....
    Any idea?
    Thanks a lot

    quote:
    Originally posted by:
    ntsiii
    If you were previously using <mxXML> you WERE using
    e4x.
    So remove that tag, create an instance variable of the same
    name, typed as xml, and in your result handler, do as VarioPegged
    suggests, though I would cast/convert to xml first:
    companies = XML(event.result);
    trace(companies.toXMLString()); to look at your xml
    var xlCompanies:XMLList = xmlCompanies..company; //all such
    expressions return XMLList, never XML
    trace(xmlCompanies.length()); //
    Tracy
    Ok so the ID of the mxXML was being interpreted as an E4X
    variable at compile time?
    I tried changing the name of the ID of the HTTPService call
    from "marketData" to "MDATA" and assigning the variable marketData
    to the result of the HTTPService query, which if I understand you
    correctly should basically make everything work as it was before,
    but it seems to be a problem.
    when I try to run it puts an exclamation point on this line
    <toolbox:TreeMap id="treeMap" width="1200" height="800"
    dataProvider="{marketData}"
    labelField="@cname" weightField="@amount"
    colorFunction="{itemToColor}"
    toolTipFunction="{itemToToolTip}"/>
    That code refers to a SWC file. Apparently it wants
    marketData to be a data provider. If I change the dataProvider
    reference above to "MDATA" (the ID of the HTTPService) the App
    compiles, but I get two errors at runtime:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    ReferenceError: Error #1081: Property @age1 not found on
    mx.rpc.http.mxml.HTTPService and there is no default value.
    What should I change this reference to? It won't compile if I
    use the variable I made for the e4x results and it is reading
    gibberish if I have it read directly from the
    HTTPService....?

  • Row limit in declarative list view web part

    Hi,
    Imagine you are in a scenario where you develop a custom web template or a site definition. Page Layouts with web part zones are being provisioned and out of them, decoratively web part pages are being created and populated with web parts. So something like:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Module Name="XXXProjectPages" Url="$Resources:osrvcore,List_Pages_UrlName;" Path="" SetupPath="FEATURES\XXX_Intranet_PMO_PageLayouts\">
    <!-- Home -->
    <File Url="FullPageLayout\XXXFullPageLayout.aspx" Name="Default.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE" ReplaceContent="TRUE" Level="Published">
    <Property Name="Title" Value="Team &amp; Collaboration" />
    <Property Name="ContentType" Value="$Resources:cmscore,contenttype_page_name;" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/XXXFullPageLayout.aspx, ~SiteCollection/_catalogs/masterpage/XXXFullPageLayout.aspx" />
    <!-- Latest News -->
    <View List="Lists/Announcements" BaseViewID="102" WebPartZoneID="wpZone1" WebPartOrder="2">
    <![CDATA[
    <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.ListViewWebPart</TypeName>
    <Title>Latest News</Title>
    <FrameType>TitleBarOnly</FrameType>
    </WebPart>
    ]]>
    </View>
    For simplicity, let's assume that we are working with instances of OOB list definitions, such as Announcements or Document Library. So far so good. And now the question...
    In my understanding if you want to do something as simple as limiting the number of items returned, or specifying a custom view criteria (filter/sorting/grouping, whatever) or just remove the toolbar, you have to go as far as provisioning an ENTIRE LIST
    DEFINITION, defining your custom View in it (which declares the toolbar type, row limit and View) and then reference this new View by its BaseViewID. Is that correct?
    Is there really no other, simpler way, of 'provisioning' and referencing a new view, to an existing list instance, along with the
    Module -> File -> View element? I see a couple of logical options:
    1) I would imagine such metadata could be stored in the web part and not the actual list. i.e. the web parts sends a CAML query to the list, based on the View metadata stored in it.
    2) As we know, when you Edit page and configure the View for a List View Web Part on the page, that view is stored as a new hidden view in the actual list (i.e. if you have two list view web parts that reference that list, you will have two additional hidden
    views). Then why can't we provision such (hidden) view along with the List View WebPart when we declare it and create the page? It could be created on first access of the page, or during the page
    provisioning.
    Another option could be the XmlDefinition property of the XsltListViewWebPart, but
    apparently it is being ignored. I have also tried using the 'CustomSchema' property of the ListInstance, but it totally makes no sense because:
    a) You cannot define more than one view in it, i.e. you have to override the OOB view that comes with the definition (lol?!)
    b) You are supposed to overwrite the entire list definition, instead of simply upgrading parts of it
    So, let me elaborate: if I want to have a <View> (ListViewWebPart) in my Page and this view to have some custom criteria, I have to provision an entire List Definition, is that correct? This is crazy.

    Hi Hristo,
    According to your description, my understanding is that you want to know if you can use <view> tag in the list view web part to define the row limit of list view web part.
    Per my knowledge, you can define rowlimit element in the view element for list view web part directly not necessary to modify the entire list definition.
    View Element:
    http://msdn.microsoft.com/en-us/library/office/ms438338(v=office.15).aspx
    Also, if you want to do more customization, you can still orverride the xslt.
    More reference:
    http://www.glynblogs.com/2011/04/overriding-the-presentation-of-an-xslt-list-view-web-part.html
    http://unorig.com/2012/08/15/format-a-list-web-part-with-xslt/
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • SharePoint 2010 Calendar web part displaying (False) in every event

    I am looking at an issue with a Team site that has a calendar web part on a page. In this calendar web part, every item has "(False)" appended after it. This only displays in the web part. If I access the calendar list directly, the item displays
    correctly.
    For example,
    In the calendar web part I will see: Good Friday (False)
    In the calendar list I will see: Good Friday
    This is the out of the box calendar web part and nothing out of the ordinary looks to be set with it. Why is "(False)" displaying in the web part and how do I get rid of it?
    Thanks,
    Jim
    Jim

    Hi Jim,
    According to your description, my understanding is that the calendar web part displayed incorrectly in SharePoint 2010.
    Could you please provide a screenshot of the calendar list and the calendar web part?
    I recommend to verify the steps below for troubleshooting this issue:
    Remove the calendar web part from the page and then add another calendar web part to narrow the issue scope.
    Create a new page and add the calendar web part to the page to see if the issue still occurs.
    Create a new calendar list and test the same scenario, then compare the results.
    Check the XSLT list view web part in the page in SharePoint Designer to see if there is anything wrong.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Display Calendar View in List View Web Part

    We have a list and a calendar view of the list. I wanted to display the calendar view of the list in a List View Web Part in another page in the site.
    When I select the 'Calendar View' from the Views drop-down - it does not work.
    Please can you help.

    Hi Aritra,
    Is there some errors on your environment? So, you can have two workaround to do it.
    You can use SharePoint designer to add an empty data view source on your page ,then select the page.
    Use 
    Page viewer web part on your page, then put your calendar view web part page URL into your PVWP.
    Thanks,
    Jack
    Jack Gao
    TechNet Community Support

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • How to List view web part to display document library for only users with access permission

    Hi
    I am trying to accomplish this requirement but I don't know if that is possible or how to get there.  Any suggestion or advice are helpful.
    On a site collection, I have several document libraries,  with each library have unique permission to a few user or SharePoint group.
    I want to create a web part page and make that the site home page.  On this web part page, I want to create a Content Search Web Part to list the content of the document library that the logged on users have permission to see. 
    Is this possible with CSWP or is there anything easier or if it is not possible at all,  please advise.
    Thanks
    Swanl

    Hi ,
    Based on your description, my understanding is that you want to create a Content Search Web Part to list the documents that the logged on users have access permission.
    It is feasible with CSWP, you can follow the below step:
    Edit Content Search Web Part->Change query-> Select a query: Items matching a content type (System); Restrict by app: Current site collection; Restrict by content type: Document.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]

  • External List: List View Web Part query never returns

    I am experiencing an usual issue in our development SharePoint 2013 environment. I have been troubleshooting it for a couple hours, so thought it is time to post a message here.
    I have created a number of external content types and lists on our site. I have validated that the lists display the expected data.
    However, when I add a page to our site, and add a list view web part to the page, and point the list view web part at the external list, I get unexpected behavior.  While I am editing the page, the web part displays the expected data. However, after
    I publish the page, when you browse to the page, all you get is the rotating green arrow gif image, and no data. It displays the image forever. If you then attempt to edit the page, in the editor, you can then see the expected data.
    Any thoughts on what might be causing this issue? I have tried switching out web parts, both to the Business Data List and the Content Query web part. The Content Query web part throws an exception if you attempt to point it at any of the external lists,
    which after some reading I discovered that this is a known issue with that web part.
    The Business Data list web part shows the expected data, but I have been unable to get paging/grouping working with that web part yet.
    Greg Pierson

    I have recreated this issue on a clean site collection. I have also discovered this issue only occurs with publishing pages, not site pages. next step is to try to reproduce it on another share point 2013 install.
    Greg Pierson

  • XSLT List View Web Part Error when Using Group By

    I have a Tasks List created a tasks list in SharePoint.  The Tasks (normal OOTB template) list works fine in the normal view, however, I have created an XSLT ListView Web Part that points to this tasks list.  When I set the web part to display
    a view with a "Group By" rule, it returns an error:
    "Attempted to use an object that has ceased to exist. (Exception from HRESULT:
    0x80030102 (STG_E_REVERTED))
    The list has just over 1000 items and the threshold is set to 5000, I have tried indexing the column that I am "grouping by" just in case and that has not worked.  
    Has anyone experienced this issue before?  If so, what steps can be done to display the XSLT List View Web Part properly?

    Thank you for the response.  I tried the above link and it didn't seem to solve the issue; in fact, when I clicked on Common Control Tasks there wasn't any Data View Tasks such Filter and Sort & Group.  
    Perhaps some more information would shed light on a solution. I created a list template including content of the task list in question. I  was able to display the new list in an XSLT List View Web part with grouping enabled.  However, I noticed that
    the "Related Content" column was completely empty (it was there, it just had no data in each row).  What is the source of this Related Content? I know it is a system column that appears when Workflows generate the item in the list but could it be the
    reason for the Web part being unable to display with groupings?

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • SharePoint 2010 list view web part not showing conditional formatting

    when I create conditional formatting in custom list is working fine & when it call through web part page (Data view web part) conditional formatting not showing. data is showing without conditional formatting.
    Dinuka M.

    When you use conditional formatting on some page it is writing inline CSS codes inside that page. thats why when you create a new page and add the same web part to that page, you must edit that page to apply conditional formatting to that
    web part.
    Best Regards, Mustafa Yılmaz MCITP, MCPD | www.mustafa-yilmaz.org | www.sharepointciyiz.biz
    When you say edit the page, do you mean edit it in SharePoint Designer, or in SharePoint itself. And is it a case of just editing, then saving the page and it will apply the conditional formatting, or is there a specific property you need to edit, and if so,
    what is it?

  • Missing views dropdown on list view web part.

    I asked this before, and it got moved to "admin" with no replies.  I really need to know this.  I think it may be appropriate for design and customization, because I think that's what the solution may require.  It doesn't appear to be an "admin" issue.
    Any help will be gratefully received.  I am very frustrated by this.  The  "View:" dropdown list on the right side of the list view web part for my document libraries is not available.  The truly weird thing is that in a few cases, it is there, but I can't tell any difference between those web parts or DLs and the ones without the views drop-down.  I have defined several public views for each document library. There are no "closed" web parts on the page (which was one suggestion I got).
    I can't figure out why the views menu sometimes appears and sometimes does not, when there appears to be no way to control it. Can anyone enlighten me or suggest how I can make it appear?  My users are threatening to demand a separate web part for each view (there are hundreds).  I may have trouble using SPD on the client's site.

    That works if the Web Part was Closed, but does not help if the user deleted the Web Part. 
    After some digging around in SharePoint Designer and in SharePoint itself, I have a solution for restoring the View dropdown after the out-of-the-box List View Web Part has been deleted.  This solution can be accomplished without SharePoint Designer if you are working with a library, but to clean out the views from a list, you will need SharePoint Designer.  I am doing this in MOSS 2007 SP1, but it should work for WSS 3.0 as well.
    For this example, I am using a document library called Public Documents and my View is allitems.aspx, but this should work for any list or library. 
    Here are the steps for bringing back the View dropdown:
    1.       Navigate to the list or library that is missing the View dropdown
    2.       Go to Site Actions > Edit Page > Add a Web Part .  In the Lists and Libraries section, check the box next to the Public Documents library and click the Add button.
    3.       Within the new Web Part, go to edit > Modify Shared Web Part and change the Toolbar Type to “Full Toolbar”.  Click the OK button.
    4.       Click the link to Exit Edit Mode and you should have the Full Toolbar for the list/library displayed, but it is still missing the View dropdown menu. 
    5.       Go to Settings > Create View .
    6.       Choose Standard View .
    7.       Name the view, check the “Make this the default view” box, select the columns to include, and click the OK button.
    8.       Voila, the View dropdown menu is back on the site.
    9.       To completely clean it up, for a list, open in SharePoint Designer and delete the allitems.aspx view from the Forms folder.  For a library, you can go to the Actions menu and select Open with Windows Explorer .  Open the Forms folder (you may need to show hidden files to see this folder) and delete the allitems.aspx view.  If you do not have access to SharePoint Designer and you are working in a list, you will need to delete the link on the Quick Launch and add again to point to your new view name.
    10.   If the View you deleted was the default for the list or library, it may remove the link from the Quick Launch.  It can be added again by going to View All Site Content , selecting the appropriate list or library, going into its Settings menu, and modifying the Title, description and navigation settings to show on the Quick Launch.

  • Event Receiver to get folder Names from List View Web Part

    Hi,
    We have a requirement i.e.
    On one of the page,there are some folders on the list view web part.
    Now through event receiver i should pick the folder names from list view web part and
    update the same in the list.
    If that names already exists in the list then we should leave without updating,if not we have to add folder name in the list.
    Please share your ideas regarding the same.
    Regards,
    Naga Sudheer M
    Thanks & Regards, Sudheer

    Hello,
    LVWP is just for displaying content of site so you need to associate your event receiver with actual list/library. You can create ItemAdded event receiver to check existing folder and create new if not existing. "sk2014" links are good to start.
    http://sharepoint.stackexchange.com/questions/59788/change-name-in-itemadding-event-receiver-or-create-a-new-item
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for