Flatten to XML does not save Item Names of ListBox to XML file.

On my Front Panel, I have a ListBox Indicator that has Strings from which the User can select. Also the User can edit items in the ListBox to add new elements. After the user selects one and pushes my Save button, I use the Flatten to XML function to save the selection in an XML file. But Flatten to XML only saves the Value (index of the selected item(s)) to the XML file and not the ListBox Item Names. That is enough information to reconstruct which of the String data that the user selected.
In a ListBox where a User is selecting among a list of Strings, shouldn't the Flatten to XML function also store the String(s) that were selected?
Solved!
Go to Solution.

Dennis Knutson wrote:
The control is a U32 which is no different than placing a regular numeric control on the front panel. The flatten to xml is only passed a numeric value in both cases. It can't record something that you do not pass to it. The state of the control is the numeric value and the state can be reconstructed with that numeric. If you want to reconstuct the strings (which are not states), use the property node.
I disagree. A ListBox that contains Stings to select from is full of String information. Both I and the User entered those Strings into the ListBox. It is the only data in the Listbox that we see. It is the most important information in the ListBox. The Strings are present in the Item Names. The Flatten to XML does have access to the Item Names and can and should provide them. Neither I nor the User are interested in the Numeric Index of the Selected Items. That is useless information to us. Both of use are dealing with Strings. If the State of the ListBox control is to be reconstructed from the XML data provided by the Flatten to XML function, then the Strings (Item Names) in the Listbox must be provided in the XML data.

