AI OnAI Off
Hi,
Here you can find great tutorial about implementing ContentPrivders:
http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2014/11/content-providers-101--part-i-introduction-initialization-ui--identity-mapping/
http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2014/11/content-providers-101--part-ii-from-read-only-to-writable/
http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2014/11/content-providers-101--part-iii-finishing-touches/
Greeting EPi-gurus!
I'm trying to figure out how to get Content Provider to work.
I have to different EPi-sites, with two different databases and I have access to both of them.Let's differentiate the two sites by giving them the nicknames "Provider" and "Receiver".
The Provider has got a few pages based on the Page "ContactPage".I want to be able to read these pages in the Receiver by using ContentProvider.
All of the instructions I found on the web are either outdated and only work CMS Versions below 7.
I understand the following:
1. I have to create the same PageType in the Receiver site as in the Provider site.
2. I have to enter the contentProvider in the webconfig for Receiver with an entry point.
Something like this...
3. Add a new connectionstring to access the Provider Database.
4. Create a class which inherits ContentProvider which reads the data from the Providers Database and maps it correctly according to the PageType created in step 1.
I have no idea on how to to the last step and can't find any instructions on this matter.
Please help or point me in the right direction / a link to a guide on how to approach the subject.
Regards,
Chris