logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
epf  
#1 Posted : Wednesday, July 19, 2023 4:28:13 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
The new version is published at Git Hub
Feedbacks are welcomed !
Khushii  
#2 Posted : Wednesday, July 26, 2023 4:08:11 PM(UTC)
Khushii

Rank: Newbie

Groups: Registered
Joined: 7/26/2023(UTC)
Posts: 4
Canada

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
epf  
#3 Posted : Thursday, July 27, 2023 6:15:58 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

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

thanks 1 user thanked epf for this useful post.
Khushii on 7/31/2023(UTC)
scott9677  
#4 Posted : Thursday, July 27, 2023 6:36:52 PM(UTC)
scott9677

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?
epf  
#5 Posted : Friday, July 28, 2023 6:20:30 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Webview2 component is just required for the Report Designer (fat lient).
Users browsing this topic
Guest (2)
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.