Similar Messages

  • Xformbuilder error ... Could not save document Name/Name-Schema.xml

    Hello everyone,
    We're using 7.00 SP14 and I have a problem with the xml forms builder on one of our systems. We're having a 3 system landscape - all three are on the same patch level etc.
    I was able to create a new xml form on one machine, unfortunately it doesn't work on our P-system. I tried to create a new form as well as copied an existing one - with the same error result.
    While saving a project the following errors appear:
    The following error occured when saving the schema: Could not save document Name/Name-Schema.xml. Reason: Operation is not supported
    The project could not be saved on the server. Do you want to save a local copy?
    Oct 13, 2008 2:45:43 PM - (ERROR)com.sapportals.wcm.app.xfbuilder.server.ServerManager :Could not serialize document: Operation not supported
    Does anyone know what the problem is? I'd appreciate your help, thanks.
    Sincerely,
    Susanne
    Okay I just found out that it's not possible to create a new folder in KM under xmlforms. That's working on the other 2 systems quite well. I have all the admin roles but somehow somewhere somewho must have restricted that. We found out that ice, etc, runtim, entry points and maybe even a few more aren't setup to create new folders in there. Does anyone know where/how to change that? It doesn't work with Details - permissions etc.
    Edited by: Susanne Zahn on Oct 13, 2008 3:40 PM

    For anyone who's interested in the solution.. there you go.
    14.10.2008 - 17:53:00 CET - Antwort von SAP     
    Dear customer,
    Can you please check whether the repository /etc is in read-only
    mode?
    Please navigate to -
    System Administration -> System Configuration -> Knowledge Management
    -> Content Management -> Repository Managers -> File System Repository
    There you can see the checkbox for "read-only".
    Please insure that this is not ticked. If it is, please uncheck it
    and building/saving the project again.

  • Is there a save option on iPhoto? Sometimes iPhoto does not retain the name on a face I've added to a photo.

    Sometimes iPhoto does not retain the name on a face I've added to a photo. I have 'added a face' then flipped to the next picture then back to that picture and the label has disappeared.

    No.  It's supposed to be automatic.  You might try repairing the library's database and then see if it still crops up now and then. If that doesn't help try rebuilding it the same way.
    Launch iPhoto with the Option+Command keys held down and select the database repair option in the rebild window:
    Then the rebuild option if necessary.
    OT

  • Javascript not working with 'Display as Text (does not saves state)'

    Hi,
    We have these following items in P3 of our application,
    P3_EDIT_ACCOUNT Display as Text (saves state)
    P3_USEFUL_LINKS Display as Text (saves state)
    P3_LAST_APPROVED Display as Text (saves state)
    P3_ARCHIVES Display as Text (saves state)
    And we are initializing these items in a pl/sql process under 'Page Rendering'
    For example,
    :P3_ARCHIVES := '<font face="Arial, Helvetica, sans-serif" size="-1">Archives</font></a><td> ';
    When our environment was upgraded from HTMLDB1.5 to HTMLDB2.0,
    instead of displaying the proper value of :P3_ARCHIVES,
    it was displaying the tags,
    i.e. instead of displaying 'Archives', it was displaying the whole
    '<font face="Arial, Helvetica, sans-serif" size="-1">Archives</font></a><td> '
    So, when we changed all items to 'Display as Text (does not saves state)' and it was working.
    But then we have another problem,
    We render the rest of the same page with another pl/sql block,
    Here is a portion from that pl/sql for your reference,
    htp.p('
    <script>
    //Script to check the status change.
    //The script source is rendered through PL/SQL.
    function checkStatus()
    var promptStr = someString;
    if(ans.toUpperCase() == "AMBER" || ans.toUpperCase() == "RED")
              var cnfm = confirm(promptStr);
              if(cnfm)
              do something....
    </script>
    htp.print('
    <td width="5%" bgcolor="#ebebc5" height="19" align="middle" >
    <input TYPE="radio" name="'||l_g_fnumber||'" value="GREEN"');
    IF l_allow_update THEN
         htp.print(' onClick="checkStatus()"');
    ELSE
    htp.print(' disabled onmousedown="return false;"');
                        do something....
    Now the issue is , when we changed all items to 'Display as Text (does not saves state)', the checkStatus() function is not getting called in the onClick
    event of the radio button and hence the confirm window for the call to
    confirm(promptStr) is not coming up.
    But if we revert back the items to 'Display as Text (saves state)',
    the checkStatus() javascript function is getting called properly but html tags are displayed against the items instead of the proper value (as mentioned in ********)
    Please do let us know a possible solution to this issue.
    Thanks & Regards-
    Rupak

    Thanks Varad for your response.
    This is the error i am getting.
    1 error has occurred
    PLSQL anonymous block source type can be used ONLY with Display Text (based on PLSQL) item type.
    yes i am using in the source..
    I also tried with the PL/SQL Expression of FUNCTION in this case it is executing the query but once i run the page ora- 06550 error occured.
    Thanks
    AT
    Edited by: ranu on Jan 8, 2009 2:51 PM

  • Display As Text (Does Not Save State) Render Behaviour

    I suppose this is directed more at the Oracle team members (as most of my posts are...) than anyone else, but others might find this interesting.
    It would seem when an item has a type of "Display As Text (Does Not Save State)" the item's value is output as pure text which shows up as text nodes under the TD cell. However if there is anything in the "HTML Form Element Attribute" text field on the "Edit Page Item" page, the APEX rendering engine will output a span tag with those attributes around the value of the item. If the attribute is left null, no span tag is output.
    Further more, the span tag does not have an ID attribute. One can also not set the "HTML Form Element" text box to contain the text 'id="" ' as APEX will throw an error stating that you can not specify the id attribute. So if someone would happen to want to access/change the value via JavaScript (say after an Ajax request of a hidden id change), it requires a hack (setting the TD cell's ID to the page item's name), DOM inspecting/sniffing, outputting an ugly disabled text element, altering the flows user's tables, or altering the render cache.
    Is there any reason, why this span tag is not always output with the ID attribute set?

    Hello Andrew,
    You are, of course, correct. The APEX engine does not use the item ID for the "Display as Text (does not save state)". However, if you need to manipulate the item, using JS, you can use the "Display as Text (save state)", which does use the item ID. The on-screen effect is the same, but the JS use is easier.
    Your original question though, remains open.
    Regards,
    Arie.

  • Iphoto 08 does not save noise or sharpness

    I have just discovered that iPhoto 08 does not save noise or sharpness adjustments. What the heck...is there a "fix" for this yet?

    The usual solutions:
    Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    or
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Firefox does not save toolbar I made

    Since FF upgraded me to Firefox 23 My tool bars are messed
    Every time I make a new toolbar Via "Customize" > "Add New Toolbar" after I exit it does not save.
    Yes I read over 10 different articles on it.
    1) I deleted the localstore.rdf and started from scratch. After 15 minutes of dragging all the icons to various toolbars I close out of Customize. I then restart Only to find my toolbar not saves and icon missing (placed back into the Customize Box)
    2) Only solution ALWAYS given is going to Safe Mode and resetting everything.
    That requires me to spend 5 hours backing all the settings and data I have saved in the various 189 items loaded.
    Why so many? If not that many I would have to spend 6 hour more all day on my computer doing things that many of these addons do for me. Time is Money.
    3) This is not the first time over the 8 years or so of using Firefox this has occured.
    4) Question why doen't save when you close out of "Customize" than when you exit? Plus what in Firefox is messed up that it is not saving right?

    Nope, I tried it again and added buttons to the New Tool bar I made and everything disappeared once I restarted Firefox up again. So they have not solved it. From FF 23 now on FF26 and it has not been fixed

  • Acrobat 9.4.2 does not save/export all graphic formats

    Dear all,
    Obviously i had my glass of wine to early! See http://forums.adobe.com/thread/798630 for the whole story of my re-re-re-istallation of Acrobat.
    The installation of 9.0 from the TCS2 DVD was OK
    After update to 9.2 my tests displayed correct results for all desired tasks
    After the update to 9.4.2 i obviously did not test thoroughly enough (hence the glass of whine).
    Later it turned out that 9.4.2 does not save/export graphic formats:
    pdf (all flavours), eps and ps are exported correctly
    html (all flavours) export a html file and the image as jpg correctly
    jpg, jp2 does not save anything, and no error message gives a hint
    doc, rtf save issue error message "Save As failed to process this document. No file has been created"
    png and tif do not save anything, and no error message gives a hint
    xml table and xml export correctly
    txt (both flavours) are exported correctly
    Hence the only method i can get a picture is to export as HTML and through away the HTML... or: enlarge the picture as much as possible on the screen and take a screen shot.
    What is missing in this installation?
    During my re-re-re-installtions some Windows updates may have happened.
    Any help available for this issue?
    Klaus Daub e

    The story goes on and hopefully Adobe has an answer/fix for this
    There was an automatic update from 9.4.2 to 9.4.3, but the problem still existed.
    So I decided to uninstall Acrobat and re-install it for the nth time: start with the installation of 9.0 from TCS2, reboot, update to 9.2, reboot, update to 9.4.3 and reboot again.
    The result is very mixed (and this was alrady with the newly installed 9.0):
    Save as RTF or DOC creates RTF and DOC files - although the contents is not that useful.
    Save as PNG is OK
    Save as JPG, JP2 or TIF works, but it turns out, that the files are all PNG (although with the various extensions)!
    Creating a snapshot now works correctly. The clipboard receives a bitmap. However: although I have set the preferences for the snapshot to be of 96 dpi the bitmap gets the property 72 dpi!
    Setting acrobat.exe to be Compatible to XP SP3 does not change a jota.
    Keep in mind: on Windows XP things worked correctly for a long time. Switching to Window 7, x64 creates this strange problem.
    I need to start with Acrobat from the TCS2 DVD, because otherwise I do not get the correct implementation for working with FrameMaker.
    I'm very reluctant to buy Acrobat X, for me there are too many gimmics there (besides the costs).
    Klaus Daube

  • Exchange 2013 w/Outlook 2013 "The name of the security certificate is invalid or does not match the name of the site"

    I've completed an upgrade from Exchange 2003 to Exchange 2013 and I have one last SSL message that I can't get rid of.  I've installed a 3rd party cert that is working great for webmail and cell phone access but for some reason the Outlook 2010/2013
    clients get prompted for a security warning.  I just implemented the SSL cert yesterday and I've noticed that new installs of Outlook seem to work just fine.  My Outlook 2013 client doesn't prompt me with the message but I have other users who are
    still getting the "The name of the security certificate is invalid or does not match the name of the site" error.  The domain on the cert error show up as server.mydomain.local.  I've gone through all the virtual directories and pointed
    all of my internal and external URL's to https://mail.mydomain.com.   This made one of the two warnings go away but not the second.  I've dug around on google and gone through everything I could find here and as far as I can tell my internal
    and external url's are configured properly and I can't figure out where this error is originating from.  Any ideas on where I should look outside of the virtual directories? 
    I'm including a good link I found that contains all of the virtual directories I updated.  I've checked them through both CLI and GUI and everything looks good.
    http://www.mustbegeek.com/configure-external-and-internal-url-in-exchange-2013/
    http://jaworskiblog.com/2013/04/13/setting-internal-and-external-urls-in-exchange-2013/

    Hi,
    When the Outlook connect to Exchange 2013/Exchange 2010, the client would connect to Autodiscover service to retrieve Exchange service automatically from server side. This feature is not available in Exchange 2003 Outlook profile.
    Generally, when mailbox is moved to Exchange 2013, the Outlook would connect to server to automatically update these information. It needs time to detect and update the changes in server side. I suggest we can do the following setting For autodiscover service:
    Get-ClientAccessServer | Set-ClientAccessServer –AutodiscoverServiceInternalUri https://mail.mydomain.com/autodiscover/autodiscover.xml
    Please restart IIS service by running IISReset in a Command Prompt window after all configuraions.
    Regards,
    Winnie Liang
    TechNet Community Support

  • The name of the security certificate is invalid or does not match the name of the site error?

    I am looking for some help folks. We are in a Outlook 2007/Exchange2010/Windows2008R2 environment.
    When users open Outlook off the network, and occasionally on the network, they get the error
    The name of the security certificate is invalid or does not match the name of the site error
    The CAS hostname is HRECAS.XXX.ORG. The URL that is listed on the SSL certificate (issued by VeriSign) is WEB.XXX.ORG. WEB.XXX.ORG is what users use to get to OWA and such.
    When I use testexchangeconnectivity.com, under certificate name validation I see an error that reads:
    Host name autodiscover.xxx.org doesn't match any name found on the server certificate CN=web.xxx.org.
    Does this mean somehow we have to add autodiscover.xxx.org on the certificate?
    I tried to add AutoDiscoverExternalUri using
    http://support.microsoft.com/?kbid=940726 &
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/2d0c0f5f-e4ec-4f33-a37d-b94fd7a2319f on the CAS server.
    Set-ClientAccessServer -identity HRECAS -AutodiscoverServiceExternalUri
     https://autodiscover.xxx.org/Autodiscover/Autodiscover.xml 
    I get an error that says
    "a positional parameter cannot be found that accepts argument '-AutoDiscoverExternalUri'.
    Can someone point to me what I am doing wrong with the command and whether I should be concerning myself with adding that line? By the way the
    InternalUrl information is already configured on the system. Also should I edit the certificate to add autodiscover.xxx.org?
    Thank in advance for your support.
    TD
    TD

    Hi Tapera,
    Thanks for the question.
    SRV record is a good idea. You can set the SRV to
    https://web.abc.com/autodiscover/autodiscover.xml but you must make sure the
    url can be resolved from External clients.
    In addition, there is still a issue. It is hard coded that Outlook will find the autodiscover by the orders below:
    1. Access autodiscover via SCP in AD.
    https://web.abc.com/autodiscover/autodiscover.xml
    2. If SCP access fails, it will try:
    https://abc.com/autodiscover/autodiscover.xml
    3. Then
    https://autodiscover.abc.com/autodiscover/autodiscover.xml
    4. Local XML file
    5. SRV record
    As you can see, Outlook will try SRV record at last. Therefore, it will still try to access
    https://autodiscover.abc.com/autodiscover/autodiscover.xml each time you run Outlook. Then the certificate warning will still persists.
    I have a workaround solution. You can do a local policy to disable the autodiscover to access the
    https://autodiscover.abc.ocom/autodiscover/autodiscover.xml by:
    1.   
    On the Outlook client machine, open regedit and add the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Autodiscover
             "ExcludeHttpsAutodiscoverDomain"
             "ExcludeHttpsRootDomain"
    2.   
    Then set the value to “1” on the above two keys.
    Thanks,
    Simon  

  • View Object Editor in JHS 10.1.2 does not save any changes....

    Hi,
    When I did exactly as the JHeadstart Tutorial says, I noticed that
    in JHeadstart 10.1.2 with JDeveloper 10.1.2
    JHeadstart does not save any changes I make in the View Object Editor
    of the Application Structure File Editor !!!
    For instance when I change the Width property of an Attribute from 60 to 5
    it changes to 5, but when close the View Object Editor
    and reopen it again, the Width is back to 60...
    Even when I click the button "Validate the Application Structure File" before
    closing the VO Editor....
    What do I do ??? Is the only solution to edit the XML file
    or something like that without using the VO Editor ?
    Or is there a better solution ?
    Does it maybe work in an older version of JHeadstart ?
    If so, where is the older version available for download ?
    Thanks,
    Eric Joosse

    Eric,
    How did you leave the JHeadstart VO editor?
    The changes should be saved when you click the OK button in the VO editor itself, but they are not saved if you click Cancel, or the little cross in the upper right corner, or leave it open while going back to the Application Structure File editor. That's because it's a standalone editor (you can also find it when right-mouse-clicking the VO in the Model project). The icon in the Application Structure File editor is just a quick way to get to it.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?

    I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?  I am using Windows 8.1 with Flash CC.
    I even when into the "Edit Code Snippet XML" and added a Custom folder and a custom template.  Then I went back to add the code snippet again and it still did not work.
    About line 32, I added:
       <category title="Custom"
          isBranch="true" expanded="false"
          description="Code for common interactions">
          <snippet isBranch="false">
          <title>Custom Snippet</title>
          <description>This is an example of a custom code snippet.</description>
          <requiresSymbol>true</requiresSymbol>
          <code><![CDATA[
    // Code goes here
    trace("A custom code snippet");
          ]]></code>
        </snippet>
        </category>     
    Any assistance would be greatly appreciated.

    UserAgent for the OP is - Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100405 Namoroka/3.6.3 - he might be running a 64-bit 3rd party build.

  • After importing received and set messages from Opera Mail, Thunderbird works fine but does not save sent messages to Sent folder, even though messages are sent

    I successfully imported messages from Opera Mail. Initially the Sent mailbox was not showing in Thunderbird. A quick removal and fresh installation solved that, but Thunderbird does not save the sent messages to the Sent box, where the imported Opera Mail messages are stored. Even though messages are not saved, they are sent correctly. The image attached shows the error message.

    Probably a name-confuse If you store sent on mailserver it has to have the right name. (subscribe)
    You could set up under Account settings / copies and folders (maps) Sent pointing to the right local folder.

  • DISPLAY AS TEXT (DOES NOT SAVE STATE)

    can i use the pl/sql anonymous block or pl/sql function body for item which is DISPLAY AS TEXT (DOES NOT SAVE STATE). I am using this query and getting an error in case of pl/sql anonymous block can be used only for save state item. my apex version is 2.2.1.00.04.
    my query is
    declare
    vCNT number;
    v_exception_detail varchar2(200);
    BEGIN
    SELECT COUNT(*)
    INTO vCNT
    FROM table a
    WHERE a.col1 IN
    (SELECT DISTINCT x.col1
    FROM table1 x)
    AND a.col2 = TRIM(:P21_col2);
    IF vCNT > 1 THEN
    IF NVL(&P21_col2, -1) <> -1 THEN
    SELECT DISTINCT SR.col3
    INTO v_exception_detail
    FROM table1 SR
    WHERE SR.col1 IN
    (SELECT col1
    FROM table
    WHERE col2 = TRIM(:P21_col2)
    AND col4 = :P21_col4);
    ELSE
    v_exception_detail := NULL;
    END IF;
    ELSE
    SELECT DISTINCT SR.col3
    INTO v_exception_detail
    FROM table1 SR
    WHERE SR.col1 IN
    (SELECT col1
    FROM table
    WHERE col2 = TRIM(:P21_col2));
    END IF;
    --DBMS_OUTPUT.PUT_LINE(v_exception_detail);
    RETURN v_exception_detail;
    END;
    Could any one suggest how i can execute this code in case of item of DISPLAY AS TEXT (DOES NOT SAVE STATE).
    Thanks,
    AT

    Thanks Varad for your response.
    This is the error i am getting.
    1 error has occurred
    PLSQL anonymous block source type can be used ONLY with Display Text (based on PLSQL) item type.
    yes i am using in the source..
    I also tried with the PL/SQL Expression of FUNCTION in this case it is executing the query but once i run the page ora- 06550 error occured.
    Thanks
    AT
    Edited by: ranu on Jan 8, 2009 2:51 PM

  • TS1398 ipod touch does not save the password of the wifi

    my ipod touch 4g does not save my home wifi password but in my bussines it does please help

    Two things to try:
    If your router is set to hide its SSID (network name) then go into the router's administration and change this setting. For some reason, this can cause problems with iOS devices remembering the network password.  There's really no need to hide your network name, there are (or were) apps that could show you any and all Wi-Fi networks within range, even if they're hidden.
    If you're using WEP encryption, try using WPA2.  It is much more secure and seems to play nicer with iOS devices.

