DNN, 6.0, setup, configuration, timer job, scheduled task, synchronization, SharePoint, SP, connector

R2i DotNetNuke Blog

Deployment and Setup of the DotNetNuke 6.0 SharePoint ConnectorJaina Baumgartner | Sep 01 2011 | 9 Comments

The DotNetNuke (DNN) 6.x SharePoint Connector is easy and flexible to configure and use.  In my previous article, DNN 6 and the SharePoint Connector, I discussed the business uses, pros, and cons of the Conector.  This blog provides a tutorial to utilize the SharePoint Connector effectively.  Your environment must include SharePoint 2007 and DNN 6.x Enterprise Edition.  The Connector provides a one-way communication to copy over documents from your SharePoint instance into your DNN instance.  The tutorial delves into the following three aspects of the SharePoint Connector setup:

1.       Timer Job Deployment in the SharePoint environment
2.       Configuration of SharePoint with DotNetNuke Integration
3.       Synchronization Setup
 
Deploying the Solution into SharePoint
The current version of the connector is created for SharePoint 2007, and thus, like any other SharePoint 2007 solution can be deployed via stsadm.  The solution is available for download from www.dotnetnuke.com, with your DNN 6.x Enterprise Edition install file.  It will be downloaded as a .wsp file, and is deployed as a timer job into SharePoint.  The following steps discuss the deployment:
  1.  Ensure that you are the administrator on the SharePoint web servers and a farm administrator within SharePoint.  You can determine if you are the farm administrator by navigating to your SharePoint central administration.  If you have access to the “Operations” and “Application Management” tabs in the central administration, you are a farm administrator.
  2. Open up the command prompt in your SharePoint web server. This must be run as administrator.
  3. Navigate to stsadm within the command prompt, regularly found at the following location: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin
  4. Add the solution with the following command: stsadm –o addsolution –filename {WSPFILENAME}
  5. Deploy the solution with the command:  stsadm –o deploysolution –name {WSPFILENAME} –url {SITEURL}
  6. Go to the central administration section of your SharePoint instance.
  7.  Click on the “Operations” tab.
  8.  Under “Global Configuration”, click on “Timer Job Definitions”.
  9.  Ensure that the “DotNetNuke Integration Job” exists in the defintions
timer job definitions 
 
Configuring SharePoint - DotNetNuke Integration
Once the timer job is deployed into SharePoint, the Connector must be setup to be aware of your DNN environment.  The steps below will guide you with this integration:
  1. In your DotNetNuke site, under the Host Page > Professional Features > SharePoint Connector, retrieve the SharePoint site and synchronization token settings.
  2. Click on the “Application Management” tab within your SharePoint Central Administration.
  3. Under “External Service Connections”, click on “DotNetNuke Connector”.
  4. In the DotNetNuke Connector section, follow the “Click here to configure your DotNetNuke connection” link.
  5. Enter the SharePoint Synchronization Site Address as the DotNetNuke Server Address and Synchronization Token settings copied from the DotNetNuke site.
  6. Additionally, enter a DotNetNuke  SuperUser username and password, and click Save.

Setting up the Synchronization

Now that the Connection between SharePoint and DNN is setup, under Settings, the Synchronization Schedule can be set hourly, daily, or weekly.  Additionally, email can be setup for errors encountered in the execution of the timer job.  A synchronization item in the context of the connector is one mapping of a SharePoint folder or view to a DNN folder.  The synchronization item can be setup as follows:
  1. SharePoint folders/views can be mapped to DotNetNuke folders by clicking on “New Synchronization Item”.
  2.  Select a SharePoint site collection within your farm.
  3. All of the Document Libraries will load.  Within the Document Libraries, select the appropriate View or Folder to copy over.
  4. Select a DotNetNuke portal.
  5.  All of the folders within that portal root will load.  Select the appropriate folder for the synchronization.
  6. If the “Propagate deletions” checkbox is checked, all the documents deleted in SharePoint will also be deleted within DNN.

