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

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

How to create a webpart that links to another sharepoint server?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi guys,

Im currently an intern at a company and i want to edit their wiki eviroment made in sharepoint. I can edit all I want, but now I want to add a list located on their company section.

To clarify: their wiki is located at //company//wikipedia and their department is located at //company//departments//my departpent

Now I linked a picture to the wiki wich i stored on their company sharepoint site, but now i want to show a webpart that i have on there on the wiki page.

Let's say its a list of assignements and i want it to show on the wiki but with a real time update, i want to be able to press new assignment on both the department and wiki side to update the list. '

Now im pretty new at all of this but i was hoping I could use the code editor to just copy and paste a standard list webpart and change the url to that of the department.

I believe we have SP 2007, i hope you guys can help me with this!

Sorry if im vague, ill be glad to clarify :)

View Complete Post

More Related Resource Links

how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..



how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

for e.g..

i create a webpage in vs 2010 which allows users to create their account by specifying username and password..and make it a webpart and after that for that user a subsite should be created under sharepoint 2010 top level site.....how could i achieve that..

Create a Site template with subsites in Sharepoint Server 2010

Hi, I'm with my first SharePoint project, and we are using server 2010 as a Document Management system. The thing is our company has about 300 customers, and we have to create 300 site collections, 1 per customer.  For each site collection, I use the blank site template, and it's very simple page, as I just need a document library in the home page, and then I need to create a subsite called "cases" and the inside profiles, the users create a document library for each case. For subsite I mean, I create a new site and I choose the option to share the top menu, so basically the site has 2 tabs. So basically what I need is a template that has 2 tabs, Home and Cases. Home with a document library in home and Cases empty. Is there a simple way to achieve this? I guess maybe I have to edit some XML files to create a Site Template. If this is the case, can someone point me to the right documentation. Second, I need to create a Visual Basic project so that the final user has a form, and he just inputs the Customer Name and the code must automatically create a new site with the template I metioned before. I guess that once I have the template this won't be very hard to achieve, as I have seen this SPSite class. The question is, can I have the template with the 2 tabs, o maybe I have to use 2 templates, and write code to create the home site and the Cases Subsite.. Ple

Problem create a web application on SharePoint 2007 (Project Server 2007)

