web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to give the dynamic name of ssrs report when we export to pdf.

(0) ShareShare
ReportReport
Posted on by 23

How to give the dynamic name of ssrs report when we export to pdf.

var hight=800;
var width=900;
var left = (window.screen.width / 2) - ((width/ 2) + 10);
var top = (window.screen.height / 2) - ((hight/ 2) + 50);
var bidSheetId=formContext.data.entity.getId().replace("{", "").replace("}", "");
var rdlName = "BidSheetSummary.rdl";
var reportGuid = getReportId("BidSheetSummary");
if(reportGuid=="")
{
alert("Sorry, report does not exists");
return;
}
var parameter = encodeURIComponent(bidSheetId);
var url = formContext.context.getClientUrl() + "/crmreports/viewer/viewer.aspx?action=filter&helpID=" + rdlName + "&id={" + reportGuid + "}&p:bidsheetid=" + parameter + "&p:bidSheet="+ parameter;
window.open(url, null, "width="+width+ ", height="+hight+", top ="+top+", left="+left);

This is my java script code to view the report.

I have the same question (0)
  • Suggested answer
    SS-01100907-0 Profile Picture
    Microsoft Employee on at

    Hi,

    I believe this is not possible, When you export it will always take the save report name by default.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 163 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 158

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans