Search the web
Sign In
New User? Sign Up
sitecore
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Sitecore 6 - How to integrate DataProvider   Message List  
Reply | Forward Message #3311 of 3315 |
I have built the CMS using Sitecore. I now need to access a webservice and
populate Sitecore with that.

To do this I am planning on implementing the DataProvider class which will
interact with the Webservice and provide content for Sitecore such that it can
be reviewed and published.

The documentation discusses being able to 'chain' together multiple
DataProviders - however if I do this as per the documentation, only the last
DataProvider is used. I am expecting an amalgamation of the two to occur.

Under the Master database section in the web.config file I have 2 data providers
as follows:

<dataProviders hint="list:AddDataProvider">
<dataProvider ref="dataProviders/main" param1="$(id)">
<prefetch hint="raw:AddPrefetch">
<sc.include file="/App_Config/Prefetch/Common.config" />
<sc.include file="/App_Config/Prefetch/Master.config" />
</prefetch>
</dataProvider>
<dataProvider ref="dataProviders/webserviceprovider"/>
</dataProviders>

Is this the correct way to chain data providers ?




Mon Apr 20, 2009 5:59 am

manga0
Offline Offline
Send Email Send Email

Forward
Message #3311 of 3315 |
Expand Messages Author Sort by Date

I have built the CMS using Sitecore. I now need to access a webservice and populate Sitecore with that. To do this I am planning on implementing the...
manga0
Offline Send Email
Apr 20, 2009
1:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help