Editing XML Invalidates Prompts

I renamed a subject area, dashboard and catalog folder; and I changed the corresponding references in dashboard, requests, prompts and filters by editing their XML from the Catalog Manager.
Editing requests this way worked fine, and I have not run into any problems with filters and dashboard. However, Answers appears to stop recognizing at least one prompt when I change the XML. When next I copy this prompt over again from the original folder and rename, it is then recognized as a prompt (although it still uses the wrong subject area).
When I extract, edit, and paste back the XML (to change the subject area references), the object type in the catalog manager is changed from "Dashboard Prompt" to "coxmldocument1" and answers shows it with a different icon and cannot edit it. If I edit the XML in place to change the subject area names on the column blocks; then the Object Type in the catalog manager remains OK, but I still cannot edit this prompt in Answers.
A bunch of other prompts had the Prompt object type for a while, but no show the "coxmldocument1" type. Answers won't even show their folder in the side pane, but if I try to save a request, I can see that folder in the save navigation options.
How can I edit prompts without these problems, please? Why is the folder hidden in the selection pane, but not the save dialogue?
Thanks in advance for help.

Choosing the simplest and smallest of the prompts,
Original:
<?xml version="1.0" encoding="UTF-8"?>
<saw:view xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="saw:globalFilterPrompt" rptViewVers="200510010" scope="page">
<saw:prompt type="columnFilter" formula="&quot;Organization Dim&quot;.Component" subjectArea="&quot;Enterprise Inventory Visibility – Unit Issue Closure&quot;" eOperator="in" eControl="multi" includeReportDefaults="true" includeAllChoices="true" columnID="c0">
<sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1" xsi:type="sawx:list" op="in">
<sawx:expr xsi:type="sawx:sqlExpression">"Dim Depot Component".Component</sawx:expr>
</sawx:expr>
</saw:prompt>
</saw:view>
Modified:
<?xml version="1.0" encoding="UTF-8"?>
<saw:view xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="saw:globalFilterPrompt" rptViewVers="200510010" scope="page">
<saw:prompt type="columnFilter" formula="&quot;Organization Dim&quot;.Component" subjectArea="&quot;Unit Receipt Tracking&quot;" eOperator="in" eControl="multi" includeReportDefaults="true" includeAllChoices="true" columnID="c0">
<sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1" xsi:type="sawx:list" op="in">
<sawx:expr xsi:type="sawx:sqlExpression">"Dim Depot Component".Component</sawx:expr>
</sawx:expr>
</saw:prompt>
</saw:view>
The only change is the subject area name; all punctuation is retained intact.
Edited by: user10233021 on Jun 3, 2009 4:32 AM

Similar Messages

  • How to disable Edit in Multiselect Prompt

    Hi ,
    I've selected mutiselect prompt in my dashboard, Can any one let me know the scripts to disable the edit button in prompt.
    Thanks,
    Malli

    Hi ,
    Just try to remove the following code in
    OracleBI\web\msgdb\messages\promptviewtemplates.xml
    Under WebMessage name="kmsgGFPMultiSelectEditDialog" translate="no">
    in that file remove the below code
    sawm:setParam name="editor">
    <textarea cols="40" rows="7" id="idGFPMultiSelectEditArea" class="EditTextArea" />
    </sawm:setParam>
    So that even if you click edit option it will allow you to edit.If you want to remove that completely just check the same xml file you may get some option.
    I think this is helpful for you.
    Thanks,
    Ananth

  • How to edit xml using AS3

    I want to edit xml file on run time dynamically using AS3
    Plzzzzzzzz if it possible send the tutorials links or sample script.

    Flash player 10 has support for accessing local system file. This can be done using the FileReference class. You can browse a loca file, rad it and then save it back. But at the time of saving, the user is prompted to choose a location for saving the file.
    Else you can use some server side technology with your app to read and write files.

  • How can I edit XML results ?

    Hi,
    In the documentation I read about how to get the results of a query (in .xsql) as a XML-page using the XSQL Servlet. With forms I can insert data into the Database, but what about retrieving data from it and immediately edit and update it (combination of the two) ?
    What is the easiest way to achieve that ? I just want to update my data using XML as a data interchange format...
    thanks,
    Erik

    One of the difficulties would be locking
    your record.
    Without locking, it's just a matter of
    writing your XSL to enter data as a default
    value into text fields in a form.
    You could also use Transviewer Beans to
    create a Swing app to edit XML files.
    null

  • How to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 using ftp

    how to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 device using ftp through Ethernet

    Hello
    For using FTP function in LabVIEW, I recommend you to check this document: FTP Basics
    Also, take a look at FTP Browser.vi, which is available at the Example Finder.
    To edit a XML file, try to use VIs in XML palette. Maybe Write to XML.vi helps you.
    Post your current VI if possible.
    Regards
    Mondoni

  • Editing xml in java

    hello everybody,
    i'm trying to write a java application for editing xml documents.
    I know It is possible to use xsl stylesheets to transform xml documents but it is possible to display the result of the transformation process in java?
    I mean,
    I make the transformation XML --->XSL ---->but i don't want to view the output in a browser!! I want to view that in my java application !!
    Can i display this output in swing objects?? Can i modify this output??
    Thanks to all.

    I make the transformation XML --->XSL ---->but i don'tYou mean XML+XSLT=>XML
    want to view the output in a browser!! I want to view
    that in my java application !!
    Can i display this output in swing objects?? Can i
    modify this output??Here is an example for saxon:
    // I didn't compile or run this code, please refer to API documentation for more detail instructions.
    // Transformer factory.
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    // XML source file
    File source_file = new File("xml_file.xml");
    // output file
    File outputFile = new File( "output.out");
    // Transformation source
    Source source = new StreamSource(source_file);
    // Transformation result
    out = new java.io.FileOutputStream(outputFile);
    StreamResult result = new StreamResult(out);
    result.setSystemId(outputFile.toURI().toString());
    // Must be synchronized by factory, since factory isn't thread safe
    synchronized (transformerFactory) {
    // obtain a transformer
    transformer = transformerFactory.newTransformer(new StreamSource(new File("xslt_template.xsl")));
    // perform transformation
    transformer.transform(source, result);
    As you can see, you easely can redirect result to your Swing editor.
    If you don't want to bother about streams and so on, you can use this example to write the result into the file, and open the file in your editor.

  • Editing XML in Dreamweaver

    Can you view and edit XML documents in dreamweaver?

    Yes;
    "paul_carron" <[email protected]> wrote in
    message
    news:ev00cn$ila$[email protected]..
    > Can you view and edit XML documents in dreamweaver?

  • How to edit xml using jdom

    hi
    how to read and edit xml file using jdom, i tried using
    javax.xml.transform.*; // JAXP
    javax.xml.transform.dom.DOMSource; //
    i can read xml file . but iam not able to edit the xml file.
    how to achive this

    1. Select nodes to be modified with the JDom XPath class selectSingleNode and selectNodes methods.
    SAXBuilder saxBuilder=new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    org.jdom.Document jdomDocument=saxBuilder.build(new File("c:/input.xml"));
    org.jdom.Element node= (org.jdom.Element)(XPath.selectSingleNode(jdomDocument,"/root/node"));
    2. Modify the node values with the Element class setter methods.
    3. Output document with the XMLOutputer class.

  • Editing XML File

    Any idea or url around for an example how to edit XML files
    with ASP.VB ?
    thanks fpr any reply
    Sebastian

    To modify an XML document obtain a DOM stucture of the XML file, select nodes with XPath expression, and modify nodes.
    http://otn.oracle.com/pub/notes/technote_domparser.html

  • Can you edit xml files in adobe contribute

    can you edit xml files in adobe contribute

    No, you can't even open them in recent versions of PSE.

  • Help required to edit xml document

    I am new to java and xml compatibility.I just had familiarised SAX parser.
    I now want to familiarse the technology to edit xml document from a java program(more precisely write to an xml file).I came to know about many methods - JAXP DOM method,JAXB api method - and is totally confused.
    Can any body give me guidance about these api's and suggest a method that
    i should follow?
    i repeat that my application will have to frequently edit xml files
    Thank you

    Hi,
    it's very easy to edit and create XML. See examples in docs: http://livedocs.adobe.com/flex/3/langref/XML.html#includeExamplesSummary
    There are many examples how to get attributes and other data.
    You also can set attributes the same way.
    If you have concrete questions, ask.

  • Editing XML Through NAL

    Hey All,
    I am having a lot of trouble editing XML files through the NAL. I was
    hoping to be able to do it easily using the text editor built into the
    NAL, but have had no success. Changing the file extension to txt doesn't
    help either. Pretty much everyhtng leads to crashing the NAL or buffer
    overruns. Any help would be greatly appreciated.
    Thanks,
    Matt

    On Wed, 07 Nov 2007 20:40:26 GMT, Matt wrote:
    > I am having a lot of trouble editing XML files through the NAL. I was
    > hoping to be able to do it easily using the text editor built into the
    > NAL, but have had no success. Changing the file extension to txt doesn't
    > help either. Pretty much everyhtng leads to crashing the NAL or buffer
    > overruns. Any help would be greatly appreciated.
    what do you mean with editing xml through NAL?
    do you mean an application objects which changes stuff in a text file?
    if yes, how big is the text file, are there any special characters, doesn
    the file contain the stuff you want to change more than once?
    Marcus Breiden
    If you are asked to email me information please remove the - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.didas.de

  • Adobe Digital Editions won't prompt to authorize e-reader.

    I want to authorize my new Nook WIFI (and my WIFI is down).  I downloaded and installed Adobe Digital Editions, created an Adobe ID and authorized my computer.  I have downloaded books to my computer.  With ADE open, I plugged in my Nook. ADE detects it but DOES NOT ask to activate.  I pressed Ctrl +shift+E.  Unplugged the nook and replugged it.  Under J drive I opened the Nook drive and deleted the file entitled adobe.digital.editions.  I closed it, plugged off, plugged in the nook. (As customer service instructed)  It still does not prompt to authorize. I have dragged books to the Nook in ADE.  I can see the book titles on my reader but when I try to open it: User not activated. Can anyone help me?

    Not sure if you will get an answer if you ask in the ADE forum http://forums.adobe.com/community/adobe_digital_editions

  • How get and edit xml code of BI Publisher Report

    Hi to all,
    I need to do some costumization to one BI Publisher report. Investigating I found a solution to do my costumization. However this requieres edit the xml code. Can you please let me know how can I get and edit this code?
    Thanks in advance
    regards
    Daniel

    obiee / ebs .... ?
    Investigating I found a solution to do my costumization. However this requieres edit the xml code.
    no need edit seeded code (it's for SR)
    your steps:
    - get seeded code
    - edit
    - create custom report
    Can you please let me know how can I get and edit this code?
    for ebs you can look xml publisher responsibility, find by code

  • Editing XML for SPRY Demos

    Hello All,
    Apologies in advance if this is a topic that has been covered
    in the past. I searched through the previous posts, but didn't see
    what I was looking for.
    I am pretty new to SPRY, but have been able to put together a
    few different apps that I think are interesting. These are mostly
    based off of the demos I have seen on here such as the products
    & photo gallery demos. After completing these though, the first
    thing that pops in to my mind is how to build a backend edit tool
    that would allow a potential client to edit the underlaying XML
    that drives these apps without having to have me perform updates
    for them. While looking around online I have seen several possible
    solutions, but they all seem to have one problem or another.
    What I am wondering is if there is an easy way to set up a
    form that will edit/add/delete different entries in the XML files.
    I would prefer to use PHP if at all possible. Of all the solutions
    I have seen thus far, it seems that they all require me to use
    either ASP, .NET, MYSQL or some other database system to extract
    data from and create the XML dynamically. This is all well and
    good, but I seem to have clients that have lots of different
    hosting environments, so all of the above mentioned options seem to
    be a bit to specialized for my needs. I'm really thinking that a
    PHP solution that edits the XML file directly would be able to
    cover more ground.
    Is this even possible? Any direction that you could point me
    in would be greatly appreciated!
    Thanks!!!

    Hello,
    As Kin said in the above post, if you are using HTML data
    sets InContexEditing would be great service to use.
    But what if you don't.. I doesn't mean it cannot be done with
    XML and databases. While i was Adobe MAX 2008 milano I spend my
    spare time building an example that allows users easy CRUD with
    Spry. You can also purchase a system but why do so if you already
    have all tools you need :)
    http://www.spry-it.com/examples/crud/
    Its very early stage of this example but I got all basic
    actions covered.
    Inline edit that posts the changed data to a server file. And
    places the returned server value inside your data set and updates
    the data set. (updating the data set is not necessary but i just
    added it to show that the data is actually updated inside the data
    set to)
    You can also delete rows and duplicate rows. I did not tie a
    server side action to those yet. But it would be easy to do as I
    did with inline Editing function. I fully commented the
    SpryFullCRUD.js so it might help you out..
    If you don't understand it feel free to ask questions, and I
    hope it helps you out a bit. I will be writing a large article
    about this and hope this example give you some inspiration.

Maybe you are looking for