Kontakt

Kontakt

Oder schreiben Sie eine Mail an felix@infomatik.eu

SSRSMGMT

SSRSMGMT

Ein Unternehmen möchte seinen Mitarbeitern täglich Berichte zukommen lassen. Diese Berichte wurden mithilfe der Microsoft SQL Server Reporting Services erstellt. Berichte können dort in Form von Abonnements per Mails an Benutzer versendet werden. Klingt gut? Ist es auch. Aber wer erstellt diese Abonnements, oder wer aktualisiert diese? Es müssen Abonnements für ca. 200 Mitarbeiter und 10 Berichte aktuell gehalten werden. Für soetwas gibt es Praktikanten?

Oder: SSRSMGMT.exe (SQL Server Reporting Services Management Tool)

Synchronisieren Sie Berichts-Abonemments mit ihrem Active Directory.

Über eine Konfigurationsdatei bestimmen Sie welche welche Berichte an welche Benutzer verschickt werden sollen. Es wird eine Rollenbasierte Authorisierung verwendet, um bestimmte Berichte nur an bestimmte Gruppen zu versenden.

Die Konfiguration eines Berichts mit dem Namen “Tagesbericht” für alle Benutzer der Gruppe “Mitarbeiter” könnte wie folgt aussehen.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# configuration file for ssrsmgmt

# specifiy endpoint of sql server reporting services
[ssrs]
endpoint = "https://myreports/ReportServer"

# if users should be retrieved using active directory
# uncomment this, and provide a searchroot (e.g. LDAP://MyDomain)

[active-directory-users]
search-root = "LDAP://my.domain"
#username = "MY\\Administrator"
#password = "P4$$w0rt"

# provide a list of reports you want to keep in sync with users
# notice the double brackets like following: [[reports.name-of-report]]
# path is used to identify the report in the ssrs hierarchy

# recurrency can be specified using following syntax
# daily@10:15 for daily
# weekly@mo@10:15 for every monday at 10:15 (possible days are: mo, tu, we, th, fr, sa, su)

# subject is used as email subject line

# all other nodes will be handled as custom parameters of the given report
# values can contain following wildcards
#   {user} = login name of user
#   {name} = name of user
#   {mail} = mail of user

[[reports.weekly-summary]]
path = "/reports/weekly"
recurrency = "weekly@mo@8:00"
subject = "Der wöchentliche Bericht für ..."

[[reports.daily]]
path = "/reports/daily"
recurrency = "daily@8:00"
subject = "Der tägliche Bericht für ..."
required-role = "Mitarbeiter"
CustomParameter1 = "Für Benutzer {name}"

Anschließend muss dass Programm ausgeführt werden und fertig.

Brauchen Sie auch Tools um ihre Arbeitsabläufe zu optimieren?

Schreiben Sie mir eine Nachricht!

Technologien
SQL Server Reporting Tools
C#
.NET