Seal Report Forum
»
General
»
Annoucement
»
Version 7.0 is published: .Net 7
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
The new version is published at Git HubFeedbacks are welcomed !
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/26/2023(UTC) Posts: 4 Thanks: 2 times
|
Hey,
I downloaded the 7.0 version of the seal report and when I was setting up my web server I got an unusual error "Execution error when compiling the partial view template 'View(Restrictions.iShared)': 'ReportRestriction' does not contain a definition for 'PlaceHolder' and no accessible extension method 'PlaceHolder' accepting a first argument of type 'ReportRestriction' could be found (are you missing a using directive or an assembly reference?)".
When I try to dig deeper I found out that there's a syntax error in code file "Report.iRestrictions.partial" at line 105. It should be "placeholder="@Raw(report.TranslateRepository("GeneralText","Report","@restriction.placeholder"))" instead of "placeholder="@Raw(report.TranslateRepository("GeneralText","Report",restriction.placeholder))".
Thanks
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
Thanks for the feedback, The original line works fine for me, you can see it is working by running the sample 'Search Orders' where some place holders have been set. Looks like a weird behavior with your razor compiler... did you install the last .Net 7 versions ? Your fix seems to work as well (but normally the @ is not necessary as the syntax is in embedded with @Raw()), I will test it on other server. Edited by user Thursday, July 27, 2023 6:42:34 AM(UTC)
| Reason: Not specified
|
1 user thanked epf for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/18/2018(UTC) Posts: 40
Thanks: 2 times
|
Is the Webview 2 installation requirement just for the Server Manager/Report Designer apps or is it needed for the web browser user client?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
Webview2 component is just required for the Report Designer (fat lient).
|
|
|
|
Seal Report Forum
»
General
»
Annoucement
»
Version 7.0 is published: .Net 7
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.