.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Display content of List from another site.

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 
Hi,

How to display the context of a list from one sharepoint site to another?

I am working on share point 2010.

I have created a list called employee in main site.
I have created a sub site of main site called HR.
Now I want to show list of employee from main site.

How to do this?

G. Goyal


View Complete Post


More Related Resource Links

Display Customize list having All Site Content Layout

  

Hi,

I am having Sharepoint 2010 RTM Trial on Windows server 2008 SP2. Also I am having Team Site.

I have noticed that All Site Content Page and a List Page (click on "Lists" link in Navigation Panel) are the same but Lists Page have some Query string attached to the Actual Page Link and therefore, only lists appears on Lists Page.

Can I display my custom Lists (List of my custom Lists) on a Custom Page through Webpart ? Or there is any alternate or workaround for that ? 

Thanks.


Using a List View web part to display documents from multiple document libraries from different site

  
Hi there, I am trying to have one web part display documents (or list items) from different document libraries (or different lists) from different site collections. I have achieved this under a single site collection using Data View Web Part (using SPD). I have also achieved displaying a single document library (or a list) from a different site collection by using List View Web Part. but I am not sure how to get my head around displaying documents or list items from different document libraries or lists across site collections. I have thought of using SPSiteDataQuery or ListViewByQuery, but they all seem to focus one site collection at a time. If any of you have done this before, please share your best practice on this one with me. Much appreciated. Clark

Duplicate Fields during list creation from content types and site columns

  

I am trying to create a List in Sharepoint 2010 using Site Columns and Content Types. It results in creating duplicate fields in the list for the Site Columns used. Here is the details description of what I was doing.

I have created two site columns 

 

<Field Type="Number" DisplayName="Start Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Group="QMS" ID="{A3F2D108-11B5-4B49-9633-338D27227E12}"
Name="StartCoordinate" Overwrite="TRUE" />

<Field Type="Number" DisplayName="End Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Group="QMS" ID="{06B927BB-C354-4A0A-AE88-9C14E55EAB27}"
Name="EndCoordinate" Overwrite="TRUE" />

Then added these to a new content type I

display sharepoint list Data into content Query Web Part

  

Hi i have content query web part. now i want to show the sharepoint list data into my content query part

using CQWP setting, i am able to get only one column data but not all.

pls let me know how can i get all list data in different style format 


Site content types Vs List content types

  

Hello all,

While creating my first SP site using visual studio 2010; following the best practices guidelines from Microsoft I created a content type for each data entity and of course a site column for every and each field in those entities -can't describe how tedious this was-. Anyway, when I started creating List definitions based on those content types I noticed that the CAML xml code is literally copied to the schema.xml rather than referencing it. If I made any changes to the original content type it's not reflected in those lists. On the other hand when I make changes to the list content type -in contrast to the site content type- things are reflected on the site properly. Why the redundancy?

I mean I even tried to use <ContentTypeRef> in the schema.xml to reference my site content type and get rid of the redundancy with no luck!!! Content Types and even fields must be defined int the schema.xml with no direct relation to the site content type already defined in the project!! Fields must be defined in the <fields> element in schema.xml and referenced in the <contentType> element of schema.xml too, regardless that they're already defined at the site level!!

So, if I have to define content types/fields at the level of the list, and visual studio can't automatically track changes made to site content types, why bot

Incremental Content Deployment is not removing the deleted list items from target site

  

Hi,

I am trying to do an incremental content deployment. The incremental content deployment is not removing the deleted items from target site. I checked the export log. But I did not anything there. 

Please give me some pointers. Also in case of deletion how incremental content push works. I mean, one user deletes an item and now it is inside his/her recycle bin, now how incremental content deployment put this in export log.

Thanks!

Prithwijit 


How do I display just a list of content from BDC - No Filter?

  

Hi,

All I want to do is set up a BDC list to show all data from query (same way as a basic list). I don't want it filtered. I only want a select *. 

Could someone just wip up the simplest example XML for this?

Thanks.

John. 


