TextFlowUtil to save modified text?

Hi everyone,
I use TextFlowUtil.importFromXML() to get the text from a XML file and send it to a RichEditableText component.
However I'm very new at Flex and I don't know what is the code to send the text (after modification) back to the XML file?
I suppose I should use TextFlowUtil.export() but I really don't know how, could someone help me??
Thanks for your help
Regards.
Benjamin

Hi Lacy,
Any interactive component will not allow you to save back to your database for the purpose of simulation. if you only care about the create a schematic you can always use the symbol by going through the component wizard.  Interactive components referred to component that changes state while simulating, for a relay you see the symbol toggle on the screen as you simulating the circuit.  The models for these components have special code and when you save them to your database the engine no longer recognize the code therefore will not work.
If someone send you a schematic you can double click on the component and there should be a "save to database" option.  This feature was added in V8 if I recall correctly, double check for yourself if you have this option.  If you don't have this feature, you can extract the netlist by selecting Transfer-->Export netlist and you can open the file with Notepad, in the netlist file you will find the model which you can copy and create a new component yourself.
Tien Pham
EWB Support
Tien P.
National Instruments

Similar Messages

  • Remove Recently Modified text and links

    I am new to CSS.  Here are the instructions I am using to remove recently modified text and links below it:
    Type in the CSS code below in red into Notepad without the quotes. Save the file.
    “<style> .s4-recentchanges{ DISPLAY:none; } </style>”
    Upload to file to your SharePoint site. Copy the link of the file.
    Go to Edit mode of the page where you want the “Recently Modified” link to disappear.
    Add a Content Editor webpart (under Media and Content) on the page.
    Edit the webpart.
    In the Content Link box, paste the URL you copied in 2) above.
    Under Chrome Type, select None.
    Click OK.
    I created the file but am not sure where do I upload the file (site assets, etc).  This should have an .css extension. Does this webpart go at the top or bottom of the page.
    d.bell

     Open master page through SPD. Goto code view. then under “head ” tag put the following css:
    <style type="text/css"> 
    .s4-recentchanges 
    display:none; 
    </style> 
    Link will not show now in  page
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Mark As Answer

  • I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)

    "I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)"
    That was all I could put in the initial "box."  Then it brought me to this page with instructions on how to write a good sentence.
    Proceeding ...
    After going back and forth between Apple, AT&T and the police (all telling me to go to the other two) I took AT&Ts suggestion and got a new number. One tech warned against doing a backup, especially on my Mac, saying if my phone had been hacked then whatever bug was there would then invade my computer. But nobody knows how to determine if the phone has been hacked or a virus was planted there. Unfortunately I know who would have reason to do such a thing and all I can say is that he is at the top technologically and could easily do it. Almost impossible to prove, however.
    So I need to preserve my text messages and my emails as well. I backed up my photos to that Microsoft product (One-Drive) and it froze (Surprise, Surprise) with four short videos to go, and no way of stopping that (when I tried it crashed repeatedly) so I'm in crisis mode here.
    Help ...
    Running 8.0 on 5S
    Thanks!

    Betty I don't know if you fixed your hacking problem but I feel your pain. I've seen some strange things going on between my iMac and my iPhone and Apple has told me the same thing, call the police which I have done. The hackers have stole 500.00 out of my checking account have access to every internet account I use and no matter how often I change the password their right back on the account. I closed my FB account 3 times only to have someone reopen it. Right now I've got a link in my reading list (Safari) that if I click on it, it allows me to log onto my FB account anonymously.
    I've seen a green folder come out of no where while I was trying to delete my passwords out of keychain when that green folder was put into the key chain I was immediately locked out. I than went into system preferences to try to make changes to my security settings, when I clicked on the icon it wouldn't open. I've seen log files of automator receiving commands and sending out my personal information thats on my computer.
    I have a legitamate program called iExplorer that allows you to look at the contents of your iPhone back ups and saw a transaction someone made at the Apple store for some full length movies, some albums, ibooks and other apps but when I called the iTunes store and they said none of those items were showing up on my account. If their not on my account how can they be on my iPhone 6? One day someone was using my gmail account and unknowingly used google maps to search for an Italian restaurant, than a Mexican restaurant than a coffee shop and their search showed up on my iPhone but I didn't have my gmail account installed on my iPhone 6. Using my computer I logged onto my gmail account and looked at the maps history and sure enough there were the searches when I'd hover my curser over the link it gave me the longitude and latitude of the where the hacker was when he was using google maps. I know whoever reads this thinks Im crazy but I've documented everything and can prove the things that I have mentioned in this post actually happened.
    One day I had my laptop (pc) and my iMac next to each other as I was using both. when I clicked on airport it showed that my laptop and my iMac had made a connection and were actually communicating with each other. I know I didn't do it I don't know how. The iMac was logged into my iCloud account while my laptop wasn't. I have formatted my iPhone at least a dozen times, Apple and an Apple retailer have formatted my hard drive not to mention the numerous times I have formatted it but the hackers keep getting on my devices. Im formatting my lap top at this very second because during the course of the night I left the ethernet cable plugged into it and they locked me out of my c: drive, and configured the system so I can't download any updates from Microsoft, overtime I type in www.microsoft.com it changes to ww38.microsoft.com which takes me to a blank page. I right clicked on the page I was redirected to and read the java script and couldn't believe that someone had actually configured Internet Explorer to redirect me to a blank page when I tried to go to Microsoft. Apples answer to all this is there was nothing wrong with my iPhone or my iMac and if I thought there was a problem to call the police which I have done.
    Theres no doubt the hackers are reading this while I type it or will read it and I simply don't care anymore. I no longer email anyone, don't use my iCloud account and have taken precautions to protect my credit but if I ever find out who has invaded my privacy to this extreme the police are going to want to talk to me because Im going to hurt them like they've never been hurt before

  • How to save the text in module pool

    am working with screen exit for QM01 tcode . I created one subscreen . created 2 text editors in that screen . now I want to save the text in that text editors. am using save_text , but its not working . can any one guide me regarding this with code. and tell me wht parameters I shd pass to that FM.
    its very urgent.

    Hi ,
    Please check the format below since it is based on a working code
    **************data declarations
    data: int_line type table of  tline with header line.
    data: gw_thead like thead.
    data: int_table type standard table of ty_editor.
    ****************fill header..from SO10 t-code
    GW_THEAD-TDNAME   =  loc_nam.   " unique key for the text
    GW_THEAD-TDID     = 'ST'.                " Text ID
    GW_THEAD-TDSPRAS  =  SY-LANGU.
    GW_THEAD-TDOBJECT = 'ZXXX'.   "name of the text object created
    *Read Container and get data to int_table
      CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
        IMPORTING
          TABLE                  = int_table
        EXCEPTIONS
          ERROR_DP               = 1
          ERROR_CNTL_CALL_METHOD = 2
          ERROR_DP_CREATE        = 3
          POTENTIAL_DATA_LOSS    = 4
          others                 = 5.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    loop data from int_table and save to int_line-tdline appending it.
    *save the text
        CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            HEADER   = GW_THEAD
          TABLES
            LINES    = InT_LINE
          EXCEPTIONS
            ID       = 1
            LANGUAGE = 2
            NAME     = 3
            OBJECT   = 4
            OTHERS   = 5.
        IF SY-SUBRC <> 0.
        ENDIF.
    The code shown above is ok and working fine for save also,hope that the above sample with helps you solve the problem
    Please check and revert,
    Reward if helpful
    Regards
    Byju

  • How to Save a text file in the server?

    hello
    i just want to save an text file in the server.
    My idea is to load an xml text file maybe make some changes
    and then save it back to the server, so i can avoid all the
    database/php work because i know nothing about it.
    thank you

    hello
    i just want to save an text file in the server.
    My idea is to load an xml text file maybe make some changes
    and then save it back to the server, so i can avoid all the
    database/php work because i know nothing about it.
    thank you

  • How to save a text or file in *doc from Pages?

    How to save a text or file in *doc?

    Igor,
    Use either File > Export, or Share > Export, and choose the Word option.
    Jerry

  • Why can't I "Save as Text" a pdf file received as an email attachment?

    I can "Save as text" a pdf file which I have created in my own computer (that is, it goes into MS notebook that I then can Copy and Save as an MS Word file) but not when I receive a pdf as an email attachment. (The file is saved, but it is empty.) Why would I want to convert my own pdf back to text? Well, in case I no longer have the original Word document I suppose, but the thing is "Save as text" works with my pdf, but not with those I recieve from others. How come? Thanks!

    Is this a scanned PDF? If so, it must first be OCR'd.

  • Save as text not working

    When I try to save a PDF as text, my document is empty. Also, it appears I only have the option of saving as accessible text, not plain text. I am using the latest version (8.1.2). Anyone able to do this successfully?

    I have found this does work, but only with Acrobat Pro. You must use save as, accessable text (plain text doesnt work with the document that I have been using).
    I have tried the SAVE AS TEXT option with Adobe Reader, versions 6, 7 & 8. I wonder why that option is even available.

  • Save as text and reader mode

    Firefox needs a save as text setting. There is a save as text add on. However, twice the add on ceased working. Twice, I had to uninstall firefox, reinstall firefox and reconfigure the settings.
    In the alternative, Firefox needs a 'select text' in its settings. The stock android browser has 'select text' in its settings. Click on 'select text', touch webpage, two arrows appears, spread arrows apart, touch screen, a pop up menu offers: share selected text or copy. I select copy. Open 920 text editor, create a new plain text file and then touch screen.. However, text is not copied. I have to repeat this whole procedure several times because text is copied into a new plain text file.
    Whereas, Firefox cannot even bring up the pop up menu. I long press a paragraph in firefox. The two arrows appears. I spread them apart. I touch the screen. No pop up menu offering open to copy.
    Nor is reader mode an alternate to saving as text. I have not be able to save a webpage in reader mode because the book icon is rarely displayed in the title bar. Why? Firefox's article on reader mode does not disclose what file format the files are saved as. Can the reader mode files be converted to plain text files or PDF to be later read on a computer?

    Hi badbiosvictim,
    I see in the device information that you are running version 21. There were some improvements made in Firefox since then and I encourage you to see if the update helps resolve your copy and paste issue.
    However there is also save page as pdf that you can save on the device and read in a file reader.
    I hope this helps!

  • In adobe 9.5 reader. File/save as text does not work.

    I have adobe 9.5 reader. If I do file/save as text I always get an empty .txt file. What is wrong?

    It looks like you are correct! They do appear to be scanned pages, but the icon that shows bfore the file name is Adobe  & if I try to use the Open with option only Adobe is allowed. No wonder it confused me. Thank you for your help!

  • Running OCR on Combined document saves no text to .txt file

    I am scanning in a large 500 page document, running OCR on it and saving the data to a text file for my program to process.
    My network printer/copier/scanner can only read in about 70 pages at a time, so I scanned in as several PDF documents, which I saved to disk.
    I   Recognize Text in Multiple Files using OCR...   on all of the PDF documents, Saving-As Text (Accessable) and it all works fine. I can then combine the text files in a text processor.
    Then, I saw the Combine button, so I combined all of the PDF documents into a separate PDF file and ran OCR on it, but the resulting .txt file is blank!  If I run the OCR manually, I can highlight the extract text, but when I try to save as Text (Accessable), it still fails to save any data to the .txt file.
    Is this a known problem?
    I am running Adobe Acrobat 9 Pro - Version 9.4.5.
    Thanks.

    gilgad2000,
    It depends on your VI. If you are using the "Path Control" tool, you can open its "Browse Options" and write .txt at the Pattern box.
    If you are not using it, you can also concatenate a ".txt" string at the end of the file path (use "Strip Path", "Concatenate Strings" and "Build Path" functions) just before using it on the saving function.
    Message Edited by Danigno on 07-17-2009 03:18 AM
    Attachments:
    Snap1.png ‏3 KB

  • Problem in reading the modified text from text editor

    Hi all,
    Im using text editor for saving the long text entered in the text editor as standard text in So10 tcode.
    Here im facing an issue in reading the text from text editor. That is, when the text is entered by the user for first time, then the below method reads the text successfully.   But when i do some changes in the existing text present in the text editor and try to read, then the modified text is not returned by the below method.
    I use the "CALL METHOD g_editor_ftext1->get_text_as_stream" to read the text. Given below is my code.
    CALL METHOD g_editor_ftext1->get_text_as_stream  
       IMPORTING
          text                   = ig_text_table
          is_modified            = g_xthead_updkz
        EXCEPTIONS
          error_dp               = 1
          error_cntl_call_method = 2
          OTHERS                 = 3.
    The return value of "is_modified" is always returned as 0.
    Could anyone pls help how to read the modified text using the above method?

    Check if this works and if it works then there should be some mistake in your coding
    REPORT abc.
    PARAMETERS:pa1 TYPE bwart.
    DATA: container TYPE REF TO cl_gui_docking_container,
          editor    TYPE REF TO cl_gui_textedit,
          report    TYPE syrepid,
          mod TYPE i,
          modon TYPE i.
    DATA:tlines    TYPE TABLE OF tdline,
         wa_tlines TYPE tdline.
    AT SELECTION-SCREEN OUTPUT.
      report = sy-repid.
      IF container IS INITIAL.
        CREATE OBJECT container
                     EXPORTING repid     = report
                               dynnr     = sy-dynnr
                               side      = container->dock_at_left
                               extension = 1070.
        CREATE OBJECT editor
                    EXPORTING
                         parent     = container.
      ENDIF.
      wa_tlines = 'This is test before a change'.
      APPEND wa_tlines TO tlines.
      CALL METHOD editor->set_text_as_r3table
         EXPORTING
               table              =  tlines
         EXCEPTIONS
               OTHERS             = 1.
      CALL METHOD editor->go_to_line( 1 ).
    START-OF-SELECTION.
      CLEAR tlines[].
      CALL METHOD editor->get_text_as_stream
                EXPORTING
                only_when_modified = '1'
                IMPORTING
                text = tlines
                is_modified = modon
                EXCEPTIONS
                error_dp = 1
                  error_cntl_call_method = 2
                  OTHERS = 3.
      IF modon = 1.
        WRITE 'Changed'.
      ELSE.
        WRITE 'Not changed'.
      ENDIF.
      WRITE modon.

  • HOW TO SAVE A TEXT FILE ON AL11

    HOW CAN WE SAVE A TEXT FILE ON THE APPLICATION SERVER AL11 WHICH IS ON THE DESKTOP OR ANY DRIVES.
    CAN SOME ONE GIVE ME THE STEP BY STEP PRCEDURE
    REWARDS IF USEFUL

    Hi,
    Use Tcode CG3Z to upload files to application server and use tocde CG3Y to download file to your desktop.
    Reward points if helpful.
    Regards,
    CS.

  • File/Save As Text creates an empty file

    I'm attempting to produce a text file from a pdf file.  The file seems to have many pages of text, but Save as Text produces an empty file

    Can you select any text using the select tool?
    It could be that they are scanned pages that don't contain any actual text but simply images of text.

  • How to save formatted text in Transparent or cluster table using WDA

    Hi All,
    From WDA application I want to save formatted text in Transparent or cluster table.
    What Datatypes/Data elements should take in Tables? Format should remain as it is.
    How can I achieve above requirement. Please guide step by step.
    Thanks in advance.
    Note : I will use FormattedText UI element in the view
    BR
    CW

    Hi,
    I am not sure may you can try XSTRING also..
    And you can check this for special char.
    http://www.google.co.in/url?q=http://forums.sdn.sap.com/thread.jspa%3FthreadID%3D1342827&sa=U&ei=ynTkTZDvNsbsrAepvIWsBg&ved=0CBYQFjAA&usg=AFQjCNEHLu2lPsOLP0m78AqWKjZPvBB8Yw
    Cheers,
    Kris.

Maybe you are looking for