39
rptsrc
Values
Description
Syntax
Nameofthereportsource.
Specifiesasessionvariable
thatreferencesareportsource
object.
rptsrc
Youcansaveaprogrammaticreportsourceasasessionvariableinyour
webapplicationandpassthissessionvariabletoviewrpt.cwrusingthe
rptsrccommand.Usethiscommandifyouareprogrammaticallymodifying
thereportatruntimebeforeredirectingtoaviewrpt.cwrURL.Otherwise,
itisrecommendedthatyouusetheidcommandinsteadtoaccessareport
intheCMS.Thereportsourceclassandmethodtoretrieveitdependson
theplatformandSDKyouaredevelopingyourapplicationwith.Forexample:
• UsingtheReportApplicationServer(RAS)JavaSDK:
Thecom.crystaldecisions.sdk.occa.report.application.Re
portClientDocument.getReportSourcemethodreturnsa
com.crystaldecisions.sdk.occa.report.reportsource.IRe
portSourcereportsourceobject.
• UsingtheReportApplicationServer(RAS).NETSDK:
TheCrystalDecisions.ReportAppServer.ClientDoc.Report
ClientDocument.ReportSourcepropertyreturnsaCrystalDeci
sions.ReportAppServer.Controllers.ReportSourcereport
sourceobject.
Note:
Youmustdeployandconfigureyourcustomwebapplicationthatretrieves
andsavesthereportsourceobjectalongwiththeCrystalReportsweb
applicationthatcontainsviewrpt.cwr.Thetwoapplicationsmustbeable
tosharethesamesessiondatafortherptsrccommandtowork.For
informationaboutdeployingtheCrystalReportswebapplicationafterthe
installationofBusinessObjectsEnterprise,seetheBusinessObjects
EnterpriseWebApplicationDeploymentGuide.
52
ViewingReportsandDocumentsusingURLs
CrystalReportsURLReporting
2
Commandreference