How can I modify the UI for the crystalreportviewer prompt screen ?

<p>Hi,</p><p> I am using Crystal Report XI with JRC.</p><p>I have come across a couple of issues. My report accepts 2 parameters from the user. One is a date field and the other is the &#39;Period&#39;. I have provided a drop-down having values as Daily, Weekly, Monthly, Quarterly, Yearly.</p><p> The following are the issues that I have come across:</p><p>1. Selecting a value from the drop-down and submitting the form gives the following error.</p><p>     [java] 17:46:20,265 INFO  [STDOUT] 17:46:20,265 ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter] JRCAgent11 detected an exception: The value for parameter `Period` must match one of the specified default values.<br />     [java]     at com.crystaldecisions.reports.dataengine.d.case(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.dataengine.d.at(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.dataengine.d.new(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.common.as.a(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.common.ae.a(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.b.k.a(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.b.s.do(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.else(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.for(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.do(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.if(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.u.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.DataDefController.a(Unknown Sour<br />ce)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.modify(<br />Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.modify(<br />Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurr<br />entValues(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPromptParameterF<br />ields(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPromptPa<br />rameterFields(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPr<br />omptParameterFields(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPromptParam<br />eterFields(Unknown Source)</p><p> When in the report I set allowcustomvalues to true then it accepts the value selected from the dropdown. But in this case the prompt screen shows a textbox next to the drop-down that gets populated on selecting any option from the dropdown. This textbox is editable and can accept any value. Is there a way I can get rid of this textbox. Also i would like to know why the drop-dwon by itself is incapable of passing the value.</p><p> 2. Secondly, Is there anyway I can change the UI for the crystalreportviewer prompt screen being displayed for accepting the parameters from the user. As per my clients requirement the messages displayed in the prompt screen should be customised.</p><p>3. The third issue is with the date parameter. When a date is selected using the calender control the textbox gets populated in the following format Date(yyyy,mm,dd). My requirement is that this should be a userfriendly format like mm-dd-yyyy. I have succesfully modified the crystalreportviewer javascript so that the calender returns the date in the required format i.e. mm-dd-yyyy. But in this case the date parameter is not accepted though no error is displayed on the console. I have tried rechanging the format into Date(yyyy,mm,dd) before the prompt form is submitted but even this didnot help. What can I do to overcome this problem? </p><p>Any help with respect to the above problems will be highly appreciated.</p><p>Thanks & Regards</p>

<p>From the looks of it, the default parameter prompt screen isn&#39;t really fitting your requirements.  You have a number of requests for modification.</p><p>In your case I think the best thing to do would be to create your own parameter prompt screen.  You can use the SDK to create a page that works for all reports by inspecting the reports parameters before you set the values.</p><p>This would allow you the flexibility of easily meeting your customers requirements.</p><p>Point 1 - I&#39;m not sure.</p><p>Point 2 - There isn&#39;t much access to change the prompt screen.</p><p>Point 3 - I&#39;m not sure why you would want to change the formatting of the Date when you are already using a calendar object to get it.  It sounds like you might have a small mistake in the way you edited the javascript.</p><p>I really think you are probably better off creating your own prompt screen. <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