Site Analytics - how get specific list item id to display in Top Page Results

  
We have created a new Site to store Knowledgebase Articles. The articles are being added as items in the list. We now want to find which are the most viewed items. When I look at Site Analytics, I find several pages being returned including what I believe are the Items viewed. When I look at the details under the graph or when exported to Excel, this the is extent of the Page URL (/lists/kbarticles/dispform.aspx?...). There are several occurances of this same URl which I expect are separate items that have been viewed. How do I get the ID of the item or other information, so I can track it to the specific Knowledgebase Article? Additional information: I can click on the URl and it will take me to the unique Knowledgebase Article. 
Dave

WPF: Flexible Content Display With Flow Documents

  

Markus Egger discusses all the flexibility and power of flow documents in Windows Presentation Foundation

Markus Egger

MSDN Magazine August 2007


How to add custom list entries to mysite's calendar in Sharepoint 2007 site?

  
Hi,

I would like to know below things

(1) How to create MySite for one specific member with other or administrator's access?

(2) Scenario : Administrator have created one SP2007 site. now Administrator have created one calendar (Sample calendar). Administrator have added some entries in calendar. now one user entered in portal site ansd view the calendar and he click on MySite menu. so this sample calendar entries should enter in that user's mysite calendar. How this can be achieved?

Thanks in advance.
Regards, Praful Udade

How to Customize the Add Comment 'Items on this list require content approval...' notification in

  

WSS 3.0:

If content approval is turned on, the Add Comment section displays a fairly ugly notification. Is there any way I can customize that section through e.g. CSS or SPDesigner?

I'd like to change at least the text, and preferably the yellow exclamation image, and also the background if possible.


Is it possible to filter KPI list in order to display only relevant KPIs

  

I  have created a KPI list and I want to show sections of the list on various parts of my site, however, I dont seem to be able to filter the list. Has anyone tried this and had any success?


Display tooltip for Sharepoint list items

  

Hi All,

I am using MOSS 2007 and my requirement is to show tooltip when I hover the mouse over the title column for each item. I am planning on storing the tooltip string for each listitem in a seperate column. Is there a way to do it. I am sure there is. Any help is greatly appreciated.

Thanks in advance!

 

 

 


Sharepoint list group by column data ,display in webcontrol like panel or label

  

I  have a sharepoint list[Managers] with groupby sector column. like below

1)Sector1
a)Dep1
b)Dep2

2)Sector2
a)Dep3

3)Sector3
a)Dep4
b)Dep4
c)Dep4

Each Sector group by column data i want to display in label or panel control.

How to do that ? how to write the logic?

REgards
mansoor

 


Regards, Mansoor

Issue with List Definition of same base content type and deployed via same feature

  

I am trying to deploy two custom list definitions using only one single feature.  Below are the details of my issue.

  • Two custom list definitions
  • Each custom list definition has its own custom content type
  • Each custom content type inherits from the base content type Picture (Type = 109)
  • The custom list definitions are grouped together under one single feature
  • The custom content types are grouped together under a seperate single feature

When I deploy my solution in this configuration, the second list definition gets the first custom content type applied to it and the list schema from the first list definition is also applied to the second list definition.

What makes this more interesting, when I seperate both of the list definitions under two seperate features it all works fine.  Custom content types and list schemas get applied correctly.

Can anyone tell me why I can not deploy both list definitions under one single feature?

If you need me to post any of the origional code or XML to this post please let me know.

 

Craig


workflows when saving site as template with content

  
I have have a MOSS 2007 site on a production server with custom workflows.  I saved the site as a template with content and used the template to create a sibling site.  I am testing it and the workflows aren't working.  Is this to be expected? I have read that workflow don't work when saving between development and production, but I can't find anything that addresses both sites being on production. Will I need to recreate the custom workflows by hand? 

how to hide/display controls in NewForm.aspx based on dropdown value in SharePoint list

  

Hi,

I have 1 dropdown in my sharepoint list with other columns. If dropdown value equal to 'xyz' i need to display some other controls, otherwise these controls should be hidden.

I know we can achieve this with javascript. If any one can provide code or sample then it will be appreciated. or is there any other alternative methods to do this ........


Thanks & Regards, Neerubee
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend