Welcome to MSDN Blogs Sign in | Join | Help

Integrating EP Web Parts to non-EP SharePoint sites

If you already have SharePoint sites ( not based on EP site templates) and if you would like to use some of the AX web parts in those sites, it's easily doable in Microsoft Dynamics AX 2009.

Here are the steps to do.


(1) Integrating EP web parts to other sites requires install EP on the SharePoint server. To do that run setup and select Role Centers and Enterprise Portal component and go through the setup wizard. ( Uncheck the Auto create site option) since you don’t need a new site.

(2) Then  you need to add a script manager to the master page (for example C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\default.master)of your site.
For example add
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
Just above the HTML tag ( Search for <HTML)

And add the below just inside the Form tag ( search for <form)
                <WebPartPages:SPWebPartManager id="m" runat="Server" />
   <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />

If you don’t have permission to change the master page, then you can create a user control that contains this script manager and create a SharePoint feature that adds this UserControl to our AdditionalPageHead delegate control. For example refer to http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.delegatecontrol.aspx

(3) Then Go to AXClient -> Administration->Setup->Internet -> Enterprise Portal and add the website and register the site with type “Web Parts only”. You also need to specify a company.

Once the script manager is added , EP is installed and the Site is registered in AX , then you can start using EP webparts on any SharePoint site.

For example, in the below screenshot, I am using AX web parts ( Cues and Unified worklist) in a wiki SharePoint site


Published Friday, April 03, 2009 6:50 PM by meysun

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Topics about Culture &raquo; Integrating EP Web Parts to non-EP SharePoint sites

# re: Integrating EP Web Parts to non-EP SharePoint sites

Thursday, August 13, 2009 6:52 PM by Maver

Mey, please more info on this. I followed the post and it doesn't work. I reinstalled MOSS with the BC account as the Web Appplication APP pool account and am further along.

Now, when I add a CUE, I get an error that says the site is not registerd in the applicaiton. Even though I did exactly what you posted.

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker