ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 ReportPortal integration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wasimasif

Pakistan
1 Posts

Posted - 02/11/2010 :  19:41:00  Show Profile  Reply with Quote
Hi, I want to show reports from my reportportal installation in my web pages, through iframe etc.
What i understand is that i have to generate a security token and pass is via GET, POST or cookie. Is there any quick guide to do this. Don't tell me about SDK, as its in .net and also VS 2005 and its not converting to VS 2008 format.

Also let me know what SecurtyLevel means in stored procedure?

admin

1637 Posts

Posted - 02/16/2010 :  03:10:54  Show Profile  Reply with Quote
If you don't have VS 2005 you can just open the SDK app in notepad (please see ReportList.aspx and ReportList.aspx.vb). The idea is very simple:

1) Get security token using GetSecurityToken stored procedure like:

exec GetSecurityToken @SecurityLevel=0

2) Pass the security token along with the report id to Proxy.aspx:
http://localhost/ReportPortal/Proxy.aspx?reportId=1&token=12345

Where '12345' is the security token.

SecurityLevel:
0 - View Report
1 - Edit report
2 - Create new report
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page