Seal Report Forum
»
Report Edition
»
Reports
»
Open a report with a widget link
Rank: Member
Groups: Registered
Joined: 7/14/2023(UTC) Posts: 25 Location: Torino Thanks: 8 times
|
Hello, I am trying to perform the same action reported in example "Overview - Sales.srex". When I execute this example on IIS, I can click on "Goals" link near cog icon and a new report will open showing the data table related to the graph. I see that in the widget tab view under "View Parameters-->Template configuration" is possible to set the link with "Title: Report to execute from the title" field. When I click on that field on my report I see only
- \Overview - Sales.srex
- \Samples\04-Charts Gallery - Basics.srex
I have try to set the field manually with the absolute path of my other report, but it can not find it and gives me this error in the browser: Quote:Sorry, we got an unexpected exception. Please consult log files on the server machine to have more information (Logs Repository folder and Windows Event Logs on Windows machine)... This is the output of the log file inside Seal Repor Repository: Quote: ********** 26/07/2023 17:25:33 Error Unexpected error:
Error: file not found ( at SealWebServer.Controllers.HomeController.getFileDetail(String path) at SealWebServer.Controllers.HomeController.SWExecuteReport(String path, String viewGUID, String outputGUID, Nullable`1 fromMenu))
User: ''; Groups: 'Default Group'; URL: '/SWExecuteReport' Session: '50f20ffc-8bd8-4efd-bed5-1c8ab869aead'
I have put my second report inside the same folder of the main one, inside Samples linke the other example, but the results are the same as above. The second report works fine if I run it like the main one, so I think is only some configuration problem. Can you please give me the action to perform, to make this work?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
I made a quick test and it should work fine, just be sure of your path (and do not forget the suffix .srex)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/14/2023(UTC) Posts: 25 Location: Torino Thanks: 8 times
|
Hi! Thank you a lot for the quick reply. Yesterday I have try a lot of things after open this topic and I have manage to make it work, but can you please explain me why is working in this way?
In your "Overview - Sales" example, the link on the widget was set at:
"\Search - Orders.srex"
In my case I had to use this one:
"/Overview - CRM.srex"
I am working on windows10, so I have use \ to define path, but to make it work in my case I had to use / that normally is used on UNIX systems.
Why / works and \ not?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
yes it is weird, but I cannot reproduce the problem...
|
|
|
|
Seal Report Forum
»
Report Edition
»
Reports
»
Open a report with a widget link
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.