cancel
Showing results for 
Search instead for 
Did you mean: 

WebElements 2.0 with report instances

Former Member
0 Kudos

<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>

Accepted Solutions (1)

Accepted Solutions (1)

JWiseman
Active Contributor
0 Kudos

<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>

Former Member
0 Kudos

thank you jamie,after applying mhf1 to CR server it&#39;s working. So i scheduled the report with dynamic grouping - i had to select some groups before schedule - and when i try to change group in instance (through WESelect) it gives me Report linking error, but i think it&#39;s feature, not bug :]. In my opinion there is saved only that combination (previously choosen before scheduling) of grouped data in instance. So when i want my users to have this functionality on report it has to be on-demand / live report, am i correct?

JWiseman
Active Contributor
0 Kudos

<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>

Answers (0)