SPRY using .csv or .txt file

Hello,
I am interested in any ideas on the best way to get Spry
working with a .csv or .txt file? We sometimes have the misfortune
<vbg> of having to take others files (.csv or .txt file) and
display them in a table format without converting them.
I looked at the raw data non-xml example but that is using
some static data.
Thanks in advance...
Matt

Hi Matt,
You might want to take a look at my patched version of Spry,
where I added JSON support to Spry. It's available here:
Doug's Spry Patch.
It would be pretty easy to add a CSVDataSet or a TxtDataSet
using what I put in place there.
However, please note, this is of course not officially
sanctioned by Adobe, and I know they are working on a way to offer
support for different kinds of data in the next version, so this
might all get chucked out the window in the next round. But if you
really need it now, then this might be an avenue you'd want
to explore.
-Doug

Similar Messages

  • Need existing custom script to run with a .csv or .txt file

    Hi, Scripting Guys!
    I am a very novice novice when it comes to PowerShell -- I'll state that up front. So apologies if the answer to this is really basic. I am trying to use a script written by someone else, where I can simply paste in the script, identify the user by any one
    of several attributes, and the magic happens (in this case, all mail attributes in the AD Object are cleared and then the email address is added back in, resetting that object to the point where IDSync can run).  For a single user at a time, it works
    perfectly.
    .\Reset-MailAccountforIDSync.ps1 -Identity "[email protected]"
    My problem is that I have a .csv file with 60 users I need to run this script on, and there's a possibility of other large batches in the future.  How can I convert this single user script into one that can work with a .csv or .txt file?
    Thanks, Stormicat/J.L.Newmark

    This will do the trick.
    $csv=Import-Csv users.csv
    foreach($user in $csv){
    .\Reset-MailAccountforIDSync.ps1 -Identity $user.Mail
    Of course you will have to learn enough to understand that so start here:
    http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
    ¯\_(ツ)_/¯

  • Print from .csv or .txt file

    Hello Experts,
    I am new to ABAP development.
    Is there any way to print the content of an .csv or .txt file.
    For example my report will have a selection screen where we will upload a file containing "Hello world" when we execute the output screen will show "Hello World".
    Regards,
    Sarnava

    Hi Sarnava,
    If your are selecting file from your system desktop then use  GUI_UPLOAD to upload data in data_tab and then while applying loop at this internal table split the code at ',' or space and fill internal table with your relevant fields.
    Loop at final internal table and display on output screen.
    DATA: BEGIN OF I_APPFEED OCCURS 0,
             RECORD(200)  TYPE C,
           END   OF I_APPFEED.
    CALL FUNCTION 'GUI_UPLOAD'
         EXPORTING
           FILENAME                = LV_FILE (path of .csv file from desktop)
         TABLES
           DATA_TAB                = I_APPFEED
    LOOP AT I_APPFEED INTO GWA_LOC_APP.
         SPLIT GWA_LOC_APP AT ','
        into wa_fields.
    append wa_fields to it_fields.
    endloop.
    loop at it_fields into wa_fields
    write: wa_fields-fields.
    endloop.
    Hope, this will solve your issue or let me know if you want something else.

  • What are the limitations in terms of data size  or performance while using csv or text file as datasource?

    <p>Also what are the limitations in terms of data size  or performance related issues while using csv or text file?</p><p>Is it the best practice to use csv , text file to use as a datasource to improve performance?</p><p>Please Advice.... </p><p>&#160;</p>

    <p>Hi,</p><p>Create Same Data Input for CSV and Text File ,Create 2 different reports one for CSV and One for Text ,run them one you have done that.</p><p>Go to Report Menu and Select Performance Information .Use the Data in that to check which one is good datasource to improve performance</p><p>Cheers</p><p>Rahul</p>

  • How to write csv or txt file through utl_file with UTF-8 Encoding

    Hi All,
    I need your help to write the data from DB to csv or txt file with UTF-8 encoding through utl_file.
    Database character set:AL32UTF8
    Database version:10G
    All the columns in the DB are of varchar2 type.
    Please let me know if there is any way of doing it.

    What was wrong with the info provided in the link(s) given?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions027.htm#SQLRF00620]

  • Maximum number of lines in Al11 for csv and txt files

    Hello Experts,
    I need to extract millions of records to a file in AL11 from several DSO - based on fiscal period and year. Can anyone tell me about the maximun number of lines a csv and txt file can hold in AL11.
    Points will be assigned.
    Kevin.

    Hi.
    As per my knowledge there is no limit for text files but for csv file its 1048576 rows.
    Hope this helps.
    Regards
    Sai

  • How to save in CSV or TXT file the Powershell script output?

    Hi,
    I am not sure how to expot this to csv/TXT file, should I use export-csv "c:\test.csv" ?
    my code:
    $site = Get-SPSite "http://tst.pg.com/sites/tsta"
    Write-Output("`n" + $site.URL)
    $myweb = $site.AllWebs | where {$_.url -eq $site.url}
    Foreach ($list in $myweb.Lists) 
    if($list.BaseType -eq "DocumentLibrary")
          Write-Output("")
    Write-Output("Doc Library Name:" + $list.Title)                
    Write-Output($list.roleassignments | ft Member,RoleDefinitionBindings -auto)
    }$site.dispose()

    Hi there - If you just want to dump the output as a txt file, how about the following?
    .\yourpowershell.ps1 > output.txt
    Please remember to mark your question as answered and vote it helpful if this solves or helps with your problem. *******************************************************************************************************

  • [b]export data from a table to a csv or .txt file[/b]

    hi plz i need help in how to export data from a table to a csv or .txt file

    If you are using TOAD, then you can execute the statement like SELECT * FROM TABLE1
    Then, you can go to Output Grid and you can say save as and you can save it as you want, excel, tab delimited or whatever.
    Thanx,
    Cheers,

  • Write to local CSV (or txt) file on iPad -- access via iTunes

    I'm trying to figure out how to write to a local CSV (or TXT) text file on the iPad. I've got UIFileSharingEnabled working--iTunes sees the app as available for file sharing. However, via FileStreram, I can't find where to save the file to? I've tried all the options I know of;
    * documentsDirectory
    * applicationDirectory
    * desktopDirectory
    * userDirectory
    * applicationStorageDirectory
    ...but the file doesn't show up in iTunes. Anyone have any suggestions? You game developers must have this figured out for 'high-score' and preferences.
    Thanks

    Hi, did you find any solution for this problem?
    I'm also looking for an answer...

  • Use CSV and batch file for net user command

    Hello Guys,
    I am trying to load domain user id's from a csv file and parse them through the net user /domain command.  I would appreciate it if someone could help me open the csv file and store each line as a variable so that it could be parsed.
    Thanks in advance.

    My apologies, I didn't notice that you specifically mentioned batch files in your question title.
    I don't have much to offer, as my batch skills are extremely rusty.
    I would personally be doing all of this via PowerShell, as the AD cmdlets can return any bit of information about your users that you'd like.
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

  • How to upload / integrate csv or txt files and integrate on SAPB1

    Hi Support,
    Could anyone gime a general guideline on how this could be managed as i couldn't find any specific integration document either by its concept of design. I am looking to present it to a customer who is looking to manage 3rd party billing system incorported on to B1.
    appreciate it.
    praveen

    Many Thanks Gordon for replying. I am aware of this tool however, what i do not know is its capabilities to auto map custom fields if any and automatically uploaded (scheduled upload) to the B1 from a 3rd party flat file information.
    For example a billing system where by they have already filtered the field criteria on invoicing
    regards,
    Praveen

  • Writing BLOB column into a csv or txt or sql  files

    Hi All,
    I am having a requirement where i have to upload a file from user desktop and place that file into a unix directory. For this i am picking that file into a table using APEX and then writing that file in unix directory using UTL_FILE.
    The problem which i am facing is that after this every line in my file is having ^M character at the end.
    For this i modified my BLOB column into a CLOB column and then also i am facing the same problem.
    Is there any way to get rid of this as i have to upload these csv or txt files into tables using sql loader programs. i can;t write any shell script to remove ^M character before uploading as this program will be merge with existing programs and then it will require lots of code change.
    Kindly Help.
    Thanks
    Aryan

    Hi Helios,
    Thanks again buddy for your reply and providing me different ways.... but still the situation is i can;t write any shell script for removing the ^M. I will be writing into a file from CLOB column.
    Actually the scenrio is when i am writing a simple VARCHAR columns with 'W' mode then it is working fine, but i have a BLOB column which stores the data in binary format so i am converting that column into CLOB and then writing it into file with 'W' mode but then i am getting ^M characters. As per your suggestion i have to then again run a program for removing ^M or i have to modify all my previous programs for removing ^M logic.
    I want to avoid all these, and just wanted a way so that while writing into a file itself it should not have ^M. Else i have to go for a java stored procedure for running a shell script from sql, and in this still i am having some problem.
    Thanks Again Helios for your time and help.
    Regards
    Aryan

  • CSV Lookup to validate the .TXT file

    Hi All,
    I am trying to validate the input file's A.txt customerID to other existing B.txt files CutomerID. Once if the input file matches the target files customerID then I am going write this output file as C.txt file.
    Hope we can do this with the help of CVS Lookup. If we need to use the CVS Lookup what all are the thing need to setup and how I need to create a .java file in NWDS or just any text editor I can achieve this? And I can import it in the Imported Achieves in ESR.
    We can do this using the UDF.
    I checked all the below links and I am not clear about this.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1453571650DB01760580483263408018End?blog=/pub/wlg/2800
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1453571650DB01760580483263408018End?blog=/pub/wlg/2926
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1453571650DB01760580483263408018End?blog=/pub/wlg/2781
    I checked with other blog too and they are importing some java .jar file as a DRIVER  in the Imported Archive. Where can I get that DRIVER.jar file to import it in to my Imported Archive in ESR.
    Please can any one throw the light on it. Thanks for all you inputs.
    Thanks,
    Jane F.
    Edited by: Jane Fraga on Oct 7, 2009 5:12 PM

    Hi Ramesh,
    Yes I can understand that, their is no CSV Lookup. Instead of that in this examples they are using the JDBC Lookup and check the CSV or txt file.
    Can you check this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1453571650DB01760580483263408018End?blog=/pub/wlg/2800
    He is using the DRIVER file in the Imported Archives in ESR. Name of the imported file is DRIVERS.
    [Message from the above blog:
    Once we have the Driver we have to import that jar file in the Imported Archive area available in the Integration Repository.
    Once we have imported this file now we can consider the CSV file as a Database table and access it in the Mapping program using a simple user-defined java program. ]
    Thanks,
    Jane F.

  • How to get the content of a website to a txt file via powershell

    Hello,
    I have a reporting server that creates a report to a URL, by running multiple .xsl files. I want to be able to gather the data in the URL and convert it to csv or txt file via powrshell.
    Again I want the data inside the URL, I've been playing around Net.Webclient but I'm not getting what I need.

    If you're using PowerShell 3.0 or later you can try using Invoke-WebRequest.
    This previous thread shows how you can download the content from the page.
    Without knowing what type of content (i.e. text vs images vs other objects) is on the page it's hard to say if this will work for you.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Link a CSV or TXT with Oracle Without loading it to Database

    Hi,
    Can we Link a CSV or TXT file with Oracle Without loading it to Database.
    Thanks & Regards,
    Rahul

    Link means data in CSV or TXT should be visible in oracle and i can use SQL queries over it but data in CSV or TXT should not be physically loaded in Oracle.
    Regards,
    Rahul

