Skip to Content
author's profile photo Former Member
Former Member

WebElements 2.0 with report instances

<p>Hi all, first i&#39;d like to thank to authors of this community site, it&#39;s really usefull. </p><p>Now the question. I have a crystal report with WebElements 2.0 included. Report is deployed on CRXIr2 server (using jsp) and can be viewed in InfoView. I&#39;ve got some drilldown menu - multiple WESelects with WESubmitLink for hyperlink creation to update grouping of report (based on sample Turnover Drilldown from webelementssamples). Dynamic grouping is working very nice, but we want users to access just instances of reports, not on-demand reports. It seems that WESubmitLink (using WETargetPath for URL creation) is working only with on-demand reports in repository, not with saved instances. So is there any way to make URL, that will open (and pass parameters) for example latest successful instance of report? </p><p>Now i can open instance of report in InfoView and when i click ">> Update" on it, it is trying to refresh the report from database (making on-demand report, not loading choosen instance)</p><p>Used WE functions:</p><p>WESubmitLink(">> Update", {@path}, font) </p><p>@path = WETargetPath("rpt","Name","Test","") </p><p>Thanx </p>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 17, 2006 at 01:27 AM

    <p>hello Radek,</p><p>i agree about the community site...Todd Eror & Robert Horne and co. did an excellent job on this.</p><p>regarding getting webelements to grab an instance...</p><p>in your @path formula, change the syntax to</p><p>@path = WETargetPath("rpt","Name","Test","&sInstance=Param") </p><p>WETargetPath uses OpenDocument syntax for its linking & sInstance=Param will grab the latest instance with matching parameters. however, if you don&#39;t have an exact match on all the parameters a refresh will be forced.</p><p>for more information on opendocument, open your Report_Viewers.chm and type in URL and then opendocument...there will be a very helpful parameters guide for this syntax.</p><p>you can add in any "extras" to WETargetPath, such as &sInstance=Param, &sWindow=New, etc. to this 4th function parameter input.</p><p>hope this helps out,</p><p>jamie</p>

    Add a comment
    10|10000 characters needed characters exceeded

    • <p>hey Radek,</p><p>there are ways to avoid getting that report linking error...sometimes this happens when the url can lead to different paths...i.e. if you have multiple copies of the same report name in your enteprise system.</p><p>if you are getting this type of error, you may wish to use a report&#39;s CUID instead of using the Name. </p><p>e.g. @path = WETargetPath("rpt","CUID","xa8734dd0765a_6u","&sInstance=Param") </p><p>the cuid can be found by opening up your crystal reports designer and hovering over the parent report&#39;s name in the Repository Explorer.</p><p>jamie</p>

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.