Similar Messages

  • How can I modify the Fit, Crop, or Ken Burns effect for the entire movie?

    How can I modify the Fit, Crop, or Ken Burns effect for the entire movie? I've been having to go through them all individually which takes forever.

    You could try  Edit > Select All  then click on the crop button and change the setting from Ken Burns to Fit.
    I find that this only works if you do not have the Automatic Cross Dissolve transitions in place.
    If you do, File > Project Theme and uncheck the transitions and remove them.
    After you have changed from Ken Burns to Fit, you can re-apply them.
    Easiest way in future is to set up your project (File > Project Properties) before you start adding photos.
    z.

  • When I logon for XP, if I am no actively doing something for several minutes I am logoff and must reenter my logon again. How can I modify the time it stays active?

    When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?

    You can find that in control panel

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • Qosmio X500-15F - How can I modify the DPI?

    Hello
    With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M
    I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal.
    How can I modify the DPI? I already tried different resolution settings. It doesn't change the problem.
    Thanks for help

    DPI is how many pixels per inch of the LCD. You can't change that.
    I think the software needs a specific resolution or LCD size. Try lowering the resolution to 1280x800 or try an external monitor.

  • How can I modify the domain of a comment server?

    Acrobat 9 in Windows 7
    Besides editing the registry, how can I modify the URL for a comment server that I've been using for reviews?
    I earlier initiated a shared review but used only the hostname of the server, not the fully qualified name (FQN) that includes the full domain name. Now, when I reuse that server for other reviews that I initiate, I'm stuck with the unqualified name. Folks outside of my subnet can't publish comments to the server because the simple hostname isn't known on their subnet.
    How can I change the properties of that server so future reviews use the FQN?
    Jerry

    You can't edit the server profile through UI.
    The only way available through Acrobat UI is to first delete the earlier server profile and then re-create it again from the Shared Review Initiation Dialog.
    For deleting the profile, Go to  "Edit menu-> Preferences->Tracker" and from the 'Remove Custome Server Locations' section choose the server profile which you want to delete and click on Remove Server Profile.
    -Priyanka

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • How can I modify the High Speed Data Reader VI to show correct time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    First, I couldn't seem to find that example either on computer or on the NI sites.
    The problem that we're running into is stated in the article that I pointed to - when real time VIs are running, then the OS will stop updating the OS clock. TO us it looks like the clock is losing time. There is a hardware clock on the PXI and it is read only during boot up to set the OS clock. Our discussions with NI have not led to a solution for this problem without checking the time on start and then checking the tick count (which does not lose time) and calculating what the current time is. No access to the hardware clock is supplied.
    We're still working on a simpler way to get accurate time.
    Rob

  • How can we modify the Task Priority in BPM workspace???

    How can we modify the Task Priority in BPM workspace??? Is it possible?? If so what is the best and easy way to implement this??

    Hi Chandra,
    First please find the job name in SM37 for FIGL and check the job status to be in "released" status. Select that job and go to job menu and click on change. then it will take you to the job screen where you have "job class". Here you can change the job class to "A" to get to high priority.
    If you are unable to edit the job then create a new job with the same variants by clicking STEP button in the Job screen.
    Try these steps, let me know if are able to do so.
    Regards,
    Ravi Kanth

  • How can I modify the speed of an titel?

    Hello,
    I have the following question. How can I modify the speed of an title.
    e.g. The "Starwars" Title.
    My problem is, that the words are flying in to quick.
    The people can not read the text...
    Thanks for your help!

    speed = length x time
    make you text shorter, or make the title appear longer to reduce speed.

  • How can I modify the new Hebrew language icon (א) to revert back to the Israeli Flag ?

    The Hebrew language icon in Mac has always been , at least for the last 20 years! However, in Yosemite, it's now א. How can I modify the icon? There must be a library of images somewhere in the System, where I can replace the icon...
    Thanks for your help!
    Eric

    The DOM Inspector (DOMi) has a menu item (Edit > Select Element By Click) and a toolbar button "Find a node to inspect by clicking on it" (left icon on the toolbar in the DOMi).
    * open the browser window in the DOMi (File > Inspect <b>Chrome</b> Document) and choose the first entry from the drop-down list.
    * click the "Find a node to inspect by clicking on it" button and use the keyboard (Alt Tab) or the Task bar to go back to the browser window (do not click in the browser window other than the title bar).
    * click that element with the mouse and keep the button pressed until you see a red border to indicate the the DOMi has located that element in the DOM tree.
    *DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/
    *https://developer.mozilla.org/Introduction_to_DOM_Inspector
    *https://developer.mozilla.org/DOM_Inspector

  • How can I modify the screen of TCode IW31/IW32/IW33?

    How can I modify the screen of TCode IW31/IW32/IW33?
    I'm trying to add new fields, so that after inputting the order type and hit on enter, a new field will be added under the Service area. Does anyone knows how can I do it?

    Hi,
    Screen badi's for IW31.
    IWO1_SCREEN_MODIFY
    IWO1_PREQ_BADI
    WOC_FL_DETERMINE
    Refer This:
    Screen exit for transaction IW31 for ref. object O150
    Regards,
    Shiva Kumar

  • How can I modify the Contacts Template to display additional fields with out selecting "add field" everytime?

    How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?

    Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
    public int compareTo(Object o1, Object o2)
    The compare method would cast the Objects to HairSalons and return the difference in price.
    Then use java.util.Arrays.sort(Object []);

Maybe you are looking for

  • Itunes conflicting with the DVD drive in windows 8.1

    Has anyone had any conflict on the DVD drive betweeen W8.1 and Itunes 11.1.3.8 i know its this as when i uninstall Itunes the conflict dissapears re-install itunes and the conflict re-appears which then renders the dvdv drive uselss. actually it does

  • 'bobj.crv.params.FlexParameterUI' is null or not an object

    I'm having a problem getting my report to display in the DHTML viewer.<br> <br> My test environment:<br> - Windows XP SP3<br> - Tomcat 5.5 with JDK 1.6.0_17<br> - PostgreSQL 8.4 (Windows version)<br> - Report designed using JDBC driver - postgresql-8

  • VA42 user exit to update contract start and end dates at header

    Hi. My requirement : In VA42, if a user changes a contract end date at item level, I want the change to be reflected at header level automatically. I have looked in MV45AFZZ, USEREXIT_SAVE_DOCUMENT and USEREXIT_SAVE_DOCUMENT_PREPARE. I am unable to a

  • BI Integrated Planning - Most Current Data in Query

    Hi Experts, I have a small question about Integrated Planning, for a better understanding. in a workbook I have a reporting query and a button. the button triggers a planning function that is executed at another query (which is not displayed in the w

  • Green frames when using AppleScript to export from QT

    Not sure if this is a QuickTime issue, h.264 issue, or an AppleScript issue, but i thought I'd start here since I know the least about AppleScript and have some clues to the problem. I'm creating an Automator workflow that requires a run AppleScript