Using URL Paths With Reports
  • Updated on 03 Oct 2014
  • 1 minute to read
  • Print
  • Dark
    Light

Using URL Paths With Reports

  • Print
  • Dark
    Light

Decisions URL's paths system were designed to provide user with powerful navigation control in the System between Folders, Flows, Rules, Pages, Reports, Forms and much more using wide variety of additional options like Security and View.
Reports
We can use ReportId or ReportPath parameters in the base URL to run report ether using Report Id or Path to Report location in Decisions. To get Report Id we need to locate Report's Thumbnail in the folder and select Manage > Get Report ID from Thumbnail's Action menu.
55.get-report-id.png

From the resulting pop-up window we copy Report Id string to the clipboard.
56.report-id.png

To build our URL that will run Report by Id we include ReportId parameter and Report's Id value into base url: http://localhost/decisions/Primary/?ReportId=844d310d-5427-4a86-a910-1a64ee6b190d

And Report runs by Id ...
57.urlbarforreportid-1.png

To run Report by Path we include ReportPath parameter with path to our report value into base 
http://localhost/decisions/Primary/?ReportPath=%2fAllApplicants&Action=api&sessionid=NS-d319b707-c08b-11e6-80d8-080027c38b6c&outputtype=XML

Report runs...
58.using-report-path-1.png

We can also use ReportId and ReportPath parameters for base URL to run Report API . To do so we need to add some other parameters. Second parameter should be Action with api value. Next, we should use authentication parameter. And lastly, we use outputType parameter.
65.studio-version.png

For example, next url will call Report's Api using Report's Id and Named Session for authentication. The output is going to be in XML format.
http://localhost/decisions/Primary/?ReportId=844d310d-5427-4a86-a910-1a64ee6b190d&Action=api&sessionid=NS-d319b707-c08b-11e6-80d8-080027c38b6c&outputtype=XML
63.name-sessions.png

For the all options that are available for Report Api call we can look up in the Integration Details page. We can call this page using URL as well. To do so we include ReportId or ReportPath parameter and Action parameter with value viewapi :
http://localhost/decisions/Primary/?ReportId=a60f04b8-20fb-4886-9f26-99ab908062c5&Action=viewapi
67.save-the-last-sween-shot.png

Was this article helpful?