Interactive Report Refresh and JQuery Plugin Issue

Hi,
I have Interactive report in my page. I am using jQuery context menu plugin , so when user right click on a column he get an option to add , delete , update and other option.
javascript pseude code for context menu
$(function(){
     context_menu();
function context_menu(){
  $('.Col1').contextMenu();
}Suppose User Selects Delete option. In this case jQuery popup appears and users enter the data which is saved to table using on demand process. After that using gReport.search('SEARCH') , I am refreshing the page...
Now the issue arises ------ Now when i right click the column my jQuery context menu is not working ...
Workaround used ----- I added onmouseover=context_menu() function to the column link... and it working fine..
Now my question is ... each time the user moves the mouse over column it will run context_menu() function ..... Will there be any adverse issue .. or memory leakage issue...
Please advice..
Thanks,
shijesh

Hi,
I think there should not be any issues to do that way. You need of course test it carefully.
You can run stuff after IR refresh also on Apex 3.2.
See e.g. this post
Apex 3.2 hook javascripts to IR and execute those when report is refreshed
I have included that to my jQuery "plugin" for Apex 3.2
http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:127800346959520
Regards,
Jari

Similar Messages

  • Iweb and jquery plugin

    Hi, Im trying to use a jquery plugin for my iweb site similar to what is detailed here: http://www.unwrongest.com/projects/airport/.
    Being a new user is there anybody that can help me so that i am able to have an airport information board style banner on my site? How do i do it? The details although it says are very simple, seem a bit complicated to me! Do i use html snippet for this? What code do i input to get it to work?
    Thanks in advance.

    Hi,
    I think there should not be any issues to do that way. You need of course test it carefully.
    You can run stuff after IR refresh also on Apex 3.2.
    See e.g. this post
    Apex 3.2 hook javascripts to IR and execute those when report is refreshed
    I have included that to my jQuery "plugin" for Apex 3.2
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:127800346959520
    Regards,
    Jari

  • Is it Possible to "Interrupt" an Interactive Report Refresh

    We have a particular Interactive Report for which we want to enforce two column filters as mandatory. We've already figured out how to examine the current filters and determine if they are set.
    What we need now is some mechanism by which if the user changes the filter criteria (for example deleting one of these mandatory filters), we can stop the APEX refresh and produce an error message. For example, could some such logic be placed in the Before Refresh event?
    Does anyone have any ideas how this might be done?
    -Joe

    I've looked at this for a bit but I don't think there is any even remotely fair way to deal with this. The ajax calls for IRs do not use jQuery.ajax calls (unfortunate) but use a call to htmldb_Get.getAsync. An XmlHttpRequest object is created there but is of course never exposed, thus not allowing interaction on it, and is probably too deeprooted in the apex javascript to change. If it was using jQuery you could've tried to use the ajaxSetup, such as described in javascript - Abort Ajax requests using jQuery - Stack Overflow or Stop all active ajax requests in jQuery - Stack Overflow (and all variations when looking for ajax aborting).
    There is nothing you can do from say the before refresh event since canceling that is only canceling the before refresh event, not the actual refresh.
    I believe that simply overriding some function on the gReport object might serve you best. Keeping in mind it is best not fiddled with and is unsupported etc etc - I suppose you know the drill by now.
    There are a couple of candidates for this. "gReport.action" for example: you could simply block of any ajax action on the report before it happens: remove filters, add filters, search, pull - without having to worry about xmlhttprequests. I explored some other routes but honestly they became too complex for what it was.
    //first store the original _Get function. We can't lose this because we still need it.
    var old_Get = gReport._Get;
    //now override the existing function with our own implementation. Preserve the signature so that the params can
    //be passed on
    gReport._Get = function(p_widget_mod,p_widget_action,p_widget_action_mod,p_id,p_value,p_x05,p_x06,p_x07,p_x08,p_x09,p_x10){
      //lets do some arbitrary check in here
      if(p_widget_mod == "PULL"){
         //now nothing will happen when you want to pull the report
         return false;
      //and dont forget to at least execute the original function !
      old_Get(p_widget_mod,p_widget_action,p_widget_action_mod,p_id,p_value,p_x05,p_x06,p_x07,p_x08,p_x09,p_x10);
    Now when executing
    gReport.pull()
    nothing will happen.
    You'll need to modify this to suit your needs though. If this is taking it too far for you then you may have hit a brick wall though, I can't see any other option personally and so far.

  • Interactive Report Download and Session State Protection

    I have created an Interactive Report in an APEX application that I have enabled
    session state protection for. The issue I am having is with the "Download"
    functionality of the interactive report to a .csv file.
    The URL created by selecting Download from the drop down (javascript:gReport.controls.download();)
    is built or constructed without a checksum thus causing the error below.
    Error
    No checksum was provided to show processing for a page that
    requires a checksum when one or more request, clear cache, or argument
    values are passed as parameters.
    The anchor tag containing the URL (/f?p=app_id:page:session_id:CSV:) is contained within
    <div id="apexir_CONTROL_PANEL_DROP" class="drop_panel
    clearfix" style="">
    Running the following: Application Express 3.1.0.00.32 on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Is there a way to add a checksum to this? OR does anyone have any ideas on how to work around this?
    Edited by: Bryce Tuohy on Feb 26, 2009 10:08 AM

    WORKAROUND:
    1.) Create hidden ITEM on page (I named it P23_PREPARED_CSV_DOWNLOAD_URL).
    Enter the following for the ITEM
    as the SOURCE_TYPE : PL/SQL Function Body
    as the SOURCE: return apex_util.prepare_url('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:CSV:')
    2.) Create BUTTON that executes javascript to open POPUP window with this url.
    a.) Create Button and enter
    <a href="javascript:popupURL('&P23_PREPARED_CSV_DOWNLOAD_URL.')">Download and Save to CSV file</a>as the "Text Label/Alt"
    Originally had custom code for javascript POPUP and this is not needed .... just use the APEX javascript function.
    Edited by: Bryce Tuohy on Mar 5, 2009 10:47 AM

  • How to schedule macros to open a report , refresh and update database?

    Hi,
    We have the below set of steps that work on a deski environment. It works fine on XI R3.1 Fix pack 1.5, but I am unable to schedule and get the macros to run although i've included the entire macros code in - Private Sub DocumentAfterRefresh()
    Refresh of report
    Step 1 : Report is Refreshed. Refreshed data contains 10 Report Names to be opened by the Macros and the prompt values that these reports need to be refreshed with.
    Macros Functionality:
    Step 1 : Opens 1st report of the 10 reports from the repository in deski thick client, updates the database by setting a flag on the processing to Y or N for the report being processed.
    Step 2 : Refreshes the report with the prompt values obtained from the first refresh in the report, saves the refreshed data to a CSV or PDF at a location.
    Step 3 : Updates the database if the report has been genrated or not and then deletes the local copy of the output csv and pdf.
    The above steps repeat over and over again until all 10 reports open up, get refreshed and update the database.
    Now all of this works on Deski thick client/refresh and macros.
    However, when i schedule it, the macros doesnot seem to be running.
    Is the above scenario even possible to replicate via a schedule process..? 
    Note : The reports need to be retained in Deski itself.
    PLz help...!

    Scheduling Background Jobs 
    Use
    You can define and schedule background jobs in two ways from the Job Overview:
    Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
    The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
    Procedure
    Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
    Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
    Set the job’s priority, or "Job Class":
    High priority: Class A
    Medium priority: Class B
    Low priority: Class C
    In the Target server field, indicate whether to use system load balancing.
    For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
    To use a particular application server to run the job, enter a specific target server.
    If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
    Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
    Define the job’s steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
    Save the fully defined job to submit it to the background processing system.
    When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
    Note: Release the job so that it can run. No job, even those scheduled for immediate processing, can run without first being released.
    For a simple job scheduling procedure, see the R/3 Getting Started Guide.

  • Crystal Reports 2008 and BOXI3.1 issue

    Hi,
    Can somebody please help me finding a solution ?
    Here is the Problem:
    Environment Details DEV:
    BOXI 3.1product version 12.1.0.882
    Crystal Reports 2008
    DB2 database.
    Environment Details UAT BOX
    BOXI 3.1product version 12.2.0.290
    Crystal Reports 2008
    DB2 database.
    ISSUE Desc:
    1. I have designed a crystal reports in whih I have two parameters of type string.
    2. We are using this field to take inpuit from the user as a date field i.e. stardate and enddate in dd/mm/yyyy format (because Crystal default format is mm/dd/yyyy)
    3. converting this string in crystal to date type using Date() function.
    4. We are retrieving the records between startdate and enddate.
    5. This reports works as per our expectation in Crystal Report and on our DEV BOXI. i.e viewing and scheduling from CMC works fine.
    But doesnt on our UAT BOX.
    1. Report viewing from CMC works but when we are scheduling the reports for same date the instance success but they show report without data. There is no error while scheduling.
    2. Now, If I open the instance and try to reenter the startdate and enddate again having same date, then the instance show me the data.
    the dd/mm/yyyy format is working while viewing on UAT but mm/dd/yyyy format is working for scheduling.
    I am not able to understand why this is happening.
    Can any SAP member help me out please.
    Regards,
    Jon

    similiar problem here
    Incorrect date format in Crystal Report XI

  • CRM Interactive Reports - CRM and BI Reporting client same

    Hello all,
    I am setting up CRM Interactive reports in CRM 7.0 wherein the CRM client and the BI Reporting client are both the same. I know it is not recommended by SAP, but our requirement is very less.
    I am following the steps as mentioned in the Best Practices C41. But, when I am trying to set up a source SAP system in RSA1(Section 4.14 of C41), i get an error saying that 'Source system XXXCLNTYYY already exists'. This is the same system which has already come under the BI node in RSA1.
    Since we are using the same client for both the systems, how do I rectify this error?
    Please help!
    Regards
    Debolina

    Dear Srinivas,
    One of the purposes of CRM Interactive reporting is quick-enablement of frequently used reports. Ofcourse these differ in all aspects with BI reports. These are faster and accurate when the data population is small.
    It is not suggested to use dedicated BI server for Interactive reporting.
    Anyways we can use both Interactive and BI reports simultaneously as per your client's requirement.
    Hope it helps.
    Thanks
    Vikas
    Edited by: Vikas Patil on Jun 7, 2010 5:58 PM
    Edited by: Vikas Patil on Jun 7, 2010 5:59 PM

  • Interactive Report with AND/OR combinations in clause

    Dear forum members,
    What I have is a Interactive Report page with PL/SQL processes triggered by several buttons to filter this report like this:
    APEX_UTIL.IR_CLEAR(:APP_PAGE_ID);
    APEX_UTIL.IR_FILTER(
    p_page_id => :APP_PAGE_ID,
    p_report_column => 'BRANCHES_CODES',
    p_operator_abbr => 'LIKE',
    p_filter_value => '%A%'
    );If calling two of these processes, the resulting query combines the two queries with an AND...
    Is it possible to do the same with an OR?
    Thanks in advance,
    Johann

    From the help file of an IR:
    FilterFocuses the report by adding or modifying the WHERE clause on the query. You can filter on a column or by row.
    If you filter by column, select a column (it does not need to be one that displays), select a standard Oracle operator (=, !=, not in, between), and enter an expression to compare against. Expressions are case sensitive. Use % as a wild card (for example, STATE_NAME like A%).
    If you filter by row, you can create complex WHERE clauses using column aliases and any Oracle functions or operators (for example, G = 'VA' or G = 'CT', where G is the alias for CUSTOMER_STATE).>
    So the user would have to create a row filter - which isn't exactly user friendly, imo.
    Ta,
    Trent

  • Interactive Report Pagination and count

    Hello,
    I have two situations I am hoping someone could help me with.
    Problem 1
    I am using interactive reports in APEX 3.2.1 and I have reports with rows >= 6000. currently pagination on reports is set to:
    X to Y of Z
    such that when the report is rendered it looks something like 1 - 15 of 6203 >.
    Is it possible to add 'objects' or 'buttons' that allow me to navigate directly to the last row or/first row e.g
    |<< < 1 - 15 of 6203 > >>|
    such that |<< or >>| navigates to the very end row while < or > navigates to the next set or rows? would this be javascript? if so, does anyone have code for it? unfortunately not only am I new to APEX, I am a novice at javascript as well.
    Problem 2
    Is it possible to have APEX interactive reports return a distinct count on fields that are not unique? All counts are equating to the count of the unique ID and has had me pulling my hair
    Any help is most welcome,
    Mufudzi

    Hi Mike,
    I have not managed to get 'Distinct count' to work. Unfortunately, the project I am working on for this neither has the time or budget to investigate further but hopefully I will be able to get a solution from someone as a "nice-to-know".
    Regarding the first problem I posted on, managed to come up with a solution using some html. Basically I created two html scripts (one above the report and the other below the pagination buttons at the bottom of the report)
    - for the top of report html I used the following code:
    +<td nowrap class="t13RegionBody"><>a href="#endofpage"<>End of Page</a></td>+
    +<td bgcolor="#EEEEEE" nowrap><a name="topofpage"><font color="#EEEEEE">Top of Page</font></a></td>+
    and called the script topofpage
    - for the bottom of report html script I called it endofpage and used the following code:
    +<td nowrap class="t13RegionBody"><>a href="#topofpage"<>Top of Page</a></td>+
    +<td nowrap bgcolor="#EEEEEE"><A NAME="endofpage"><font color="#EEEEEE">End of Page</font></A></td>+
    What the script does is when the "End of Page" hyperlink is clicked, it takes the user to the bottom of the screen/page and vice versa for the "Top of Page" hyperlink situated at the bottom of the page. Users will be educated on how to use the ROWS utility on the interactive report menu bar so that they can display all available rows on one page and use the links to navigate from top to bottom of page.
    Mufudzi
    Edited by: Mufudzi on Oct 2, 2009 12:20 PM

  • Report Title and Text Area issue when exported to pdf using Viewer

    Hi there,
    We are using OracleBI Discoverer Version 10.1.2.55.26
    We have reports that displays Report title containing the following
    - Report Title
    - Runt Date and Time
    - Page No
    And text area which displays 'Last Page'
    Following properties are set at the worksheet level using page setup
    Report Title --> 'Print on every Page'
    Text Area --> 'Print on last page'
    The report when exported to PDF using Discoverer plus works fine and displays report title and text area as defeined.
    But when we try to export the same report to pdf from Discoverer viewer, it displays
    - Report title on first page only.
    - text area on all pages
    All our users accesses report using discoverer viewer so we cannot open discoverer plus to them.
    Is there a solution which will enable us to export the report in pdf using discoverer viewer and displays the same output as discoverer plus.
    Please let me know... If you have any questions then please feel free to ask.
    Thanks in advance for your help...
    Manish

    but when opened on other os x machines some text is colored differently than it should be
    Well, if typographic objects are colour managed, the colour appearance is dependent on the source ICC profile that describes the colourants in the typographic objects and the destination ICC profile that describes the colours the display is able to form and the RBC colourant combinations that will form those colours.
    In general, typographic objects should have special treatment, since the expectation is not that typographic objects should be colour managed, but that typographic objects should simple be set to the maximum density of dark. On a display, that is R=0 G=0 B=0 and on a seperations device (a lithographic press) that is C=0 M=0 Y=0 K=100.
    If for some reason typographic objects are colour managed, and if the ICC profiles for the displays are off by half a mile or more in relation to the actual state of the display system, then the colours will not be the same. On the other hand, if those displays are calibrated and characterized, then the colourants will be converted to form the same colours on the displays.
    /hh

  • CD4 and CS5 Plugin Issue!

    Having a major problem with Chameleon and CS4 and CS5. When I run the program out of CS4 or CS5:
    1) The Grab Fragment seems to work.
    2) When I open another photo and run Chameleon , Make Collage, I get
         1. Unhandled exception! Crash dump saved to c:\users\public\documents\akvis\crashdump.
         Please help! I’m running version 6.0.1253.3084-r
    I now get a message stating:
    Microsoft Visual C++ Runtime Library Error.
    App terminated in an Unusual way.
    Contact app support.
    I used to run Chameleon in CS4 however now it does not run at all. I'm wondering if a Visual C file got corrupted or a fix is needed for Adobe.
    Please help.
    Thanks,
    Rudy

    Without knowing exactly what the bug is in the Akvis code, I don't know.
    But some third party plugins always need an update when new versions of Photoshop are released (especially those that try to modify Photoshop's UI).
    We work hard to maintain plugin API compatibility, and most plugins work just fine in new versions, but there are always some problems to work out in third party plugin code.
    (Macintosh plugins are going through a lot of problems in CS5 because we had to change the UI toolkit used, and many assumptions made by plugin UI code no longer hold)

  • CS4 and CS5 Plugin Issue!

    Having a major problem with Chameleon and CS4 and CS5. When I run the program out of CS4 or CS5:
    1) The Grab Fragment seems to work.
    2) When I open another photo and run Chameleon , Make Collage, I get
    1. Unhandled exception! Crash dump saved to c:\users\public\documents\akvis\crashdump.
    Please help! I’m running version 6.0.1253.3084-r
    I now get amessage stating:
    Microsoft Visual C++ Runtime Library Error.
    App terminated in an Unusual way.
    Contact app support
    I used to run in CS4 however it does not run at all. I'm wondering if a Visual C file got corrupted.
    Thanks,
    Rudy

    Without knowing exactly what the bug is in the Akvis code, I don't know.
    But some third party plugins always need an update when new versions of Photoshop are released (especially those that try to modify Photoshop's UI).
    We work hard to maintain plugin API compatibility, and most plugins work just fine in new versions, but there are always some problems to work out in third party plugin code.
    (Macintosh plugins are going through a lot of problems in CS5 because we had to change the UI toolkit used, and many assumptions made by plugin UI code no longer hold)

  • BPEL Installation Issues and Eclipse Plugin Issue

    I'm trying to evaluate BPEL and encountered the following issues:
    (1) Installation of patch 4343748:
    MISSING_COMPONENT : oracle.j2ee, 10.1.2.0.0
    This Oracle Home does not have components/versions required by the patch.
    ERROR: OPatch failed during pre-reqs check.
    OPatch returns with error code = 150
    The other 2 patches installed fine.
    Is there a required order for installing the patches. The information that I found is a bit spotty on that.
    (2) The Eclipse Plugin also doesn't work properly. The following stack trace is reported back, when trying to open a .bpel file:
    java.lang.NullPointerException
         at bpelz.browser.OleWebBrowser.registerAsDropTarget(OleWebBrowser.java:345)
         at bpelz.browser.OleBrowserView.createBrowserControl(OleBrowserView.java:168)
         at bpelz.browser.OleBrowserView.createPartControl(OleBrowserView.java:75)
         at bpelz.views.SimpleBrowserView.createPartControl(SimpleBrowserView.java:55)
         at bpelz.views.PaletteView.createPartControl(PaletteView.java:64)
         at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
         at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
         at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
         at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:512)
         at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
         at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
         at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
         at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
         at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
         at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
         at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
         at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
         at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:528)
         at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:485)
         at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
         at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:813)
         at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2928)
         at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:902)
         at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:887)
         at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:3051)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3049)
         at bpelz.wizards.BPELProjectCreationOperation.switchToBPELPerspective(BPELProjectCreationOperation.java:204)
         at bpelz.wizards.BPELProjectCreationOperation.run(BPELProjectCreationOperation.java:144)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
         at bpelz.wizards.BPELProcessWizard.performFinish(BPELProcessWizard.java:207)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
         at org.eclipse.jface.window.Window.open(Window.java:787)
         at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:114)
         at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
         at org.eclipse.core.launcher.Main.run(Main.java:973)
         at org.eclipse.core.launcher.Main.main(Main.java:948)
    Any advice on how to proceed is much appreciated.
    Andreas

    I'm still hoping to find an answer on why the Eclipse BPEL Designer does not work for me. I can generate a BPEL project but the visual BPEL Editor will just not open up. Any clues on what I should be looking at would be very appreciated.
    Here is the exact Eclipse version that I'm using:
    Version: 3.1.0
    Build id: I20050627-1435
    And another stack trace that is seen in the Eclipse error log:
    org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
    at org.eclipse.jface.util.Assert.isTrue(Assert.java:180)
    at org.eclipse.jface.util.Assert.isTrue(Assert.java:165)
    at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:579)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:244)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1216)
    at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:944)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:939)
    at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2535)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
    at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
    at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
    at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
    at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
    at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
    at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)
    Thanks,
    Andreas

  • Report preview and printing performance issues in CRXI R2

    Hello to all,
    We have successfully upgraded a corporate Web reporting site from CR8 to CRXI R2 Server SP3 VS2005 Asp2. Using managed reports, and native Oracle data access, performance has greatly improved. The CRXI site  displays the first page in half the time as CR8. These are often very large reports.
    The problem we are having is when you try to print, export, or just page thru a report in previewer. It takes as long to go to page 2, or to bring up the print dialog screen as it did for page 1 to display in the first place. This is drastically different from the performance on CR8. On the old site, when a report displayed, you could flip thru it like a Word document. Hardly any pause at all. Clicking on the printer icon brought up the print box immediately.
    Is there a way to tell the 'CrystalReportsViewer' to load all pages before showing the first page?
    If not, is anyone aware of a third party replacement for the CRV?
    Any help would be greatly appreciated.
    Joe Early

    Hello Joseph,
    What you're seeing is essentially expected behavior for a CR Server (BO Enterprise) based report.  When you try to page through a report or print it you're basically rerunning the report on each button click.
    To get around this behavior you can put your Report Object / InfoStore object into session and view, page, or print the session object from the viewer.
    You can review [Business Objects Note 1203389|https://bcp.wdf.sap.corp/sap/sapnotes/display/0001203389] for an example with the Crystal Reports .NET SDK.  You'll want to add check for the session on post back, etc. but the code should give you an idea of how to get started.
    Sincerely,
    Dan Kelleher

  • Question on "Get Reporting Statistic" and If statement issue

    Hello
    I worked up a "Get Reporting Statistic" in my script that looks for agents that are in the Not Ready state.
    Report Object:    CSQ IPCC Express
    Field:     Not Ready Resources
    Row Identifier:    Queue_Name   
    Result Statistic:    Not_Ready_Resources
    I have an If then statement:
    If(Not_Ready_Resources <1) then
    True - go to a prompt
    False - go to the queue
    It seems like this is behaving backwards. When I am logged in on my agent it seems to follow the True step which it should go to the queue. When I am logged out it goes to the false step, to the queue.
    Any thoughs on why it would behave backwards?
    thanks

    Apologies, replying via the email interface is a bit annoying.
    Your code is a tad confusing to begin with. Why are you checking to see if there are people in the not ready state before trying to queue?
    Instead a cleaner flow would simply queue first, play the prompt and any other actions in the queue step. This way your person is immediately placed in the queue and if someone is available they go straight to them otherwise they will hear your prompt. If I am understanding your code properly, the if statement is unnecessary.
    Regardless, why are you checking for agents not ready? (I'm honestly curious). Is there something more specific that needs to happen if an agent is not ready? Otherwise, your flow should be checking for Agents in the ready state
    if(Agents_Ready > 0)
         true:
              queue
         false:
              prompt
    but again this is entirely irrelevant considering:
    Select Resource Step
         queue:
              prompt
              // no available agents
         connected:
             //agents ready
    Perhaps I am completely misunderstanding? Apologies if that is the case.

Maybe you are looking for