I installed a Project Server 2007 in a 3 server structure (all Win 2003 sp2; one for App server hosting Central Admin, Project Server service & Search service; one for web server; one for database server).  They are only in the same domain and I use the same network account for the installation as well as the WSS service account.  The same network are local admin for those 3 servers. All installation & patches seem ok (at least I don't get error messages) until I attempt to create my first Web Application.  After I filled out the web appliction and try to click OK, the page does not change and i saw the java error at the right bottom corner from my IE browser (version 6). The message is .... Line: 1686 Char: 1 Error: 'WebForm_PostBackOptions' is undefined Code: 0 URL: http://myservername:28804/_admin/extendvs.aspx On my SP log, below are the portion of the log when the error happen. 09/09/2010 12:28:29  1  INF        Entering function UserInterface.ShowCentralAdmin 09/09/2010 12:28:29  1  INF          The show central admin command has been chosen 09/09/2010 12:28:29  1  INF          Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\CentralAdministrati

Create Visual Studio Workflow in a remote Sharepoint server

Hi all, I have my sharepoint server in United States. I working in Europe. I want to use Visual Studio 2008 in my PC to create workflows in the remote server, but when I try to create a Sharepoint 2007 Sequential Workflow Project in VS2008 it gives me an error saying that I don't have Sharepoint installed in my PC. Is not possible to create workflows in a remote server? I need to have local Sharepoint? Daniel 

SharePoint Server 2010 - Create Meeting Workspace from Outlook

Does the feature to creat a meeting workspace from Outlook's calendar exist in SharePoint Server 2010?

Error calling a WebRequest.Create() from within a Sharepoint webpart




I need to fetch data from a 3rd party URL (via a HTTP API call; different domain from where Sharepoint is hosted) to display inside a webpart. 

When I try to preview the webpart I get the following error:

Request for the permission of type 'System.Net.WebPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I've also added the following to my web.config. Tried with trust levels as WSS_Medium and Full with no avail.

Any ideas? The part of the code without the webrequest executes well.

Report viewer webpart in sharepoint 2010 foundation with Reporting server in native mode, possible?



We have a product on sharepoint 2010 whose major feature is with the reporting services, we are checking to see if our product can be deployed in a minimum environment of sharepoint 2010 foundation.
we have a minimal test environment with the following :

windows server 2008 R2
SQL Server Express Advanced
Reporting services configured in Native Mode
Sharepoint 2010 Foundation.

I would like to know if we can enable report viewer webpart on sharepoint foundation 2010 with the reporting services in native mode. our plan is that even if the reporting services are not in sharepoint integrated mode, we are thinking of using web services to get XML data and using the XML data in report builder 3.0 to generate reports? will the idea work in this environment? if so can anyone let us know how to get the report viewer web parts in this environment?

Thanks for any help,

- Asif

WSRP Consumer Webpart in Sharepoint Server 2010


Hi ,

Do we have a WSRP Consumer Webpart in Sharepoint Server 2010 ? (i am aware it was available on MOSS).

I need to consume a WSRP web part (created on an external portal) in Sharepoint Server 2010.Would i need to create a custom wrapper for it in sharepoint ?

Please be specific in your response as i cant find appropriate content on the net.

Even better if you can provide references.


Sharat Menon

Sharat Menon Sharepoint Development

SharePoint Link list: After moving to prod, links still point to dev server


Hi all,

I have to move my dev site at http://localhost/sites/dev/ to the live environment at http://localhost/sites/live/.

On Dev server I have a lot of Link Lists with links pointing within the site.

******* Even if I enter a relative URL in Link lists, they are automatically converted to absolute URLs. I.e. /Lists/Overview will automatically be converted to http://localhost/sites/dev/Lists/Overview. ************

Now when I save site as template and move to to http://localhost/sites/live, the links in link lists still point to the dev server URLs (e.g. http://localhost/sites/dev/some page.aspx).

I read somewhere that saving site as site template and then moving to live server will automatically change links. This obviously doesn't seem to work for me.

Any help will be appreciated on how to migrate so that all links point to live site.

Thanks in advance.

Connestion string create any database server

This links important to how to create connection string to any data base sever.

Accessing SharePoint 2010 Data with Server-Side APIs

Accessing SharePoint data in server-side solutions is one of the most common tasks that you will perform as a SharePoint developer. SharePoint 2010 provides powerful server-side APIs that enable you to retrieve, add, edit, and delete SharePoint data programmatically. SharePoint 2010 also includes the new LINQ to SharePoint technology that enables you to work with SharePoint data efficiently and easily.

Configuring User Profiles in SharePoint Server 2010

Note: I've added the necessary links relating to SharePoint Server 2010 prerequisites, along with instructions for configuring the user profile synchronization service, at the end of this

Office Services: Merging Word Documents on the Server Side with SharePoint 2010


Office 2010 and SharePoint 2010 include a new set of components called Application Services. These put a rich set of tools in a developer's bag for Office automation. We'll show you how to use Office OpenXML, Word Automation Services and SharePoint to build a simple application that merges separate status reports into a single document.

Manvir Singh, Ankush Bhatia

MSDN Magazine July 2010

Gathering MOSS: New Dev-Centric Features In Office SharePoint Server Keep Your Apps Rolling


Microsoft Office SharePoint Server (MOSS) 2007 provides great portal and search features and much more, and Ted Pattison puts them to good use here.

Ted Pattison

MSDN Magazine August 2006

Reporting Services: Deliver SQL Server Reports To SharePoint To Enhance Team Collaboration


The solution covered here includes a custom SharePoint Web service that accepts SQL Server-generated report files and, through the WSS object model, stores the file in the appropriate library for enhanced collaboration possibilities.

Ed Hild

MSDN Magazine March 2006

Metadata: Create a Database Schema Repository with Meta Data Services in SQL Server 2000


SQL Server 2000 Meta Data Services is a repository technology that stores and manages metadata for SQL Server. Instead of building database schemas over and over, Meta Data Services allows you to freeze an entire schema for use in other projects. You can also use these schemas for training, testing, or debugging. In this article, the authors will review the various components of Meta Data Services and show how it can be programmed using a Visual Basic client, XML, and XSLT. They will also show you how to manage and manipulate your metadata by generating a simple database schema using a SQL Server repository.

Alok Mehta and Ricardo Rodriguez

MSDN Magazine May 2003

Go Mobile: Create Compact, Robust Mobile Apps with SQL Server CE 2.0 and the .NET Compact Framework


Developers have myriad options when it comes to creating solutions for mobile devices. One of the greatest challenges facing mobile developers is finding a compact yet robust local storage solution. SQL Server CE 2.0 promises to deliver on both fronts. This new release represents a tremendous leap in terms of features and performance over its predecessor. This article will review some of the platform and tools choices developers have today. The authors will compare and contrast the significant new features in SQL Server CE 2.0 with the previous release. Following that, they will build a sample app for illustration.

Mark Brown and David Meunier

MSDN Magazine January 2003

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