Unable to edit wizard created SVG chart query

Hi,
I have a problem with an SVG chart that one of the HTML DB wizards created.
On the generated page the wizard created a selection list item named P30_SHOW.
This item allows to choose a table column based on which an SVG pie chart is generated.
The automatically generated chart query is:
select 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
"&P30_SHOW.", count(*)
from "TESTTABLE"
group by 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
"&P30_SHOW."
The page with selection list and chart worked fine at first.
But then, when I edited the chart's width on the respective 'SVG Chart Attributes' tab and pressed
the 'Apply Changes' button I got the following error:
'Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier)'
I only changed the chart's width, I did not touch the chart's query at all.
My theory is that HTML DB tries to validate the correctness of the chart's query.
However, the query references a session variable (P30_SHOW) that is
not defined in my development session. Consequently, the query is not valid in the
development context and is refused by HTML DB.
Now I have two questions:
1. Is my analysis correct, or are there different reasons for the error I do encounter?
2. How can I get around the problem? I'd like to use the automatically generated charts,
but also want to be able to edit them.
Thanks in advance for helpful comments.
Regards Holger

Scott,
I imported the application using the import/install process. A new application ID was created but was not changed in the chart query. The link was generated by the application wizard. The chart query link is below:
select 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW.", count(*)
from "O_DATA_COLLECTION_POINTS"
group by 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW."
The new application id is 101. It is impossible to modify this query because of message:
"1 error has occurred
Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier"
This happens even if nothing is changed in the query but just the apply changes button is pressed.
I had a similar problem with the breadcrumbs menu. The link was also pointing to the old application id 103 instead of the new application id 101. The way I got round that was to delete the breadcrumb template and create a new one. I then had to go through all the pages that referenced that and reset the breadcrumbs menu template in the region definition.
Thanks Arjen

Similar Messages

  • SVG Chart Query 'Length'

    Hi,
    I cause the following error to be raised when trying to save (Apply Changes) the query for an SVG chart:
    ORA-20001: set_attribute error: ORA-01461: can bind a LONG value only for insert into a LONG column
    The query just got 'longer' which prompts the question:
    Is there an upper limit to the length (number of characters) of the query ?
    Thanks for all and any help,
    sinclair

    I cannot answer your direct question, but if your SELECT statement is hard-coded and not generated from PL/SQL, I can offer a possible work around. You could create a database VIEW using your SELECT statement and query the view in your SVG chart.
    Mike

  • Creating SVG Chart with multiple lines

    Hi All,
    I want to create a chart with multiple lines.
    Ex: I have one emp table with empno, sal and deptno columns.
    I want to print deptno in x axis and no of employees on y axis.
    I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
    So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
    For one line the query will go as
    select link, deptno, count(empno)
    from emp where sal > 15000 group by null, deptno
    Is this possible to draw this chart?
    Thanks,
    Manoj

    I wasn't able to do something like what you describe, but I was able to do this:
    I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
    Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
    Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
    SG

  • Unable to edit PDF created by Word 2011 on Lion.

    Two weeks ago I upgrade my 24-inch iMac from Snow Leopard to Lion on which I am running Adone Acrobat 9 Pro (with all the latest updates).
    My challenge is that I am trying to edit a PDF file created using Microsoft Word 2011 for Mac.  When I print the file from Microsoft Word 2011 for Mac and click on the PDF button, the only option I see to create a PDF file is "Save as PDF", so this is the only option open to me.  (I seem to recall that there used to be a 'Save as Adobe PDF' optionm, that is no longer there.
    When I open the PDF file in Adobe Acrobat 9 Pro I get the folloiwng message:
    "Acrobat was unable tp make this
    document accessible because of the
    following error:
    Bad PDF; error in processing fonts.
    <unsupported Type 2 font>[1]
    Please not that some pages of this
    document may have been changed.
    Because of this failure, you are advised to
    not save these changes."
    Any thoughts as to how I can create a file using Microsoft Word 2011 for Mac and then be able to edit it in Adobe Acrobat 9 Pro?

    Steve,
    Might M. Kazlow's announcement be relevant?
    Announcement: Mac OS X.7 Lion Compatibility and Acrobat X
    Mac OS X.7 is not fully compatible with Acrobat X.
    Please see http://kb2.adobe.com/cps/905/cpsid_90508.html for more details.
    by MichaelKazlow at Jul 20, 2011 1:17 PM
    Be well...

  • Unable to edit or create profiles in X6 16gb

    Hello everyone,
    I bought my new X6 2 weeks ago and am experiencing some troubles. Particularly, when I go to Settings>Personal>Profiles and try to edit an existing profile, nothing happens at times. Also, it does not let me create a new profile.
    Please suggest.
    Thank you.

    I've had the same issue on my X6-00. Backing up 25GB of music licences isnt going to be an option for me after the last mess around I had trying to sort them all out on format when I was told a backup would save them.
    I initially thought it was a profile scheduler that was stopping me from managing profile but having just recently done a hard reset I've now got the problem back without having profile management on the handset.
    Frustraiting to say the least. Its a love/hate relationship with this handset.  This issue has been around since f.w 11 and is still present.

  • SVG charts and performance

    Hi everybody!
    I am playing a little bit with charts at the moment.
    Therefore I created a query, which takes app. 2 seconds in the SQL Command Processor.
    Then I created a region with a pie chart (SVG chart).
    When I run the page, it takes several minutes until the chart appears (it is unacceptable).
    1.) Does anybody have an idea, why this takes so long?
    2.) Has anybody a better understanding of the SVG charts? How is the chart created, when the query was run? Is it created within the webserver and just displayed in the browser plugin? Or does the webserver just prepare some data and the chart is created within the browser plugin?
    3.) How can I improve the performance of creating SVG charts?
    4.) Are there other possibilities existing for creating charts?
    Thank you for your help in advance and best regards,
    Christian

    Hi Christian,
    There may be lots of issue about the performance of the SVG chart.As far my knowledge goes you must have install Adobe SVG Viewer to the local machine for the browser to initiate HTMLDB Webserver (which is nothing but PL/SQL embedded gateway accessed through MOD_PL/SQL) with the chart viewer plugins.Now if u have so complex query with huge records ,aggregate function and group by that might be a performance issue in case of SVG.
    May be some guys from HTMLDB Team can direct us......
    Cheers,
    ROSY

  • Unable to edit or add in contacts list ?

    Why am I unable to add or edit in my contacts list ?  Will I need to back up on desktop manager, wipe phone and start over?

    icallem1 wrote:
    Why am I unable to add or edit in my contacts list ?  Will I need to back up on desktop manager, wipe phone and start over?
    Hi icallem1,
    Unable to edit or create new contacts on the BlackBerry Address Book
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

  • Unable to edit Visio 2013 drawing in Powerpoint 2013

    Hello,
    I'm unable to edit drawings created in Visio 2013 that I've embedded in Powerpoint 2013 - they copy over as pictures and I can only edit them as such.
    Interestingly, I CAN edit Visio 2013 drawings that I have embedded in Powerpoint 2002/XP.
    I'm embedding by simply copying the drawing and then pasting on the slide.
    Thanks,
    Tyson

    Open PowerPoint 2013, go to Insert tab > Object > Create a new "Microsoft Visio Drawing", I can edit the drawing what I wanna edit.
    open Visio 2013, create a new Drawing File and save as .VSDX file format, and then drag and move this file into a new creaing PPT, I can still edit it as expected.
    A bit more background information and your exact steps how you got to this point would be helpfu
    Tony Chen
    TechNet Community Support

  • Unable to edit or add tin contacts list.

    I will try again and hope I have entered all relavent information. I have a 8530 curve, I am having issues with my contacts list. I have tried to add and or edit. I am able to get to the screen and press edit and or add contacts, but after I click on them the phone does nothing. Please assist.

    Hello Bill
    This has been an ongoing issue for Blackberry phones OS5 and below. Please check the link below:
    Unable to edit or create new contacts on the BlackBerry Address Book
    Ron
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter

  • Dynamic Query in SVG Chart

    Hi,
    I have SVG Chart, Chart Type: Cluster Bar, Vertical. I have 4 Chart Series. First:
    SELECT null link, X.MESIC
    FROM [email protected]
    WHERE ..........
    I have given dynamic Chart Series Query:
    'SELECT null link, X.MESIC
    FROM '||adm||'.[email protected]
    WHERE .........."
    but Apex write error:
    1 error has occurred
    Failed to parse SQL query
    Please help as in what am i missing?

    You can either use a SQL query or a function returning SQL query as the source of your chart. Just adding some quotes to a query however doesn't make it dynamic nor a function. Try something like this:
    begin
    return 'select null, ename, sal from emp';
    end;
    Edit your existing chart source, and check "Save query without validation", so that APEX doesn't attempt to parse and validate the query when saving.
    Hope this helps,
    Marc

  • Unable to create report. Query produced too many results

    Hi All,
    Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
    the large amount in the grid anyway?
    I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
    Here Event Viewer log error at the server:
    1. An exception occurred while running a report.  The following details may help you to diagnose the problem:
    Error Message: Unable to create report. Query produced too many results.
            <br>
            <br>
            Contact the administrator for more details.
    Dashboard Name:
    Dashboard Item name:
    Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
    Request Duration: 6,220.93 ms
    User: INTRANET\spsdshadmin
    Parameters:
    Exception Message: Unable to create report. Query produced too many results.
    Inner Exception Message:
    Stack Trace:    at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
       at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
    PerformancePoint Services error code 20604.
    2. Unable to create report. Query produced too many results.
    Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
       at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
    PerformancePoint Services error code 20605.
    Thanks in advance for your help.

    Hello,
    I would like you to try the following to adjust your readerquotas.
    Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
    On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
    Locate and change the the below values from 8192 to 16384.
    Open the Client.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
    Locate and change the below values from 8192 to 16384.
    After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
    <readerQuotas
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
                  maxDepth="2147483647"
    />
    Thanks
    Heidi Tr - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Unable to edit Web Intelligence query

    We have a Web Intelligence report with multiple queries based on what I believe to be local data sources (text files/excel). The problem that we are having is that we need to make modifications to the report's queries but when we go to edit them we get a message saying "This query cannot be edited". I believe this is happening because "Editable" was deselected in the query properties but cannot be certain.
    The report was created by a contractor who has recently left the company and no longer available to make updates. Is there any way to get back in to edit the query? Is there something else that may be causing the query to not be editable?

    As John said that it is a permission issue. I had same case like that and I resolved my problem with following below steps ( It will be best to logging in as an Administrator account to CMC)
    CMC-> Access Level -> Included Rights -> Application -> Web Intelligence -> Desktop Interface - enable local data providers
    Hope this helps, who are searching same case.

  • Dynamic SVG Chart Pie query

    Hi,
    I am trying to build a page that displays an SVG pie chart with the following query:
    SELECT '', "&P4_SHOW.", count(*)
    FROM "MY_TABLE"
    GROUP BY null, "&P4_SHOW."
    ORDER BY "&P4_SHOW."
    where P4_SHOW is a list of columns of the table 'MY_TABLE'.
    However, I get the following error when I try to save the chart definition:
    Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier)
    Thanks for your help.

    you're unfortunately not going to be able to build your svg chart off that query in the current build of html db. to explain the issue real quickly, P4_SHOW doesn't have state while you're working in the development environment. because of that, your query's being run as something like...
    SELECT '', "", count(*)
    FROM "MY_TABLE"
    GROUP BY null, ""
    ORDER BY ""
    ...and you'll get that same "illegal zero-length identifier" in sqlplus if you try to run it there. we'll hopefully be able address this issue in a post-production release of the tool, but the best work-around for now would be for you to add multiple svg regions to your page. have one region per column of MY_TABLE and conditionally display the appropriate region based on P4_SHOW.
    hope this helps,
    raj

  • I am unable to edit pdf documents I have created or that others have sent me for review.

    I am unable to edit a pdf document I have created or edit others sent to me for review.  How do I do this with my current subscription?

    "... my version of pdf ..."
    PDF is the file format/technology described and defined by/in the ISO Standard ISO 32000.
    As PDF is not a software application there is, of course, no application related "tools" (e.g., Typewriter, etc.).
    Again, it comes down to what exactly you have subsribed to.
    Upon subscription to any of Adobe's subscription services you do get an email from Adobe that declaritively states what you've subscribed to.
    Let us know what it says eh.
    Be well...

  • SVG Chart Setup

    Hi everybody,
    I have I think a simple question but I don't find the issue.
    I've created a SVG Chart with 3 Series Name Query. I need to see 3 Series based on Month. My month is on 2 digit : 10 for October, 11 for November...Etc...but for this case, on my graph I see 11 before 10 on the Axis area. Could you tell me where can I make an order on my query ? I tried to add order by on my 3 query but It doesn't work and my graph is grey.
    I'm sorry for my english.
    Olivier

    Thank you for your reply, find below my 3 queries
    Series Name Query
    1.
    select null link, d.month, sum(data.nbr) Delivered
    from online_data data, online_date d
    where data.date_events = d.date_events
    and data.kpi_id = 2
    group by d.month
    2.
    select null link, d.month, sum(data.nbr) Opened
    from online_data data, online_date d
    where data.date_events = d.date_events
    and data.kpi_id = 4
    group by d.month
    3.
    select null link, d.month, sum(data.nbr) Submited
    from online_data data, online_date d
    where data.date_events = d.date_events
    and data.kpi_id = 5
    group by d.month
    The field Month is a numeric field : 1 / 2 / 3...until 12 for month
    But my graph is like this
    http://img47.xooimage.com/files/e/7/3/chart-8b04ad.png
    You can see that my graph start with 11 on axis area and finish with 10...il would like to order by ASC
    Edited by: user1642453 on Dec 3, 2008 6:41 AM