Maybe you are looking for

  • HTTP-to-file

    I am trying to get the result in HTTP client..but I am getting this error Result: http-Status:  500 Internal Server Error Payload: <SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>MAPPING.NO_MAPPINGPROGRAM_FOUND</SAP:Code><SAP:P1>http://shri

  • How to catch RFC errors in COM4ABAP destinations

    Hello all, I'm working on a project that uses COM4ABAP to call a custom COM object written in classic VB.  This maybe a generic RFC question so here goes. When I call a function like 'com_invoke' over in the COM4ABAP RFC destination, how can I catch

  • Alt+SysReq REISUB not working

    Despite the fact that /etc/sysctl.d/99-sysctl.conf contains: kernel.sysrq=1 and cat /proc/sys/kernel/sysrq confirms this is set by displaying: 1 The magic key combo merely appears to kill the X server and I go back to lightdm greeter for logging back

  • Found a bug in Coverflow

    I found what I believe to be a bug in Coverflow today. Here's how to reproduce it. Start a playlist (the playlist should have multiple songs from multiple albums in it). The ipod should be in "shuffle" and "repeat" mode. Start listening to the first

  • Delete row in JTable

    Hello I am new To JAVA SWING I have 2 questions related to JTable 1) How do i remove selected row in JTable ...for instance, I click on the row to delete (It is selected) , later I press the delete button, and then row is removed .... any hints ? 2)