Virtual Lists
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Virtual Lists

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Stephen Walch
Guest





Posted: Mon Jan 03, 2005 6:00 pm    Post subject: Virtual Lists Reply with quote

Is it possible to provide a "Custom List Provider". That is, I want to
write the code for reading and writing Lists from my own data source, but I
want WSS to render the user interface as if it were a native List. Is this
possible?

Thanks!
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Tue Jan 04, 2005 9:02 am    Post subject: RE: Virtual Lists Reply with quote

Hi Stephen,

I just wanna know which "Native list" you are going to use at this
scenario. Or just create one web part which has the same appearance as the
native one? Thanks!

From my understanding to this requirement, you are going to develop one
connectable web part which can read/write (or modify, update, remove etc)
data from/to your own data source. This web part knows how to obtain the
data and will play as one data provider for another web part at this
scenario. And another web part just knows how to obtain the data and
display them at the page. Am I right? Correct me if any mistake. Thanks!

For this, I think several good articles will help you to develop the
connectable web parts. They introduces the detailed steps with further
analysis on the feature of the connectable web part.
Creating a Connectable Web Part
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/CreateConnectableWP.asp

A Developer's Introduction to Web Parts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_
ta/html/sharepoint_northwindwebparts.asp

Connecting Web Parts in SharePoint Portal Server 2003, Part 1 (3rd party
article)
http://www.intranetjournal.com/articles/200408/ij_08_16_04a.html

In addition, I'd suggest please have a look at the data view web part. At
Frontpage 2003, we can add the Data View Web part into the web part page
directly. Since the dataview web part directly renders the data from your
specified data source; so you can only need to develop one web part to
modify/update the data in the data source. As regards how to use the data
view web part, I list one sample steps below for you:
1. open one page of your SPS/WSS site at the Frontpage 2003
2. click somewhere at the page and then choose "Insert->DataBase->Data
view..."
3. the "Data view Details" panel will be shown at the rigth side of
Frontpage 2003
4. choose one data source according to your scenario. then the data will be
rendered at the page which you specified at the step 2.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
---
This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
Back to top
Stephen Walch
Guest





Posted: Tue Jan 04, 2005 3:12 pm    Post subject: Re: Virtual Lists Reply with quote

What I was hoping far was to be able to make data source into a List. I
know I can write my own web part, but I wanted to be able to use the
built-in WSS List viewing/editing facilities.

It looks like the closest think might be the Data View Web Part in Front
Page. I will take be look at it.

-Steve

"Wei-Dong XU [MSFT]" <v-wdxu@online.microsoft.com> wrote in message
news:lExNdng8EHA.3984@cpmsftngxa10.phx.gbl...
Quote:
Hi Stephen,

I just wanna know which "Native list" you are going to use at this
scenario. Or just create one web part which has the same appearance as the
native one? Thanks!

From my understanding to this requirement, you are going to develop one
connectable web part which can read/write (or modify, update, remove etc)
data from/to your own data source. This web part knows how to obtain the
data and will play as one data provider for another web part at this
scenario. And another web part just knows how to obtain the data and
display them at the page. Am I right? Correct me if any mistake. Thanks!

For this, I think several good articles will help you to develop the
connectable web parts. They introduces the detailed steps with further
analysis on the feature of the connectable web part.
Creating a Connectable Web Part
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/CreateConnectableWP.asp

A Developer's Introduction to Web Parts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_
ta/html/sharepoint_northwindwebparts.asp

Connecting Web Parts in SharePoint Portal Server 2003, Part 1 (3rd party
article)
http://www.intranetjournal.com/articles/200408/ij_08_16_04a.html

In addition, I'd suggest please have a look at the data view web part. At
Frontpage 2003, we can add the Data View Web part into the web part page
directly. Since the dataview web part directly renders the data from your
specified data source; so you can only need to develop one web part to
modify/update the data in the data source. As regards how to use the data
view web part, I list one sample steps below for you:
1. open one page of your SPS/WSS site at the Frontpage 2003
2. click somewhere at the page and then choose "Insert->DataBase->Data
view..."
3. the "Data view Details" panel will be shown at the rigth side of
Frontpage 2003
4. choose one data source according to your scenario. then the data will
be
rendered at the page which you specified at the step 2.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.
---
This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or
information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software
from
the Internet.
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Wed Jan 05, 2005 12:26 pm    Post subject: Re: Virtual Lists Reply with quote

Hi Stephen,

Thank you for correcting me!

The default web part provides the functionality to obtain the data from
other web parts. However, since there is no one public Microsoft
doc/specification introducing the detailed information ( for example, how
to use the custom list as the data consumer ), I'd suggest you'd better to
develop your own provider and consumer. This will be very clear for the
development and test.
*Furthermore, I have forwarded your requirement to Microsoft Wish.

For using the data view web part, please feel free to let me know if you
have any question.

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB