Wednesday, June 24, 2009

URLs to call OBI Reports and Dashboards

The need to call OBI Reports from other websites is a much useful and widely used feature in recent BI projects. This post will show you some basic URLs which can be used to call an Answers Request or Dashboard from a Portal page or website.

1. URL to call a dashboard

http://localhost:9704/analytics/saw.dll?Dashboard&PortalPath=/shared/Sample%20Sales/_portal/Test&nquser=Administrator&nqpassword=Administrator

The above URL is very simple and self-explanatory. Anyways Let me divide and explain each part

http://localhost:9704/analytics/saw.dll?Dashboard //the basic URL to access your default dashboard. Replace localhost with the exact web server if the Presentation Services is running on a different web server.

PortalPath=/shared/Sample%20Sales/_portal/Test // specifies the path of the dashboard. %20 denotes a single space character in 'Sample Sales' - the group folder. You can ignore this and simply use PortalPath=/shared/Sample Sales/_portal/Test

nquser=Administrator&nqpassword=Administrator // specifies the UserId and Password for an RPD user

No comments: