Runtime Parameter is failing if it contains apostrophe (')

Hi All,
I have created a simple report in standalone BIP (10.1.3), which has product name as parameter. When we select product, report will display its sales information. In the data set we are not able to get the product number. So we are printing product name in the header using dynamic parameter
<?param@begin:varProduct?>
and in the header <?$varProduct?>
Its working displaying as expected. But when product contains apostrophe ('), program is erroring out. I am able to get the xml data if i select the output type as data. But it is erroring out when i select a template.
Please help.

Sattti,
The easiest way would be to pass the parameter into your sql query select list and use a replace function to replace the apostrophe with &apos;
Now reference this column, instead of a parameter, in your template header/body.
Thanks
-bifacts
http://www.obinotes.com

Similar Messages

  • String containing apostrophe sign passed to text field via binded parameter from XDP displayed wrong

    Hello,
    I have a text field that is bound to a String field in XDP, sometimes when the field contains apostrophe sign (') generated PDF displays &#39; instead, for example if the value is he's it shows he&#39;s
    The field format is plain text only.
    The problem only appears occasionaly and rarealy and I can't find the reason and can't even reproduce it anymore.
    Maby someone has encountered such problem and know the reason why it happens or conditions for it to happen and the means to fix it?

    I don't want to be one of those that gives meaningless advise but I'm keen to 'give back' to this forum so here goes ... maybe completely up the wrong tree ...
    I'll assume you're generating the XDP on a server and then passing that to the browser as a content type "application/vnd.adobe.xdp+xml"
    Have you also tried setting the character set to UTF-8 ?  I use ASP and have "response.CharSet = "utf-8" " in my header.

  • Reports-Runtime Parameter Form

    hi!
    I made a report which contains quite a lot of data; so I
    also created a user parameter for the runtime parameter form, so
    the user can select one value so that the amount of data is
    minimized; the user parameter is based on a select statement;
    now my question: the way it is now the user can only make one
    selection, how can he see all records and is not forced to select
    a single value?
    thx, michaela
    null

    Michaela (guest) wrote:
    : hi!
    : I made a report which contains quite a lot of data; so I
    : also created a user parameter for the runtime parameter form,
    so
    : the user can select one value so that the amount of data is
    : minimized; the user parameter is based on a select statement;
    : now my question: the way it is now the user can only make one
    : selection, how can he see all records and is not forced to
    select
    : a single value?
    : thx, michaela
    Hi Michaela,
    I Understood that you have created user parameter based on
    select statement which will display list of values in List item
    in the Runtime Parameter form. User can select any one value
    from the list & display the records for selected value in the
    parameter form. But your question looks like user should have
    facility to select all the value in the list from the runtime
    parameter form.
    Example : Display list of deptno in the Runtime parameter form.
    If user selects any one deptno, display employee
    details for the selected deptno. Also user should
    have option of selecting records for all the dept.
    1. Create user parameter P_DEPTNO based on following select
    statement.
    Select deptno from dept
    Union
    Select 'ALL' from Dual
    2. Create the Query for the report as
    Select *
    from Emp
    Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
    So user will have option of specifying condition to
    select all the records for all the deptno as well as user
    can specify particular deptno.
    I hope this may help you to solve your problem. Pls let me
    know whether this helps you or not.
    Mani/-
    null

  • Invoking runtime parameter form from Oracle forms 10g.

    Hi all,
    I am using Oracle 10g DS.
    I have cretaed a form containing a button. when i pressed that button
    the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
    so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
    can anybody helpout....
    thanks in adv.
    Venkat.

    copy the question to the report forum as well :
    Reports

  • Error running reports Parameter validation failed

    Hi All
    I have a user who gets an error when running reports from a remote console. If I log on with my account on his console I am able to run the report..
    I have checked a few things and now open to some suggestions.. please
    SMSAdminUI.log
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object ResourceID=83886343";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1198;
     Operation = "GetObject";
     ParameterInfo = "SMS_MachineSettings.ResourceID=\"83886343\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n
    [17, PID:8664][10/23/2014 08:27:20] :System.Management.ManagementException\r\nInvalid class \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
    instance of __ExtendedStatus
     Operation = "ExecQuery";
     ParameterInfo = "SELECT * FROM SMS_Identification";
     ProviderName = "WinMgmt";
    \r\n
    [23, PID:8664][10/23/2014 08:27:59]  Parameter validation failed. It is not possible to provide valid values for all parameters. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible
    to provide valid values for all parameters.

    ReportServerService.log
    (/ConfigMgr_J01/Site - Discovery and Inventory Information/Computers with duplicate MAC addresses).
    library!ReportServer_0-20!358!10/24/2014-10:18:47:: i INFO: Call to GetPropertiesAction(/ConfigMgr_J01/Site - Discovery and Inventory Information, PathBased).
    library!ReportServer_0-20!358!10/24/2014-10:18:47:: i INFO: Call to GetReportParametersAction(/ConfigMgr_J01/Site - Discovery and Inventory Information/Computers with duplicate MAC addresses).
    processing!ReportServer_0-20!358!10/24/2014-10:18:47:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not
    possible to provide valid values for all parameters.;
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetItemTypeAction(/).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetItemTypeAction(/).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_J01/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetPropertiesAction(/ConfigMgr_J01, PathBased).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetItemTypeAction(/).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_J01/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to CreateDataSourceAction({5C6358F2-4BB6-4a1b-A16E-8D96795D8602}, /ConfigMgr_J01, True).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to ListTasksAction(Catalog).
    library!ReportServer_0-20!358!10/24/2014-10:18:50:: i INFO: Call to SetPropertiesAction(/ConfigMgr_J01).
    processing!ReportServer_0-20!358!10/24/2014-10:19:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not
    possible to provide valid values for all parameters.;

  • Multiple Users on one PC sharing Java Runtime Parameter setting

    Is there a way to have mutiple logins share the -Smx512m setting in Java Runtime Parameters. It seems that when each person logs into the PC to use the application we have to enter the same Java Runtime Parametes again. Is there a way to add it once and every login uses it?
    Thanks,
    DLS

    I have read the Deployment Configuration file and Properties and do not see how the -Xmx51m should be added to the deployment.properties.
    Also it would seem you would need to use the deployment.system.config file so it would be used by all users on the PC.
    Again I can not see an example of how to put in the "Java Runtime Parameters" in the deployment.system.properties file.
    Has anyone done this before and could lead me in the correct directions?
    Thanks,
    DLS

  • How to set runtime parameter for the entire system

    Hi,
    I have a problem with setting runtime parameters in jre v1.6.0_07. I have an XP computer with multiple users and to use the application eavery user must set the runtime parameter once by going to java control panel -> Java -> Java applet runtime settings -> view. How can i automate this? I have multiple users and there may be more users logging in so manually sending the C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file to all profiles is not a solution. Same question here but no solution. Every user must get this parameter when they log in, they may be new users or existing users. The software I'm trying to use is browser based, we don't trigger an exe or something from local to run the software.
    In C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file there is a line like this;
    deployment.javapi.jre.1.6.0_07.args=
    This works for a single user. I've read the instructions in [deployment guide|http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html] but the properties file we put in C:\WINDOWS\Sun\Java\Deployment does not support ".args=" command. Anyone encountered or have a solution for this problem?
    Thanks.

    Hi,
    got solution for this problem? I am also having the same problem.
    Thanks.

  • How to hide the window of Runtime Parameter Form?

    I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
    Please help me!

    When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');

  • Java 2 runtime Environment setup failed with a return code of -1

    Hi!
    I have tried to install sdk 1_3_1_01 on Windows 2000 with ServicePack 2 and the error "Java 2 runtime Environment setup failed with a return code of -1" occured. As I saw, a lot of people has the problem but couldn't find a solution on this page!
    Please help !
    Me

    I've installed 1.3.1_01 on both W2K Workstation and Server, no problem. There's a bug report, but no workaround or solution.
    http://developer.java.sun.com/developer/bugParade/bugs/4412291.html
    and it's supposedly 'fixed' in 1.4.0 beta.
    http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-beta2.html
    You might try installing the beta version
    http://java.sun.com/j2se/

  • Parameter validation failed. It is not possible to provide valid values for all parameters

    I'm trying to test passing in parameter values from the URL.    I have RS 2008 .   I created an ultrasimple report based on a stored procedure output.  There is no validation, No available values, No default values.  
    I'm trying to run the report like this:
    /Reports/Pages/Report.aspx?ItemPath=%2fProduction%2fDBA+Reports%2fTest&iTest=1
    I get:
    Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)
    the one int parameter is iTestId 
    The RS log file says the following:
    processing!ReportServer_0-54!9138!01/25/2013-09:22:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters., ;
      Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters.
    What am I missing?

    Hi F-ram,
    From your description, you want to pass multiple parameters via URL, right? To pass multiple parameters through URL, we can use an ampersand (&) to separate them. For example, I have a report with two parameters p1 and p2. The report is deployed in a
    folder on the Report Server. When I navigate to the report on the Report Server, I can see the report URL is http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render.
    If I need to pass parameters through URL, I can just add &p1=value1&p2=value2 at the end of the URL and the entire URL would be http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render&p1=value1&p2=value2
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Java console runtime parameter not working

    I'm tring to increase the size of memory available to my applet by adding a java runtime parameter in my Java Console. The runtime parameter is: Xmx512M
    Which changes the deployment.properties file to:
    #deployment.properties
    #Mon Nov 22 14:46:50 GMT-06:00 2004
    deployment.browser.vm.iexplorer=true
    deployment.browser.vm.mozilla=false
    deployment.version=1.5.0
    deployment.console.startup.mode=SHOW
    deployment.system.tray.icon=true
    deployment.capture.mime.types=true
    deployment.browser.path=C\:\\PROGRA~1\\MOZILL~1\\FIREFOX.EXE
    #Java Web Start jre's
    #Mon Nov 22 14:46:50 GMT-06:00 2004
    #Java Plugin jre's
    #Mon Nov 22 14:46:50 GMT-06:00 2004
    deployment.javapi.jre.1.5.0.args=Xmx512M
    deployment.javapi.jre.1.5.0.osname=Windows
    deployment.javapi.jre.1.5.0.osarch=x86
    deployment.javapi.jre.1.5.0.path=C\:\\Program Files\\Java\\jre1.5.0
    But when I run the applet I find that my max memory has not been changed from the default (65MB). I can thell this by outputting the max memory:
    System.out.println("Memory Max = " + Runtime.getRuntime().maxMemory());
    This line results in the output:
    Memory Max = 66650112
    So this output makes me believe that the runtime parameter is not being set correctly . When I run my applet in an executable jar locally (java -Xmx1024M -jar myApplet.jar) it sets the runtime parameter fine and memory is increased as expected.
    Am I doing something wrong in the Java Control panel? Is my syntax incorrect?

    I had no problem using IE6 or mozilla 1.7.3
    html file
    <OBJECT ID="SUN" WIDTH=500 HEIGHT=120 CLASSID="CLSID:8AD9C840-044E-11d1-B3E9-00805F499D93">
    <PARAM NAME="code" value="Test.class">
    </OBJECT>class file
    public class Test extends java.applet.Applet {
        public void init() {
              System.out.println("Memory Max = " + Runtime.getRuntime().maxMemory());
    }deployment props
    #deployment.properties
    #Fri Nov 19 10:38:15 CET 2004
    deployment.browser.vm.iexplorer=false
    deployment.browser.vm.mozilla=true
    deployment.version=1.5.0
    deployment.console.startup.mode=SHOW
    deployment.system.tray.icon=true
    deployment.capture.mime.types=true
    deployment.browser.path=C\:\\Program Files\\Internet Explorer\\iexplore.exe
    #Java Web Start jre's
    #Fri Nov 19 10:38:15 CET 2004
    #Java Plugin jre's
    #Fri Nov 19 10:38:15 CET 2004
    #deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    deployment.javapi.jre.1.5.0.args=-Xmx512M
    deployment.javapi.jre.1.5.0.osname=Windows
    deployment.javapi.jre.1.5.0.osarch=x86
    deployment.javapi.jre.1.5.0.path=C\:\\Program Files\\Java\\jre1.5.0Output of the applet:
    Memory Max = 532742144

  • Java runtime parameter (-classpath)

    Hi,
    Does anyone know how to programmatically set the java-runtime-parameters?
    I need to set them to: "-classpath c:\jar\test.jar"
    My goal is to access test.jar thru the ActiveX Bridge, and test.jar is not inside the "applet" folder (nor the "ext" folder). Note: ActiveX bridge uses the java plug-in which has a default path to the applet folder, I need to programmatically set a java-runtime-parameter "-classpath" to c:\jar\test.jar...
    (I know that you can set the java-runtime-parameters thru control panel - java plug-in, but this will not work for what I am doing, I need to do it on the fly programmatically).
    Gene.

    People I have tried this after trying all that I could fine on the internet,
    What did not work is as follows:
    1) Setting "-Xmx512m", where "512" should be replaced by 3/4 of the system
    physical memory size.
    2) Also enable "<APPLET> tag support" for Internet Explorer. Apply settings.
    This worked for some.
    3) Also tried uncheking the box for <APPLET> but that was not to work.
    "What --WORKED-- for me at last was:"
    1. Uninstall Internet Explorer 7.
    2. Restart System.
    3. Uninstall Java 1,5 with Update 9(that was installed)
    4. Install Java version 1.5 with upgrade 5 from the link:
    http://www.tucows.com/preview/194327
    5. Then go to Start, Run, type
    iexplore
    and hit Enter.
    Try the sites now.. It works:)
    6. Then disable update for Java in Control panel. (Also do not update IE or
    JAVA after that)
    Hope this help ya all!!!

  • Microsoft Visual C++ Runtime Library Assertion Failed error after Adobe update

    After the last update of Adobe, I get a Microsoft Visual C++ Runtime Library
    Assertion Failed
    File: common\npn_gate.cpp
    Line: 267
    How do I fix this?

    I followed the instructions from this page:
    http://answers.microsoft.com/en-us/windows/forum/windows_other-gaming/microsoft-visual-c-r untime-library-error-assertion/b06cb36b-6d13-4aad-9971-6476892767c1
    It isolated the problem and it is gone. It took about 1 hour of time to go 
    through it all, as I had not done anything like this before. I hope this 
    helps!

  • Reports-Runtime Parameter Form; another question

    hi!
    I would like to implement 2 user parameters in the runtime
    parameter form which depend on each other: with the first one you
    can select a special ressort and depending on the selection you
    made here you can select some keyword groups with the second one;
    but I don't know how the select statement for the second user
    parameter should look like, because it is not allowed to use
    'Bindevariablen' (sorry, don't know what they are called in
    english; this are the ones with the : in front of them):
    here is what I tried to do:
    parameter: P_1
    select rs_id, rs_name from tb_ressort union select 99999, 'alle
    Ressorts' from dual order by 1
    parameter: P_2
    select kwg_id, kwg_group from tb_keyword_group union select
    99999, 'ALL' from dual
    and here I wanted to add a where clause: where rs_id = :P_1
    but this doesn't work
    Any other ideas?
    thx in advance
    null

    Michaela (guest) wrote:
    : hi!
    : I would like to implement 2 user parameters in the runtime
    : parameter form which depend on each other: with the first one
    you
    : can select a special ressort and depending on the selection you
    : made here you can select some keyword groups with the second
    one;
    : but I don't know how the select statement for the second user
    : parameter should look like, because it is not allowed to use
    : 'Bindevariablen' (sorry, don't know what they are called in
    : english; this are the ones with the : in front of them):
    : here is what I tried to do:
    : parameter: P_1
    : select rs_id, rs_name from tb_ressort union select 99999, 'alle
    : Ressorts' from dual order by 1
    : parameter: P_2
    : select kwg_id, kwg_group from tb_keyword_group union select
    : 99999, 'ALL' from dual
    : and here I wanted to add a where clause: where rs_id = :P_1
    : but this doesn't work
    : Any other ideas?
    : thx in advance
    Hi Michaela,
    I think this will generally not work in reports parameter form;
    the parameter values are available first when the report is
    started, and the first point to reference them is in the
    after-parameter-form trigger. I think you get the message
    from the report builder 'REP-0781: Bind variables not allowed in
    the Select statement'.
    The only idea I have is to write a parameter form with Forms,
    with two LOV's attached to two items wich CAN reference each
    other. Then use add_parameter and run_product to start your
    report. This seems to be more complicated then using only
    Reports, but it isn't and it works.
    peter
    null

  • Customizing Runtime Parameter Form

    Hi
    I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
    1) I've created a report definition file access through portal and successfully run the report.
    2) I've copied the run link which is something like -
    PORTAL_DEMO.TEST_REPORT.show_tabpage
    3) I've created a dynamic link such as -
    http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
    4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
    could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
    see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
    http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196

    Hi George
    After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
    Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
    Thanks
    the Oracle Reports team

Maybe you are looking for

  • How do I setup a php testing server that connects to my web host?

    My web host (webhostingpad.com) has php on it. I need to setup a testing server that connects to this so I can test my site locally. My questions are: 1. Do I set this up as a local network connection or an sftp (same as my remote)? 2. what informati

  • Can i use mac mini with my mac book pro?

    just want to separate business from personal stuff.. and be able to bring work home with the hard drive. can I use the laptop monitor? and how exactly? thanks.

  • Dynamic field in where clause

    Hi all, I have a requirement to dynamically select some data into an internal table using table name,table field as parameter and a select option for that field.I am using field symbols for this. Now , i am not able to formulate my select query based

  • Can anyone help me find a suitable iPad case?

    Can anyone recommend an iPad case that will protect my iPad when carrying it around in a rucsack -- or a site that will give me some reviews of cases? I can find lots of cases in the shops, but nowhere giving me advice about what type I need. I'd lik

  • Instant messaging

    Hi All, This Question is Just for General knowledge, Is there any way of sending a Instant message from a R/3 client to a BW client. I heard there are some sendings ,thru which v can send message from Cross clients ( r/3 to bw and vice versa) The mes