Posts

Showing posts from January, 2012

Can't edit EP page title

Image
If your having problems setting the title of you EP webpage when running Dynamics AX 2009 with a sharepoint 2010 and enterprise portal. It seems this is a known bug and the workaround is to edit the 'label' property of the web page in the AOT (Managed Content Item), and deploy the page. See Screenshot

EP problems with layout

To ensure that the same EP settings are used for creating site collections in different environments. Copy the below mentioned files from the machine where AX 2009 EP is already installed and place it under the same location on the target machine. File: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML\WEBTEMPAXSITEDEF.XML C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AxSearchResultsWssV3.aspx C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\web.config Folders and sub folders: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\AXSITEDEF C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates\AXSITEDEF C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ep The file "web.config" in the LAYOUTS folder will get overwritten, the other files and folder

Expressions in query ranges

When creating expressions with comparisons to strings you might have to surround the string with " " like in the example below. queryRange = strFmt('((%1 == \"%2\") || (%3 == \"%4\"))', fieldStr(ProjTable, Responsible), queryValue(element.getEPProjWebApp().EPProjUser().emplId()), fieldStr(ProjTable, ResponsibleFinancial), queryValue(element.getEPProjWebApp().EPProjUser().emplId())); It's important to use \" to achieve the correct behavior. Read more about ranges here