Beginning with the second
maintenance release for SAS Web Report Studio 4.31, a user can open
a SAS Web Report Studio report, make modifications that are saved
in a report definition snapshot,
and e-mail the URL for the snapshot
to a recipient. The snapshot
is a customized report that is created from an original SAS Web Report
Studio report and e-mailed to a recipient.
The snapshot
is always associated with the original report, but the original report
remains unchanged when the snapshot
is created with modified content and e-mailed to a recipient. If the
original report is deleted, any snapshots
that are associated with that original report are automatically deleted.
This feature is useful when a user wants to create a custom report
(without altering the original report) and share the customized report
with other users by e-mailing them the URL for the snapshot.
When the user selects
FileE-mail,
the URL for the customized snapshot
is placed automatically in the default e-mail application, and the
e-mail can be sent to recipients. When the recipient clicks on the
URL in the e-mail, SAS Web Report Studio opens in the user’s
browser. If the recipient is not logged on, then the recipient is
prompted to enter his or her user ID and password. The snapshot
is displayed in SAS Web Report Studio.
Here is an example of
the generated URL (for the snapshot)
that is placed in the e-mail:
http://salesdepartment.orion.com:8080/SASWebReportStudio/openRVUrl.do?
rsRID=SBIP%3A%2F%2FMETASERVER%2FWRS+Testing%2FWill%2FFolder+five+
f%C3%BCnc+%C3%A7inq%2Ftestreport.srx%2FEmailed%
2F120629_160104
%28ReportCI%29=0
Here is the SBIP directory
path for this snapshot:
SBIP://METASERVER/salesdepartment/MonthlySales/Emailed/120629_160104(ReportCI)
When the snapshot
is viewed by the recipient in SAS Web Report Studio, the name of the snapshot
is displayed in this format:
MonthlySales/Emailed/120629_160104
The filename includes
a timestamp in this format:
YearYearMonthMonthDayDay_HourHourMinuteMinuteSecondSecond
The following table
provides information about the metadata security and role capability
requirements that apply to the users who create, e-mail, view, or
delete snapshots.
Metadata Security and Role Capability Requirements for Creating,
Viewing, and Deleting Snapshots
|
Metadata Security and
Role Capability Requirements for Sender
|
Metadata Security Requirements
for the Recipient
|
Create a snapshot
that is based on a SAS Web Report Studio report, and e-mail the snapshot
to a recipient.
|
User should have the
WriteMetadata permission and the Output:Email capability.
If the sender does not
have WriteMetadata permission to the report, SAS Web Report Studio
uses the sasadm@saspw account to enable the tasks, and the sender
can create the snapshot.
|
|
Click on the URL for
the snapshot
and view the report definition snapshot
in SAS Web Report Studio.
|
ReadMetadata permission
for the SAS Web Report Studio report upon which the snapshot
depends.
|
ReadMetadata permission
for the SAS Web Report Studio report upon which the snapshot
depends.
|
|
WriteMetadata permission
for the SAS Web Report Studio report upon which the snapshot
depends.
|
WriteMetadata permission
for the SAS Web Report Studio report upon which the snapshot
depends.
|
By default, a maximum
of 50 snapshots
can be created. When the total number of snapshots
exceeds 50, the snapshots
that were created first are automatically deleted. You can, however,
increase the limit for the total number of snapshots
that can be created and associated with an original SAS Web Report
Studio report by configuring the
wrs.numEmailSnapshotsMax
property.
See
Create, E-mail, View, and Delete Report Definition Snapshots.
The following figure
illustrates how snapshots
are created, e-mailed, viewed, and stored. In this example, the sender
has WriteMetadata permission for the SAS Web Report Studio report,
which is the source for creating the snapshot.
Creating, E-mailing, and Viewing a report definition snapshot
SAS Web Report Studio
Report and Snapshots
|
Creating, E-mailing,
and Viewing a Snapshot
|
|
Bill has WriteMetadata
permission to the MonthlySales.srx report,
and he is assigned with the Output:Email capability.
Bill wants to e-mail custom reports to this sales employees in different
regions.
|
|
Bill opens the MonthlySales.srx report,
creates a snapshot,
and e-mails the snapshot
to Tom. The filename includes a timestamp in the YearYearMonthMonthDayDay_HourHourMinuteMinuteSecondSecond
format: MonthlySales/Emailed/120629_103100 .
The original report, MonthlySales.srx ,
remains unchanged.
|
|
The snapshot, MonthlySales/Emailed/120629_103100 ,
is associated with the content in the original report, and it is not
saved in any folder. If the original report is modified after a snapshot
is created, the content in the snapshot
is not affected. The snapshot
can be deleted by any user who has WriteMetadata permission for the
original report.
|
|
In the e-mail sent by
Bill, Tom clicks on the URL that is linked to the snapshot.
Tom has ReadMetadata permission to the original report, MonthlySales.srx ,
and he views the customized snapshot
by clicking on the URL that was e-mailed to him by Bill.
|
|
Bill wants to send a
different snapshot
to Chris. Bill opens MonthlySales.srx report,
creates a snapshot,
and he e-mails the URL for the customized snapshot, MonthlySales/Emailed/120629_112555 ,
to Chris.
|
|
In the e-mail sent by
Bill, Chris clicks on the URL that is linked to the snapshot.
Chris has ReadMetadata permission to the original report, MonthlySales.srx ,
and he can view the customized snapshot
by clicking on the URL that was e-mailed to him. The original report, MonthlySales.srx ,
remains unchanged.
|
|
The snapshot, MonthlySales/Emailed/120629_112555 ,
is associated with the content in the original report. The original
report now has two snapshots
that are associated with it. By default, a maximum of 50 snapshots
can be created from the MonthlySales.srx report.
This limit on the number of snapshots
can be modified by configuring the wrs.numEmailSnapshotsMax property.
|
The following table
shows how a snapshot
is created and e-mailed by a user who does not have a WriteMetadata
permission to the SAS Web Report Studio report upon which this snapshot
depends.
Creating and E-mailing a Snapshot without WriteMetadata Permission
SAS Web Report Studio
Report and Snapshots
|
Creating and E-mailing
a Snapshot without WriteMetadata Permission for the Report
|
|
Bill has ReadMetadata
permission to the EuropeSales.srx report,
but he does not have WriteMetadata permission to this report. Bill
is assigned with the Output:Email capability,
and he wants to e-mail a custom report of the sales in Europe to Tom
and Anna.
|
|
Because Bill does not
have the WriteMetadata permission to EuropeSales.srx ,
SAS Web Report Studio temporarily uses the sasadm@saspw account to
enable Bill to modify, customize, and create a snapshot.
Bill creates EuropeSales/Emailed/120702_111545 ,
and e-mails the URL for the snapshot
to Tom and Anna.
|
|
The snapshot, EuropeSales/Emailed/120702_111545 ,
is created in memory, associated with the content in the original
report, and it is not saved in any folder. The original report, EuropeSales.srx ,
remains unchanged. If the original report is modified after a snapshot
is created, the content in the snapshot
is not affected.
|
|
In the e-mail sent by
Bill, Tom clicks on the URL that is linked to the snapshot.
Tom has ReadMetadata permission to the original report, EuropeSales.srx ,
and he views the snapshot
that was e-mailed to him by Bill.
Anna does not have ReadMetadata
permission to the original report, EuropeSales.srx .
When Anna clicks on the URL that is linked to the snapshot,
she is denied access to EuropeSales/Emailed/120702_111545 .
|
|
Any user who wants to
delete a snapshot
that was created from EuropeSales.srx must
have the WriteMetadata permission to the original report, EuropeSales.srx .
Bill, Tom, and Anna cannot delete EuropeSales/Emailed/120702_111545 .
Jack is the administrator who has WriteMetadata permission to the EuropeSales.srx report,
and he can delete any snapshot
that was created from EuropeSales.srx .
|