Filtering using data from a spreadsheet in WebI

I need to convert a BO6.5 Full client report to a BO XI R3.1 WebI report.  The report needs to use data from an Excel spreadsheet to filter data from a universe, and in 6.5 this was achieved by creating a universe for the spreadsheet data and using 'Select Query Results' as an operand returning this data in the report conditions.  When we put this report through the conversion wizard the conversion fails.
Are there any other techniques that can be used in WebI that would allow me to use a spreadsheet to filter / join with a query from a 'regular' universe?
Thanks,
Steve Clarke

Thanks for the response! I'd be interested in writing a script for it (I've actually been researching it a bit already). I'm completely new to Javascript (and scripting) but have a fair level of experience with c/c++ so I feel it shouldn't be too bad. I'll ask here for now, just let me know if I should ask a new question on the scripting forum instead.
I've looked at the Acrobat JavaScript API Reference (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf) a bit but am having trouble finding a way to read the spreadsheet's data in (I was planning on using a csv file). I found Doc.importTextData(), which can parse a tab delimited file and from the sounds of it fill in the forms automatically (though I would much prefer a c style file interface that lets me write the parsing logic). Every time I try to call importTextData it returns -1 though, which means "Warning: User Canceled File Select". When I call it direct from the JavaScript Debug Console I just get a -1, but when I have it execute when I save I get "NotAllowedError: Security settings prevent access to this property or method.". I did a bit of research on that and modified my script to look like:
Autofill = app.trustedFunction(
    function ()
        app.trustedFunction(importTextData);
        app.beginPriv();
        var result = this.importTextData("test.csv", 0);
        app.endPriv();
        return result;
I've also tried running Acrobat as an administrator, but I still get the same error. I could just not be understanding privileges correctly.
My overall plan was:
    for each row in the spreadsheet
        - read the row in from the file
        - fill out the fields in the PDF using the read data
        - save the file with a new file name.
If there is a better method to do this, just let me know.
Thanks again for your time!

Similar Messages

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • Using data from a spreadsheet, how can I create multiple completed PDFs from a form template?

    Note that I am completely new to adobe acrobat.
    I have a form template for a completion certificate for students who take a summer workshop where I'm working. It includes data such as their name and the program they completed. I have all the necessary information for each student in an excel spread sheet. Rather than sit here and enter data into the form 300+ times, I want to automate the process. I'd like to be able to specify the spread sheet and either have acrobat just print out all 300, or save them as seperate files so I can print them easily.
    Thanks for the help!

    Thanks for the response! I'd be interested in writing a script for it (I've actually been researching it a bit already). I'm completely new to Javascript (and scripting) but have a fair level of experience with c/c++ so I feel it shouldn't be too bad. I'll ask here for now, just let me know if I should ask a new question on the scripting forum instead.
    I've looked at the Acrobat JavaScript API Reference (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf) a bit but am having trouble finding a way to read the spreadsheet's data in (I was planning on using a csv file). I found Doc.importTextData(), which can parse a tab delimited file and from the sounds of it fill in the forms automatically (though I would much prefer a c style file interface that lets me write the parsing logic). Every time I try to call importTextData it returns -1 though, which means "Warning: User Canceled File Select". When I call it direct from the JavaScript Debug Console I just get a -1, but when I have it execute when I save I get "NotAllowedError: Security settings prevent access to this property or method.". I did a bit of research on that and modified my script to look like:
    Autofill = app.trustedFunction(
        function ()
            app.trustedFunction(importTextData);
            app.beginPriv();
            var result = this.importTextData("test.csv", 0);
            app.endPriv();
            return result;
    I've also tried running Acrobat as an administrator, but I still get the same error. I could just not be understanding privileges correctly.
    My overall plan was:
        for each row in the spreadsheet
            - read the row in from the file
            - fill out the fields in the PDF using the read data
            - save the file with a new file name.
    If there is a better method to do this, just let me know.
    Thanks again for your time!

  • Extracting data from xml spreadsheet for JSP

    Hi,
    Currently i am developing a web application where user can upload a MS excel file, then the application will extract data needed and store into database. But facing problems where those excel files may content massive images that make the file size too large to be upload on to the web. Now i try to export those excel files into xml spreadsheet, to get only text data. Need helps on how to extract data from xml spreadsheet. Which API needed?
    Thanks

    Without getting into too much detail, a DTD defines the elements that can appear in an xml file, the order they can appear in, which elements can be nested within which other elements, what each element can contain, etc, etc. In short, a DTD defines the structure of the xml file and Microsoft defined a DTD for the xml files that are output by Excel.
    This is not taken from an xml file produced by Excel but DTDs look a llittle like this very basic example.
    <!DOCTYPE note [
      <!ELEMENT note (to,from,heading,body)>
      <!ELEMENT to      (#PCDATA)>
      <!ELEMENT from    (#PCDATA)>
      <!ELEMENT heading (#PCDATA)>
      <!ELEMENT body    (#PCDATA)>
    ]>If you open the one produced for you by Excel in Wordpad or another simple text editor, you may see something like this in there.
    However, if you are going to use a parser to access the file for you do not worry about getting to grips with DTDs for a short, simple project.

  • How to get useful data from request?

    Hello.
    I am looking for creating a management tool for a web site. All I want is that is there any ready to use API or package or open source project for retrieving user�s information? I just mean that is there any easy to use way in java to get useful data from a client (for example location, his or her system configuration and information �).
    Thanks.

    If you dump all the data from request (see the javadoc, and especially the "header methods" ) you'll see the data you can get are quite simple.
    The only thing you can try to rely on are ;
    - the IP address from the sender (when reversed to DNS, you can sometime use the tld to locate the country it comes from. Yet, you'll get many .com name, so it's not that significant. it may also give you the IAP used). Note that if the user is using a proxy, it's the proxy IP that you'll collect
    - the User-Agent header : from this, you can guess the OS and the browser used
    - the Referer header : usefull to get where your user comes from (where they found a link to your site)
    - the Cookie header : if you're using a servlet container with session id stored in cookie, you should see the Cookie header appear on the second request to your site. That helps finding out wether your user accep cookie or not (from a server point).
    Besides these, i don't think you can get any other useful data without asking your users on a form. Note that it's the client that decides to send Referer, User-Agent or Cookie headers. Those are not mandatory to the Http Protocole and some browser allow their user to fool their content (butmore than 90% of the widespread browsers don't)

  • How do I share data from one spreadsheet into another spreadsheet that is a separate file?

    I am trying to create a spreadsheet that will pull data from another spreadsheet in a different file for a what if scenario.  Is there a way I can reference a cell from that file besides adding a separate tab in the original file?

    For Numbers '09 (Mac), the answer is no, Numbers does not support references to a cell in a separate file.
    But the profile information at the bottom of your message, and the use of 'tab' in the message suggests you are using Numbers for iOS. I've requested your question be transferred to the iWork for iOS community, where the users of that version tend to be more plentiful than here, where the topic is Numbers (for Mac).
    Regards,
    Barry

  • Get date from portal in a web dynpro?

    hi all,
    how get date from portal in a web dynpro???
    thanks.

    new Date(System.getTimeInMillis());
    Good luck, Roelof

  • Is there a way to create address labels using data from a Numbers document?

    I'd like to print mailing labels for holiday cards and my wife created the list in a Numbers spreadsheet.
    Is there any way to export to Pages or some other label printing application?
    Thanks.

    Righty-ho. This is based on a spreadsheet like this with named columns in Numbers 3.5. (The rows must be consecutive - the script moves on as soon as it sees an empty row):
    With the spreadsheet open, run the following AppleScript. It will create a group called Christmas List in Contacts, and then import the name and address data from the spreadsheet, adding each person to the group:
    tell application "Numbers" to tell front document to tell active sheet to tell table 1
      set all_contacts to {}
      set row_count to count rows
      repeat with each_row from 2 to row_count
      set nu_contact to {}
      set first_name to value of cell each_row of column "First"
      if first_name is missing value then exit repeat
      copy first_name to end of nu_contact
      copy (value of cell each_row of column "Last") to end of nu_contact
      copy (value of cell each_row of column "Address1") to end of nu_contact
      copy (value of cell each_row of column "Address2") to end of nu_contact
      copy nu_contact to end of all_contacts
      end repeat
    end tell
    tell application "Contacts"
      set group_exists to (every group whose name is "Christmas List")
      if the result is {} then
      make new group at end of groups
      set name of the result to "Christmas List"
      save
      end if
      repeat with each_contact in all_contacts
      activate
      set nu_person to (make new person with properties {first name:item 1 of each_contact, last name:item 2 of each_contact})
      save
      make new address at end of addresses of nu_person with properties {street:item 3 of each_contact, city:item 4 of each_contact}
      save
      add nu_person to group "Christmas List"
      save
      end repeat
    end tell
    Contacts will look like this:
    With the Christmas List group selected in Contacts, go to the Print menu and choose the label format you want:
    Once the labels are printed, select all the names in the Christmas List Group and press the delete key:
    Click the middle "Delete" button and the contacts will be gone.You can then delete the Christmas List group itself.
    This can also be done in Numbers 09, but the script would have to be modified slightly.
    Hope it helps,
    H

  • I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. years each month.

    I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. year each month. I need to create a spreedsheet using the the Acutlas from the year-to-date and from last year-to-date, but need to report each month.

    Hi Tony,
    Answering your question would be easier given a screen shot of the source table and one of what you want the summary table to look like.
    Is the data you want for each month in a single cell o the source table, or does the summary table need to collect February's data (for example) from several cells and do some math with those numbers before presenting them on the summary table?
    Regards,
    Barry

  • Have a combobox pre-filled using data from database

    What would be a recommended method to have a combobox
    pre-filled using data from database?

    You can load an Array with the data returned from your
    database and bind to that array as the dataProvider for the
    comboBox.
    [Bindable]
    private var myArrayDP:Array = new Array();
    //Load the array with your returned data.
    <mx:ComboBox dataProvider="{this.myArrayDP}">
    </mx:ComboBox>
    Using an ArrayCollection however is often better if you want
    changes to the dataProvider to automatically reflect in the
    ComboBox.

  • Does my devices that are on my apple account use data from apple phone

    Will all devices on my apple account use data from my apple phone Grimm at&t.  Snapchat or face time

    Are you referring to cellular data? Is your iPad wifi + cellular? Your iPad cellular is separate from your iPhone cellular account.
    Facetime on an iPad only works on wifi.
    Can you explain your concern?
     Cheers, Tom

  • Does Facetime Use Data From You Data Plan?

    Does Facetime Use Data From You Data Plan?
    If so, what would be a good plan to use :200MB, 2 GB, or 2GB + Tethering?
    Or Does it use up minutes?

    Facetime uses wi-fi.
    "People have been dreaming about video calling for decades. iPhone 4 makes it a reality. With just a tap, you can wave hello to your kids, share a smile from across the globe, or watch your best friend laugh at your stories — iPhone 4 to iPhone 4 or to the new iPod touch over Wi-Fi."
    http://www.apple.com/iphone/features/

  • HT5569 When my daughter uses her i-phone on our wirless network at home does it use data from our data plan when she plays games or aps from her phone?

    When my daughter uses her I-phn on our home wirless network does it still use data from our data plan? Thanks.

    No. As long as she's connected to WiFi, no cellular data is being used.

  • Email templates using data from iWork Numbers spreadsheet

    As a photographer, when I get a call from a client to book a shoot, my first step is to open my bookings spreadsheet in Apple's Numbers and input the client's info into pre-determined columns: name, phone number, job date, job scheduled arrival time, job address, job city, travel distance, details regarding the shoot, and then I have a list of columns that specify costs (cost for work, taxes, travel, etc--automatically calculated via functions in spreadsheet).
    Immediately after I insert this information into the bookings spreadsheet, I open another file (a text file)--a text template I created to confirm bookings--and fill in the blanks using the information from the spreadsheet. Once that info has been filled out, I copy and paste the entire text file into an an email and email it to the client for his confirmation/records. The email template text (txt) file I use is included below.
    Question: Is it possible to create a script that will read the specified row in my Numbers booking spreadsheet (ie, the row where I input the information in the spreadsheet) and have the information inserted into the separate text confirmation template (apple pages or text or email?) at specified areas within the text? If so, can someone help me make something like this? Here's the template I use:
    Hi clientnamehere
    It was nice chatting with you. And thanks again for choosing us for your photography needs.
    For your convenience, I've outlined the details of your booking below. Please ensure everything looks OK:
    _Order Confirmation_
    As discussed, we've booked the following services:
    - [deletethose_that_don't_apply_incl_thisnote]
    - real estate photos
    - upscaling photos
    - virtual tour
    - hd video tour
    - customizable slideshow
    - floor plans
    - brochure design, print, & delivery
    - virtual staging
    - photoshop touchups
    For the following location:
    - property_address, city, postal_code
    On the following date and time:
    - month_date at time
    Note: If any of the above is incorrect in anyway, please email us asap.
    concision edit
    Message was edited by: thebigother

    Let's begin with your first question:
    I've tried to change the "Template.txt" file into an rtf so that I can apply bolding and underlining to certain sections (ie, bolding to the entries like client_name, job_date, etc... and underlining to the "Steps"), and I changed the script from Template.txt to Template.rtf to reflect this change... but when I run a script I get a bug... is there any way to use an rtf file in place of the txt?
    The following script should work with an RTF file, provided you don't mind using [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html] (in blue below). Before running the script, you will have to enable the Accessibility Frameworks by clicking the checkbox labeled "Enable access for assistive devices" in the Universal Access System Preference pane.
    *set theTemplate to POSIX file (POSIX path of (path to desktop) & "Template.rtf")*
    *tell application "Numbers"*
    *   tell table 1 of sheet 1 of front document*
    *      set theValues to value of cells of row 1 of selection range*
    *   end tell*
    *end tell*
    *tell application "TextEdit"*
    *   open theTemplate*
    *   set theText to text of front document*
    *end tell*
    *set theText to replace("clientnamehere", item 1 of theValues, theText)*
    *set theText to replace("property_address", item 2 of theValues, theText)*
    *set theText to replace("city", item 3 of theValues, theText)*
    *set theText to replace("postal_code", item 4 of theValues, theText)*
    *set theText to replace("month_date", item 5 of theValues, theText)*
    *set theText to replace("at time", "at " & item 6 of theValues, theText)*
    *tell application "TextEdit"*
       activate
    *   tell application "System Events"*
    *      keystroke "a" using command down* -- “Select All”
    *      keystroke "c" using command down* -- “Copy”
    *   end tell*
    *   close front document without saving*
    *end tell*
    *tell application "Mail"*
       activate
    *   make new outgoing message with properties {visible:true}*
    *   tell application "System Events"*
    *      keystroke tab & tab & tab & tab & tab* -- five 5 text fields at most
    *      delay 0.25* -- adjust if necessary
    *      keystroke "a" using command down* -- “Select All”
    *      keystroke "v" using command down* -- “Paste”
    *   end tell*
    *end tell*
    *on replace(X, Y, theText)*
    *   set P to offset of X in theText*
    *   set L to length of X*
    *   tell front document of application "TextEdit"*
    *      delete (characters (P + 1) through (P + L - 1))*
    *      set character P to Y*
    *      return its text*
    *   end tell*
    *end replace*

  • Using a java program to fill in forms using information from a spreadsheet

    I had an idea to "automate" some data entry at work and need to know if my idea is feasible with Java. Here is the back story:
    I work on a research project and we have all of our contact data in an Excel spreadsheet (I know access may be better for this but for "political reasons" I just set it up in Excel). Every day we need to pay participants and this is done through a third party website. When the participant is new to this website we need to fill in all their personal information via a form on the webpage. Since we already have all their information stored in a spreadsheet, I was thinking we could create a little program that pulls the data from the excel sheet and inserts it into the form fields.
    Can this be done with a simple java program?
    Thank you for any help!

    peroija wrote:
    Can this be done with a simple java program?No.
    Can this be done with a java program?Yes. You could certainly have your page upload the spreadsheet to your server, and you could certainly have your server program attempt to extract the data from Excel using Apache POI or JExcel or something like that. But you have to be prepared for people to upload the wrong file, or the right file in which the users have chosen unusual date formats, and so on. You could make things easier by distributing a spreadsheet which is locked down so that the users can only enter the information in specific places and specific formats, but it looks like you have missed that opportunity too.

Maybe you are looking for

  • How Do I Display Quotation Marks in Dynamic HTML Text

    I'm using a dynamic text file that has some Quotation Marks that need to be displayed with the content on certain words in the TXT file. How do i display Quotation Marks inside a Dynamic text field? Please Advise. As soon as possible. Thanks

  • OfficeJet 6310 Will Not Install on Windows 7

    I have an HP OfficeJet 6310 that I am trying to install on a computer operating on Windows 7 64-bit.  Using the Add A Printer feature, I am able to add the printer but it will only print - it will not scan.  When attempting to scan from the all-in-on

  • Error "602" System error: AK Datapart too short

    Hi all, Ok, I have looked just about everywhere for an answer to this but to no avail...I even tried under a few rocks we have laying around. Anyway here it is: While running a compression in BW we get Error "602"  System error: AK Datapart too short

  • Function in update task goes to dialog process(seen by sm50)

    Hi Forum,    I wrote a simple test to invoke a function module in update task, and the execution of the module takes several minutes (updating database using opensql) . The test looks simply like described in the following link: http://www.**********

  • Change fingerprint login icon/picture - Windows 7

    Hello all- I've got a fairly new T440s for which I've set up fingerpringt reading. I was wondering if there'd be an (easy) way to change the picture displayed on the welcome/login screen. I'm not talking about the background, but the icon in the midd