<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to update custom XSL reports to operate within new workspace environment</title><link>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/51956/how-to-update-custom-xsl-reports-to-operate-within-new-workspace-environment</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to update custom XSL reports to operate within new workspace environment</title><link>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/51956/how-to-update-custom-xsl-reports-to-operate-within-new-workspace-environment</link><pubDate>Mon, 26 Oct 2020 14:34:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3a13510d-4e4c-4041-97b8-8cece652b2f5</guid><dc:creator>Holly Herring</dc:creator><comments>https://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki/51956/how-to-update-custom-xsl-reports-to-operate-within-new-workspace-environment#comments</comments><description>Current Revision posted to OpenRoads | OpenSite Wiki by Holly Herring on 10/26/2020 2:34:39 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;width:680px;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenRoads Designer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;10.09.00.91+&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Reports&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:150%;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:x-large;"&gt;Question:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;How do I modify my custom xsl reports to work with the new Report configuration?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:150%;"&gt;&lt;span style="font-size:x-large;"&gt;Answer:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Two variables addressed in &lt;a href="/products/road___site_design/w/road_and_site_design__wiki/51955/video-report-integration-within-projectwise"&gt;this wiki &lt;/a&gt;were introduced to allow for Reports to be used and stored within ProjectWise. Both the old way (CIVIL_REPORTS_DIRECTORY) and the new way (CIVIL_REPORTS_SUBDIRECTORIES, CIVIL_REPORTS_RESOURCES) are supported locally. Only the new way allows for ProjectWise integration. We recommend moving forward with your workspace with these two new variables. If you have custom xsl reports, you will have to do some additional tweaking for them to work with these two variables.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step One:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Go to the location of the Themes (default: C:\Program Files\Bentley\OpenRail Designer CONNECT Edition\OpenRailDesigner\Default\Reports\_Themes). The contents of the CIVIL_REPORTS_RESOURCES subfolders all need to be underneath the CIVIL_REPORTS_RESOURCES folder location. So copy/paste or move everything to one location. You need to modify the names of the .css files to something distinct. You can see below this was changed to blutheme.css and engtheme.css.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/1000x0/__key/communityserver-wikis-components-files/00-00-00-00-52/pastedimage1603722658545v3.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step Two:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Open the custom XSL you need to update. Change the $xslRootDirectory to point to $xslResourceDirectory. (CIVIL_REPORTS_RESOURCES defines $xslResourceDirectory). Make sure the .css you are pointing to reflects the name change from step one. Repeat this for each custom xsl you have.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/2000x0/__key/communityserver-wikis-components-files/00-00-00-00-52/pastedimage1603722309637v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-52/pastedimage1603720518042v1.png" alt=" " /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>