Welcome to MSDN Blogs Sign in | Join | Help

Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

In my previous post I showed how to create and deploy report. At that time I just manually browsed the SSRS website to find the report.

However, the typical way a user will launch a report is from the AX client (or from the AX Enterprise Portal web site)

In this example, I’ll show how to create a menu item that launches the report so that users can easily get to the report.

 

Create a new Menu Item

Launch Dynamics AX 2009 client

image

Open the AOT

image

In the AOT, expand the Menu Items node

right-click on Output and select New Menu Item

You’ll see a new menu item with a default name (called “MenuItem1” in this example)

Right-click on the new menu item and select Properties

image

The Properties window for that menu item will appear

image

Change the Name field to “DemoCustomersReport”

image

Select the Label field and click the ellipsis button

image

The Label Editor dialog will launch

image

(this step assumes you already created a label file)

Select the Setup tab

And pick which label file to use (in this case I already created one called “ABC”)

image

Go back to the Label tab

Click the New Icon

image

A new row will appear in the list

In the Label column enter “Demo Customers Report”

Click the Save icon

Click Paste label

image

The dialog will close and you’ll see the label has now been set in the properties window

image

Select the Object Type field

Click the drop-down and select SQLReportLibraryReport

image

Select the Object field

Click the drop-down and select “DemoReportsLibrary.DemoReportCustomers”

image

Close the properties dialog

and click the Save icon in the AOT

image

image

Collapse the Menu Items node

image

 

Now show the menu item in the UI

Expand the Menus node

image

Expand the AOT > Menus > Invent

Right-click on the Reports node and select New Menu Item

image

A new menu item will appear in the reports node. It will receive a default name “Menu Item” in this example

image

Right-click on it and select Properties

image

The Properties window will appear

image

Change the MenuItemType field to Output

image

Change the MenuItemName field to “DemoCustomersReport”

image

Close the Properties window

Click the Save Icon to save all the changes in the AOT

And then close the AOT

image

 

Try it out

Restart the AX client

image

Go to the Inventory Management module

image

The new menu is visible

image

Click it and the report launches

(in this example, I haven’t configured everything correctly and instead of showing “Demo Customers Report” it shows “@ABC1” – I’ll correct this in the post later)

image

image

Published Sunday, October 26, 2008 11:37 AM by saveenr

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

# infoblog » Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

Thanks for the tips. I'm getting started with SSRS and AX

Sunday, November 02, 2008 10:08 AM by Matt Moore

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

Thank you for this post. It clarifies a very underdocumented section of AX 2009. I set up the Reporting Server and added the menu item for the report. I can browse to report fine using IE on the server but I get the following error while trying to launch the report from the AX Client.

Cannot read information from the report server. Is the report manager URL correct?

Is there a spot to configure to Report Server URL in the AOT?

Wednesday, November 19, 2008 2:15 PM by Mark S.

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

You can configure the locations - but they are not shown in the AOT (AFAIK)

- Start the Dynamics AX 2009 Client

- From the "Microsoft Dynamics AX" menu, select Tools > Business Intelligence (BI) tools > Reporting Servers

- The "Reporting Servers" dialog will launch

- In the "Overview" and "General" tabs you can configure the URLs

Here is what it shows in the General tab of my system:

Server name

"ISOTOPEX"

Description

"Reporting Server"

Web service URL

"http://isotopex:81/reportserver"

Report Manager URL

"http://isotopex:81/reports"

Wednesday, November 19, 2008 11:38 PM by saveenr

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

I want to Launching an SSRS report from the Dynamics AX client UI in Microsoft Dyanamics AX 4.0..

Can you help me ??

How to Create MEnu ITem For SSRS Report in MICrosoft Dynamics AX 4.0?

Thursday, February 05, 2009 2:13 AM by Janak

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

Hi

I have created a SSRS report and called from Dynamics AX Output MenuItem. That works fine.

To create SSRS report i used SQL Server Business Intelligence Dev Studio

tool. I have Company ID as one of the (Hidden) parameters in the report and

used in data query too (as @compayid)

When I call from Dynamics AX menu, How do I pass the current Company i.e., curExt()

(CompanyId) where i'm in?

I would appreciate if you help me on this.

Thanks

Jaffar

Friday, March 13, 2009 10:50 AM by Jaffar

# re: Dynamics AX 2009: Launching an SSRS report from the Dynamics AX client UI

HI,

I did the same thing and am able to see the SSRS reports with the admin id however it is not coming up with other ids.

I have added the user ids in DB Permissions for reporting services also.

Am I missing something?

Please help.

Wednesday, July 08, 2009 7:47 PM by Saurabh

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker