Friday, July 20, 2018

Apply Layout and Style Templates

Follow these steps to apply layout and style templates to the report:

1. In Model Editor, right-click the
Filters node, and then click Add Filter.

2. Select the node for the filter.


3. In the
Properties window, specify the following values.

o Expression: =Fields!TransDate.Value

o Name: ToDateFilter

o Operator: LessThanOrEquals

o Value: =Parameters!ToDate.Value

4. In Model Editor, select the
AutoDesign1 node.

5. In the
Properties window, set the LayoutTemplate property to ReportLayoutStyleTemplate. Also, type Customer transactions for the Title property.

6. In Model Editor, expand the
AutoDesign1 node, and then select the node for the chart data region.

7. In the
Properties window, set the Style Template property to ColumnChartStyleTemplate. 

8. Delete the default text for the Title property so that it does not display a title for the data region.

9. Set the
Value Axis Data Scale Minimum property to 5. This will set the starting value on the axis of your report to 5 instead of 0. This is one of many properties that will define the look of your report.

10. Click the
Save All icon on the menu toolbar to save the report.

11. In Solution Explorer, right-click the
SampleChartReport project and click Build.

12. In Solution Explorer, right-click the
SampleChartReport project and click Deploy.

13. In Solution Explorer, right-click the
SampleChartReport project and click Add SampleChartReport to AOT. 


Regards,
Hossein Karimi 

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...