Maybe you are looking for

  • Is it possible to generate receivable statement for a party in the hierarch

    Our TCA data model is setup like this: For a party "A" we have two created two subsidary party "A1" and "A2". Both A1 and A2 are related to A with a relationship in TCA. Each A1 and A2 are linked to seperate accounts and both A1 and A2 have seperate

  • How to create batch job based on sales organization?

    I am Sending data using RFC function module, within a report program. Now according to functional requirement I have to create two batch job scheduling scenarios: 1. Provide a batch job to be run towards month end (2X, 1X) to sent a delta record mess

  • CRVS2010 Beta - Print functionality  for Crystal Report in VS 2010

    I want to print crystal report documrnt without loading in Reportviewer(in ASP.NET 4.0), just print the report document. I have used ReportDocument.PrintToPrinter(1, false, 0, 0);This server-based method .One limitation of this method is that a print

  • Photo albums to computer/laptop

    Hi everyone!  As I was going on holidays recently I bought an iPad as I thought it was the lightest and easiest way to keep my photos organised (and use the internet etc).  Therefore, each night I would upload my photos from my camera to my iPad, cro

  • Centering the image on 4x6 paper.

    Still trying to print an image on 4x6 paper with a border and I cannot center the image. It makes no difference if I hit the "center" button. I've gotten the latest Epson drivers for my MAC (Lion). Also makes no difference if I "crop to fit", or not.