The timer job runs as soon as it is enabled.  Thus, to run it manually, the job can be disabled and re-enabled under Operations > Timer Job Definitions in the SharePoint environment.  Once the job is run, the files from SharePoint will be available within the Admin > File Manager in the appropriate portal within your DNN instance.  Events from the synchronization can be found under Host > SharePoint Connector in DNN, as well as within each synchronization item in SharePoint.  Success and Failures along with the error messages are stored in both environments.

synchronization item log

Conclusion
This tutorial has provided a basic setup of the synchronization between DNN and SharePoint.  The flexibility of the Connector enables various advanced settings.  For example, the views in SharePoint can be applied to restrict documents copied over to DNN.  On the other hand, DNN settings, such as file extensions under Host Settings, can be used to limit the synchronization from DNN’s perspective.  As the files are copied over into DNN, they can be placed on any page as a link or via the DNN’s new Document Library. 
 
The SharePoint Connector is a first ever attempt at DNN and SharePoint integration.  It provides a variety of features and has a number of limitations.  My previous blog (link to blog) discusses the features, pros and cons of the SharePoint Connector in more detail.

 

Comments

# Portable Multimedia Player | Wednesday, February 15, 2012 4:06 AM
Thank you for the excellent article 。 video glasses for iphone
My husband and I were very impressed with all the issues that she addressed. They will be a big help to us, not to

mention to the many families that are now and in the years ahead that will be caring for their parents and/or aging family members! Great job, Kathryn! It's a "keeper"!
Most Sincerely, Mr & Mrs Kloth
# Ramos W6HD | Friday, February 17, 2012 3:19 AM
Some of the points you have raised will assist me greatly. I like the way you have structured your site, Teclast A15
it is super and very easy to follow. I have bookmarked you and will be back regularly.
# boardaaa | Thursday, February 23, 2012 1:52 AM
Your blog is so beautiful and natural all are like your blog everyone appreciate your blog. Whenever We will see your blog every time we get something new about your blog This is the very informative content. I am very appreciate to your site who provide us this
2.5mm av cable

informative resource thank for sharing us this information.
# Autoboss V30 Mini Printer | Friday, March 09, 2012 12:47 AM
Autocom CDP pro es una herramientas de diagnóstico de camión.Es en el desarrollo de análisis y equipos de diagnóstico de fallo para el sistema electrónico de vehículos de motor.Connecteur OBD2
Diagnostic automobile OBD2
Chip-Tuning d’ECU
# jeremyt43 | Thursday, March 15, 2012 11:35 AM
Today I have bought DotNetNuke 6.0 SharePoint Connector so this post is really interesting and useful for me. I have tried to work with this program but I have some problems launching it. Now I have understood my problem and I hope that the second time will be better. Thanks a lot for the great advices about this program!
Jeremy T. from zoloft online website
# sun | Wednesday, March 21, 2012 3:39 AM
It is nice that you posted something like this USB Digital TV Tuner and I am quite lucky to read it. Thanks for posting this!
# DGSFH | Thursday, March 22, 2012 5:05 AM
Success and Failures along with the error messages are stored in both environments. WRD018C4 Sensor
# james lee | Tuesday, March 27, 2012 1:58 PM
There is so much that you can get from this setup. The tools that you offer for this is so good. The options are endless with using it. You will not be disappointed at all with it. Pipes
# coachshoes | Thursday, April 19, 2012 5:37 AM
Pakistani government Coach Factory Outlet Online of households were struggling to remain Michael Kors Outlet If you are interested to have a Coach Outlet Online need.We like being involved in the Chanel Outlet line is the Highrise. Juicy Couture Outlet world seem to be bright again Coach Factory Outlet would not take away the Coach Outlet but in high quality make catchy Coach Purses Outlet Online I was sleeping, Coach handbags Outlet should be something to Louis Vuitton Outlet as domestic violence. Gucci Shoes UK It was the first time the country Hermes Handbags Outlet package is all rugged Coach Factory Online would have to cut domestic spending Coach Factory and raised new questions only!

Name (required)

Email (required)

Website

Enter the code shown above:

 
Topic not found! Create this topic by clicking the edit link provided above.
 
 

Most Discussed

 

Subscribe to our blog

 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share