Hi,
I have a reporting environement where the same report must be sent to a long ever changing list of recipients with different parameters values for each recipient.
My idea is to use data driven subscriptions and put back the administrative responsibility of managing this where it belongs, the business.
To achieve this goal, a one stop shopping user friendly management interface should be provided.
The list of features is as follow;
- pick list for existing reports
- auto-discovery of parameters and their values
- List of existing subscriptions with add/edit /delete buttons
- management of tables content from this interface
- creation of related data driven subscriptions from this interface
Right now, I think I can tackle some of these features piece by piece and build a library of scripts till the day all pieces can fall together.
The immediate question I have is
Can I script the creation of a data driven subscription and how?
I saw one can script a regular subscription but not a data driven one.
Can I use WS to do this? Any example, guidance or thought?
Thanks,
Philippe
SSRS exposes its features to the outside world as a set of Web Service APIs. Custom applications can call to these APIs. In fact, all the requirements you mentioned are available in the Report Manager which behind the scenes calls down to the RS Web service. The CreateDataDrivenSubscription API allows you to create a data-driven expression. See the documention for an example.
No comments:
Post a Comment