SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Report Descriptions Query


SSRS Report Descriptions Query

Author
Message
darrenkelly
darrenkelly
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1286 Visits: 595
Hi
In SSRS 2016 is there a way to add a description to the report before it gets deployed so that when the report is deployed the new/updated description is deployed with it.

We keep having to go to the Report Server and add in and change the descriptions for each report across all our environments, which is just daft.

Thanks



Sue_H
Sue_H
SSC Guru
SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)

Group: General Forum Members
Points: 62743 Visits: 13325
darrenkelly - Monday, July 17, 2017 8:45 AM
Hi
In SSRS 2016 is there a way to add a description to the report before it gets deployed so that when the report is deployed the new/updated description is deployed with it.

We keep having to go to the Report Server and add in and change the descriptions for each report across all our environments, which is just daft.

Thanks


I haven't played with it in Visual Studio/SSDT for awhile but the description property is exposed but it doesn't update. I traced it before and I think it just goes back to whatever the original value was.
It is exposed and you can add/update it with Report Builder - report properties, Description.
You can also update it using the web services. There is an example of updating a report description using web services in this link:
ReportingService2010.SetProperties Method

Sue



darrenkelly
darrenkelly
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1286 Visits: 595
Thanks Sue_H



Lowell
Lowell
SSC Guru
SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)

Group: General Forum Members
Points: 276796 Visits: 41774
i have a job scheduled on each server that contains a reportserver database that updates the job description with the report name, so it's much easier to track down that the job named "someguid" is actually SSRS Report Subscription: /Departments/Information Technology/Public/Some Technical Report

that metadata to build the command is surprisingly simple:
SELECT 
'UPDATE msdb.dbo.sysjobs set description = ''SSRS Report Subscription: '
+ e.path COLLATE SQL_Latin1_General_CP1_CI_AS + Char(13) + Char(10) + e.NAME COLLATE SQL_Latin1_General_CP1_CI_AS + ''' WHERE job_id = ''' + CONVERT(VARCHAR(40), b.job_id) + ''';' AS Fix
FROM dbo.ReportSchedule a
INNER JOIN msdb.dbo.sysjobs b
ON CONVERT(VARCHAR(40), a.ScheduleID) = b.NAME
INNER JOIN dbo.ReportSchedule c
ON b.NAME = CONVERT(VARCHAR(40), c.ScheduleID)
INNER JOIN dbo.Subscriptions d
ON c.SubscriptionID = d.SubscriptionID
INNER JOIN dbo.Catalog e
ON d.report_oid = e.itemid


Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Sue_H
Sue_H
SSC Guru
SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)SSC Guru (62K reputation)

Group: General Forum Members
Points: 62743 Visits: 13325


I may have misread but I had thought this was in reference to the description property for the report itself, not descriptions for the subscription jobs.

Sue



darrenkelly
darrenkelly
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1286 Visits: 595
Apologies for the delay in responding - just completed two upgrades, SharePoint 2007 to SharePoint Online and SQL 2008 to SQL 2016, now that the dust has settled, I have some spare capacity again :-)

@Lowell - that's a great idea. Those GUID subscription names are really annoying.
@Sue - your first assessment was correct.

So I get two great pieces of information for the price of one question. I'm on a winning streak :-)



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search