Maybe you are looking for

  • Customer Exit Variable in formula to get values for multiple keyfigures

    Hi to all, I have query as defined in following scenario: CHAR_X     C_KF1 (based on KF1)     C_KF2 (based on KF2)     u2026     C_KFn (based on KFn) Value1                     Value2                     u2026                     Valuem              

  • Is there a setting to make a PDF print with no background and black text?

    I made a nice booklet that has colorful blocks in the background and sometimes white text and sometimes black text. We are not going to print it, it is just going to be a PDF on our website. Can I set it up so that it always prints without the backgr

  • Different exchange rate type for budgetting internal orders

    Hi, we would like to use a different exchange rate types when budgetting on internal orders depending on the order type. In our current set-up  the internal order types are linked to a budget profile, in this budget profile we have specified the exch

  • Accessing other classes in the same package

    I have the following two classes in the same package. Why cant I access the myString vairable from Test2 like I try and do below? package test; class Test1 {      public static String myString = "Hello world"; package test; class Test2 {      static

  • Error in RFx : Item type 'Service' not allowed for this Item

    hi , experts,   We use SRM7.0 in Standalone scenario .   i get an error when i transfer SC to RFx :     Line 0001: Item type 'Service' not allowed for this Item . if someone kindly tell me how to correct this Error.   another question is ,in the Stan