Hi there,
I'll first tell you about the scenario before pointing out the problem.
We provide the users of our software a scripting tool where they can create datasets from our businessobjects. Than they can create an xml schema to design reports and set the dataset as datasource for the created report.
Because we want the reports to run on any pc without putting the report files in an assembly, we avoid having references to all kind of dll's. So we don't want any code in the reports that calls any of our dll's. This works fine for now, but now we want some small scripts in the reports that decide wheather a subreport is to be shown or hidden, depending on a field in a datatable in the dataset.
The problem I'm facing is that the 'validating' button in the end user designer doesn't seem to do anything (there is no script error window) Is there a way to debug the scripts in the end user designer? I noticed that errors do appear when clicking the preview tab but that still makes it very hard to debug the scripts.
In the documentation I saw that in visual studio, you can make the script error window appear, but we want our end users to write the scripts without using visual studio.
For easier development, I would like to complete the design of the repx files, created in the end user designer, in visual studio but I don't seem to find how to open a repx file in visual studio so I can complete the design in vs and have all the advantages of vs.
Thanks,
Nico
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi Nico,
Yes, you should be able to validate scripts in the End-User Designer (See the Scripts Errors window). However, at present there's no runtime debugging functionality available. To open the REPX in Visual Studio, use the Open/Import report's smart tag (see Smart Tags). Let me know whether this helps.
Thanks,
Alex
solved