How to import an ssrs report using .axpp file ~ Step by Step Guide

How to import an ssrs report using .axpp file ~ Step by Step Guide

Recently I got a scenerio, in which I was given an .axpp file which contained ssrs report that needed to be imported in to the project which I was working on.

So, here is how I did that.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

You already know how to create a new model. If not, please refer to the new model creation article. I have already created a new model with name AbbasCustomModel

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Go the imported model. And you must copy all the objects in this model to your model one by one.?

No alt text provided for this image

First I copied the classes from BBJ Model to AbbasCustomModel.

No alt text provided for this image
No alt text provided for this image

Then I copied the Report from BBJ Model to AbbasCustomModel.

No alt text provided for this image
No alt text provided for this image

Lastly I copied the Table from BBJ Model to AbbasCustomModel

No alt text provided for this image
No alt text provided for this image

After copying all the objects from BBJ model to my model, I can delete that model BBJ now as it is no longer required.

No alt text provided for this image

Now go to visual studio > Open Application Explorer > Type BBJ in the search bar as it will all the objects with that name > Add all those objects to your project by simply drag and drop.?

No alt text provided for this image

Now it’s time to create a menu extension to which we will add a menu item.

I have already created an extension of Menu Item which I added to the project.

No alt text provided for this image

Create a new menu item of Output type.

No alt text provided for this image
No alt text provided for this image

Set the properties of this action item. i.e. Object type, Object?and Label.

No alt text provided for this image

Open Menu item extension and Add menu item to the it by simply drag and drop.

No alt text provided for this image

Open Report Server Configuration Manager and connect to the report server.

No alt text provided for this image
No alt text provided for this image

All Sql related services specially SSRS service should be in running condition.

No alt text provided for this image

Last step to deploy your report to SSRS. Right Click on project > Click on Deploy Report to deploy your report on SSRS.

No alt text provided for this image

Set your menu item as startup object.?

No alt text provided for this image

Rebuild the project and run the project.

You will see below parameter screen.

Enter the parameters and click ok.??

No alt text provided for this image

Here is the report.?

No alt text provided for this image

You can also open the report by clicking the menu item.

Imp Note: ?You may need to change the Company to USRT from DAT.

If you found this article helpful, give it a thumbs up.


要查看或添加评论,请登录

Muhammad Abbas的更多文章

社区洞察

其他会员也浏览了