Read contents from webpages

Hello there,
I'm totally new to Java, but I have some experience with C#. I'm reading up on Java (have an old book called "Java 2 Complete" by Sybex) and I was wondering if here is a way to read (parse) information from web pages, to use them to check for the contents and write them to a certain cell/column/row in an Excel file if it doesn't match the current contents.
I think that the problem is that the information from these webpages is generated dynamically. Because it's difficult to just tell, I've made screenshots of a few of the pages I want to read from and compare. In http://smg.photobucket.com/albums/v397/Paynebringer/Java%20Question/ you can see the screenshots. The first one (System.jpg) shows a page with a table. The size of the table doesn't change, and I only want to check the contents, and if anything changed, make adjustments in my Excel file.
The next screenshot (CPs.jpg) shows a table that is generated dynamically. The maximum size of this table is 50 "events", and only shows events for a certain amount of time. I need to somehow read this table, and interpret the date and time of the event, so I can use that in calculations. Faction2.jpg shows a list of groups on a page. Clicking on it displays further information about that group. However, you can't jump automatically to that page. If you use the link in the list, you jump to a page like Faction.jpg .
Any and all help will be appreciated.

I would have saved it as a notepad text file format, and used the seperator to get information as an object and used them. Im new to java, I dont know if you even kan read from a website. But does this site have a database you can retrieve these tables from? That would be faster and easier.

Similar Messages

  • Automatically Importing Content From Webpage

    In Excel it was possible to import data from webpages into the spreadsheet.
    Can that be done in Numbers? If so how?
    Thanks

    Hello
    In fact the problem is simply that Safary doesn't finish its work.
    After copying from the WebPage
    run this huge script:
    set t to the clipboard as text
    set the clipboard to t
    Now you may paste in a Numbers table
    When I examined the contents of the t variable, I discovered that rows are correctly separated by $0D aka return.
    The task was finished in the process which normalizes the clipboard's contents.
    Yvan KOENIG (from FRANCE mercredi 23 janvier 2008 11:29:47)

  • Reading content from PDF to XI

    Hi All,
    Can I know about, is XI capable of reading the content from PDF. As I came to know that we can achieve this with the adapter module can you please ignite me how to do for this or is there any other option other than this way or show me if already any threads or articles are existed?

    Hi,
    Please find some links on Convertion agent which not only convert the PDF documents. it is used to convert PDF, Word Document, HL7 and more...
    pdf files *
    SAP Network Blog: XI: Read data from PDF file in Sender Adapter
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    SAP Network Blog: XI: Generate PDF file out of file adapter
    /people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    Regards,
    Phani

  • ITunes not reading contents from iPhone on MacBook

    Hi, new year greetings !! New year new problem with my apple environment.
    1)This is the sequence if events. I had downloaded few music podcasts on my iTunes through my MacBook.
    2)When I try To sync the podcast it to my iPhone, it fails, does not copy but gives no error message
    3)Some one tells me about transferring podcasts from MacBook to iPhone using third party software.
    4) I download the software and started using it.
    5)After 5 minutes figured out it was no use so I uninstalled the software
    6)i plugged my iPhone to my mac immediately after and iTunes pops this message "iTunes is unable to read contents of this iPhone, goto summary tab in iPhone preferences and click Restore to restore this phone to factory setting"
    This has never happened before, it happened after using the software which I have already uninstalled.
    Pls help, what am I to do..
    And my initial problem how do I copy the podcasts to my iPhone ??
    Pls help
    Sayeed

    Same thing just happened to me. iPhone synced successfully yesterday, but now iTunes wants me to restore the factory settings on my iPhone. Not a cable problem, as I have tried two different USB cables.
    What's more, this is not the only iTunes problem of the morning. I was trying to use my iPod (not iPhone) to move my Music library to my son's computer. An error message popped up that my computer (not his) was not authorized to play iTunes purchases, and all purchases would be deleted from my iPod unless I authorized my computer. Even though this computer has been authorized for years, I tried to authorize it as instructed -- only to repeatedly get an error message (-42408), which is apparently a common problem these days.
    So I thought, let's see if the iPhone gets the same authorization problem when synced. Well, that didn't work out too well.....
    Not too happy with Apple at the moment. What should have been a simple and quick process has now turned into a time-consuming nightmare of multiple problems affecting multiple devices, and apparently these problems are common.

  • Cannot read content from ipod...

    my 30gb ipod was playing on my girlfriends laptop, then she brought the laptop into the kitchen to play and when i looked up, there was music or videos. But there was my photos on the ipod. My ipod is on manually manage and it says that my ipod has the regular amount of space left that it had before so I dont' think the music and videos are gone but if I restore it then I can't keep my stuff. Sorely confused. Tried to remap the drive through the disk management..itunes recognizes that the name of my ipod cant be read but then it tells me to restore.

    Have you had a chance to look at this troubleshooting page? It may be of some help: "Disk cannot be read from or written to" when syncing iPod

  • How can I read content from PDF file stored in Oracle 9i XMLDB

    Hi Friends:
    Now I have met one question that I don`t know how to read some String , for example "Hello", from the PDF file stored in the Oracle 9i XMLDB, I have stored that PDF file into the XMLDB now, any suggestions are appriciated . Thank you in advance.

    You may be able to do something with Oracle Text. The following shows how to get an HTML rendiditon of a binary document. I think you can also get plain text instead of HTML
    set echo on
    spool xfilesUtilties.log
    connect sys/&1 as sysdba
    grant ctxapp to &2
    connect &2/&3
    begin
      ctxsys.ctx_ddl.create_policy(policy_name=>'XFILES_HTML_GENERATION', filter=>'ctxsys.auto_filter');
    end;
    create or replace package xfiles_internal_11010
    authid definer
    as
      function renderAsHTML(sourceDoc BLOB) return CLOB;
    end;
    show errors
    create or replace package body xfiles_internal_11010
    as
    function renderAsHTML(sourceDoc BLOB)
    return CLOB
    as
      html_content CLOB;
    begin
      dbms_lob.createTemporary(html_content,true,DBMS_LOB.SESSION);
      ctx_doc.policy_filter(policy_name => 'XFILES_HTML_GENERATION',
                            document => sourceDoc,
                            restab => html_content,
                            plaintext => false);
      return html_content;
    end;
    end;
    show errors
    create or replace package xfiles_utilities_11010
    authid current_user
    as
      HOME_FOLDER   constant varchar2(700) := xdb_constants.HOME_FOLDER;
      PUBLIC_FOLDER constant varchar2(700) := xdb_constants.PUBLIC_FOLDER;
      function renderAsHTML(sourceFile VARCHAR2) return CLOB;
      function transformToHTML(xmldoc XMLType, xslPath VARCHAR2) return CLOB;
    end;
    show errors
    create or replace package body xfiles_utilities_11010
    as
    function renderAsHTML(sourceFile VARCHAR2)
    return CLOB
    as
    begin
      return xfiles_internal_11010.renderAsHTML(xdburitype(sourceFile).getBLOB());
    end;
    function transformToHTML(xmldoc XMLType, xslPath VARCHAR2)
    return CLOB
    as
      html clob;
    begin
      select xmldoc.transform(xdburitype(xslPath).getXML()).getClobVal()
        into HTML
        from dual;
      return html;
    end;
    end;
    show errors
    grant execute on xfiles_utilities_11010 to public
    create or replace public synonym xfiles_utilities for xfiles_utilities_11010
    quitMessage was edited by:
    mdrake

  • Read Image From Webpage

    Sorry, posted in wrong forum.
    Edited by: gms5002 on Mar 4, 2008 12:51 PM

    Why not just use ImageIO? It's simpler:
    Image img = javax.imageio.ImageIO.read(photoUrl);

  • Read contents from a blob file

    hi all
    i have data stored in a blob file
    and i want to show the data in the fields
    but when i am showing the data i am not getting the data in the desired format
    eg
    if i have stored a name (Mandar )in the blob file
    when displaying in the blob field i am getting something like aaaaabbbjddddd (example)
    i am not well versed with this
    can u please guide me through it ?
    thanks
    Mandar

    What you are getting is raw format. You need to use:
    UTL_RAW.cast_to_varchar2 (p_raw);
    in order to make it readable.
    Denes Kubicek

  • How to copy/paste texts/images from webpages in iBooks Author?

    Hi,
    I want to copy/paste text/image contents from webpages with iBooks Author, somehow images can't be copied, only texts can be copied with copy/paste editing. Wonder if there are any ways to include images with simple copy/paste?
    Tried to search iBooks Author help, could not find answers. Please help.
    Thanks

    Perhaps the people who spent a lot of time and money to produce the websites.....and who own copyright ...don't want anybody using their work without payment or credits. Have you contacted the websites owners to ask permission? 
    IF any person(s)  use anything from websites without permission apart from being to lazy to email to request permission....could face a legal action if and when the sites owners fins out. 
    There is another her misconception that "free" websites and content on "social media" such as the dreaded FaceBook....can be used without consequence. Almost all "free" websites are common licence material - which requires permission and those who give permission do so only for personal or none profit reproduction.
    i Use a blocking script on my websites which apart from preventing a right click...those who try are whisked off  my website to the the UK copyright website page which explains my rights! 
    You may wish to check out your iBooks contract with Apple and read their warnings on use of others copyright material. 
    You could ..and should contact the websites...explain what you want to use and why....and ask them if they can supply media.

  • ALV GRID Problem with reading contents

    Hi there! I'm quite new with ABAP and I have some problems with the syntax of it. Maybe I should first describe my aim and then I'll show you my code.
    1. I read contents from two database tables, called 'zbc_dan_registry' and 'zbc_dan_category'.
    'zbc_dan_registry' has 2 columns: name, value.
    zbc_dan_category' has 1 column: category.
    Now I want to have an ALV Grid, that displays the contents of 'zbc_dan_registry' and one additional column with dropdown fields, where the user can select a category for each row. This is, what my code already does.
    Now I want to save the contents of the whole table in a new table 'zbc_dan_registrz' (you see: 'registrz', not 'registry'!) with 3 columns:
    name, category, value.
    My problem is, how can I read the contents of the ALV Grid, with the user selected category for each row, and save them in an internal table? I've tried to adapt the code of "BCALV_EDIT_04", but I don't get it running.
    Some detailled help would be great, you know, I'm really working hard to understand ABAP, but it's really hard for me. Thanks for your support and help!!
    Here's my code so far:
    *& Report  ZBC400_DAN_TESTNO4
    REPORT  ZBC400_DAN_TESTNO4.
    DATA: lt_registrz TYPE TABLE OF zbc_dan_regstrz WITH HEADER LINE,
          lt_category TYPE TABLE OF zbc_dan_category WITH HEADER LINE,
          ls_category TYPE zbc_dan_category, "Struktur Kategorie
          ok_code LIKE sy-ucomm,
          container_r TYPE REF TO cl_gui_custom_container,
          grid_r TYPE REF TO cl_gui_alv_grid,
          gc_custom_control_name TYPE scrfname VALUE 'CONTAINER_REG',
          fieldcat_r TYPE lvc_t_fcat,
          layout_r TYPE lvc_s_layo,
          lt_ddval TYPE lvc_t_drop,
          ls_ddval TYPE lvc_s_drop,
          c TYPE i.
    CLASS lcl_event_receiver DEFINITION DEFERRED.
      DATA g_verifier TYPE REF TO lcl_event_receiver.
      DATA: BEGIN OF gt_outtab OCCURS 0.
        INCLUDE STRUCTURE zbc_dan_regstrz.
        DATA: celltab TYPE lvc_t_styl.
      DATA: END OF gt_outtab.
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
      TYPES: BEGIN OF lt_registrz_key.         "Struktur mit den Schlüsseln der Tabelle 'Registry'
        TYPES:  name TYPE zbc_dan_name,
                value TYPE zbc_dan_value,
                category TYPE zbc_dan_cat.
      TYPES: END OF lt_registrz_key.
      TYPES:  ls_registrz_keys TYPE STANDARD TABLE OF lt_registrz_key,
              ls_registrz_table TYPE STANDARD TABLE OF zbc_dan_regstrz.
      METHODS: get_inserted_rows EXPORTING inserted_rows TYPE ls_registrz_keys.
      METHODS: refresh_delta_tables.
      METHODS: handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid IMPORTING er_data_changed.
    *  METHODS: get_inserted_rows EXPORTING inserted_rows TYPE registrz_keys.
    *  METHODS: refresh_delta_tables.
      PRIVATE SECTION.
      DATA: inserted_rows TYPE ls_registrz_keys.
      DATA: error_in_data TYPE c.
      METHODS: get_cell_values IMPORTING row_id TYPE int4 pr_data_changed TYPE REF TO cl_alv_changed_data_protocol EXPORTING key TYPE lt_registrz_key.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_data_changed.
        DATA: ls_good TYPE lvc_s_modi,
              ls_new TYPE lvc_s_moce.
        error_in_data = space.
        IF error_in_data = 'X'.
          CALL METHOD er_data_changed->display_protocol.
        ENDIF.
      ENDMETHOD.
      METHOD get_cell_values.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'NAME'
            IMPORTING e_value = key-name.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'VALUE'
            IMPORTING e_value = key-value.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'CATEGORY'
            IMPORTING e_value = key-category.
      ENDMETHOD.
      METHOD get_inserted_rows.
        inserted_rows = me->inserted_rows.
      ENDMETHOD.
      METHOD refresh_delta_tables.
        clear me->inserted_rows[].
      ENDMETHOD.
    ENDCLASS.
    START-OF-SELECTION.
        SELECT client name value
          INTO CORRESPONDING FIELDS OF TABLE lt_registrz FROM zbc_dan_regstry.
        SELECT category INTO CORRESPONDING FIELDS OF TABLE lt_category FROM zbc_dan_category.
    CALL SCREEN 0100.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'BACK'.
          SET SCREEN 0.
          MESSAGE ID 'BC400' TYPE 'S' NUMBER '057'.
        WHEN 'SAVE'.
          PERFORM save_data.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.
    MODULE clear_ok_code OUTPUT.
      CLEAR ok_code.
    ENDMODULE.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'DYNPRO100'.
      SET TITLEBAR 'D0100'.
    ENDMODULE.
    MODULE display_alv OUTPUT.
      PERFORM display_alv.
    ENDMODULE.
    FORM display_alv.
    IF grid_r IS INITIAL.
    *----Creating custom container instance
      CREATE OBJECT container_r
      EXPORTING
        container_name = gc_custom_control_name
      EXCEPTIONS
        cntl_error = 1
        cntl_system_error = 2
        create_error = 3
        lifetime_error = 4
        lifetime_dynpro_dynpro_link = 5
        others = 6.
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Creating ALV Grid instance
        CREATE OBJECT grid_r
        EXPORTING
          i_parent = container_r
        EXCEPTIONS
          error_cntl_create = 1
          error_cntl_init = 2
          error_cntl_link = 3
          error_dp_create = 4
          others = 5.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          CREATE OBJECT g_verifier.
          SET HANDLER g_verifier->handle_data_changed FOR grid_r.
    *----Preparing field catalog.
          PERFORM prepare_field_catalog CHANGING fieldcat_r.
    *----Preparing layout structure
          PERFORM prepare_layout CHANGING layout_r.
    *----Here will be additional preparations
    *--e.g. initial sorting criteria, initial filtering criteria, excluding
    *--functions
          CALL METHOD grid_r->set_table_for_first_display
          EXPORTING
    * I_BUFFER_ACTIVE =
    * I_CONSISTENCY_CHECK =
    * I_STRUCTURE_NAME =
    * IS_VARIANT =
    * I_SAVE =
    * I_DEFAULT = 'X'
            is_layout = layout_r
    * IS_PRINT =
    * IT_SPECIAL_GROUPS =
    * IT_TOOLBAR_EXCLUDING =
    * IT_HYPERLINK =
          CHANGING
            it_outtab = lt_registrz[]
            it_fieldcatalog = fieldcat_r
    * IT_SORT =
    * IT_FILTER =
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error = 2
            too_many_lines = 3
            OTHERS = 4.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          ELSE.
            CALL METHOD grid_r->refresh_table_display
    * EXPORTING
    * IS_STABLE =
    * I_SOFT_REFRESH =
          EXCEPTIONS
            finished = 1
            OTHERS = 2.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
        ENDIF.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    ENDFORM.
    FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
        i_structure_name = 'ZBC_DAN_REGSTR2'
      CHANGING
        ct_fieldcat = pt_fieldcat[]
      EXCEPTIONS
        inconsistent_interface = 1
        program_error = 2
        OTHERS = 3.
      IF sy-subrc <> 0.
    *--Exception handling
      ENDIF.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'NAME'.
            ls_fcat-coltext = 'Name'.
            ls_fcat-outputlen = '40'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'VALUE'.
            ls_fcat-coltext = 'Wert'.
            ls_fcat-outputlen = '30'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'CATEGORY'.
              LOOP AT lt_category into ls_category.
                ls_ddval-handle = 1.
                ls_ddval-value = ls_category-category.
    *            ls_ddval-style = cl_gui_alv_grid=>mc_style_enabled.
                APPEND ls_ddval TO lt_ddval.
             ENDLOOP.
             CALL METHOD grid_r->set_drop_down_table
                EXPORTING it_drop_down = lt_ddval.
            ls_fcat-edit = 'X'.
            ls_fcat-drdn_hndl = '1'.
            ls_fcat-coltext = 'Kategorie'.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.
    FORM prepare_layout CHANGING ps_layout TYPE lvc_s_layo.
      ps_layout-zebra = 'X'.
      ps_layout-grid_title = 'Kategorie zur Registry hinzufügen'.
      ps_layout-smalltitle = 'X'.
    ENDFORM.
    FORM save_data.
      DATA: ls_ins_keys TYPE g_verifier->ls_registrz_keys,
            ls_ins_key TYPE g_verifier->lt_registrz_key,
            ls_registrz TYPE zbc_dan_regstrz,
            ls_outtab LIKE LINE OF gt_outtab,
            lt_instab TYPE TABLE OF zbc_dan_regstrz.
      CALL METHOD g_verifier->get_inserted_rows IMPORTING inserted_rows = ls_ins_keys.
      LOOP AT ls_ins_keys INTO ls_ins_key.
        READ TABLE gt_outtab INTO ls_outtab
        WITH KEY  name = ls_ins_key-name
                  value = ls_ins_key-value
                  category = ls_ins_key-category.
        IF sy-subrc = 0.
          MOVE-CORRESPONDING ls_outtab TO ls_registrz.
          APPEND ls_registrz TO lt_instab.
        ENDIF.
      ENDLOOP.
      INSERT zbc_dan_regstrz FROM TABLE lt_instab.
      CALL METHOD g_verifier->refresh_delta_tables.
      ENDFORM.

    Hi Hans,
    You raised the Question in the Webdynpro ABAP forum. Here its very diffcult to get the answer from this forum. Please close it here and raise the same question in ABAP General Forum there you will get faster and so many anwsers.
    Please close the question here.
    Warm Regards,
    Vijay

  • Can't get content from PCD

    Hi,
    I've developed a small project to read content from pcd, in this case, to get roles attributes. I've followed this tutorial http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?QuickLink=index&overridelayout=true, but I keep getting a NoClassDefFound for IPCDContext and PCDSearchConrols(if i choose to use this objet instead). I've added a DC of the External Library type to my project wich contained all the jars needed. Here's the code for my project:
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import java.lang.Object;
    import com.sap.portal.directory.Constants;
    import com.sap.portal.pcm.admin.PcmConstants;
    import com.sap.security.api.IRole;
    import com.sap.security.api.IUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDUMException;
    import com.sap.teste.wdp.IPrivateShowRoleView;
    import com.sapportals.portal.pcd.gl.IPcdContext;
    import com.sapportals.portal.pcd.pcm.roles.IPortalRole;
    import com.sapportals.portal.pcd.gl.IPcdAttribute;
    import com.sapportals.portal.pcd.gl.IPcdContext;
    import com.sapportals.portal.pcd.gl.IPcdSearchResult;
    import com.sapportals.portal.pcd.gl.PcdSearchControls;
    import com.sap.portal.pcm.admin.IAdminBase;
    import com.sap.portal.pcm.admin.IAttributeSet;
    import com.sap.portal.pcm.admin.ValidationException;
    import com.sap.tc.webdynpro.progmodel.api.WDValueServices;
    import com.sap.tc.webdynpro.progmodel.api.WDVisibility;
    import com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.pcd.gl.IPcdSearchResult;
      public void wdDoInit()
       IUser user = null;
        try{
             user = WDClientUser.getCurrentUser().getSAPUser();
        catch(WDUMException e){
             wdContext.currentContextElement().setResult(e.getMessage());
             Hashtable env = new Hashtable();     
         env.put(IPcdContext.SECURITY_PRINCIPAL, user);
         env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
         env.put(Constants.REQUESTED_ASPECT,   IPcdAttribute.PERSISTENCY_ASPECT);     
         InitialContext iCtx = null;
         try
              String iRoleDir = "pcd:portal_content/mmmarques/role_teste3";
              iCtx = new InitialContext(env);
              IPcdContext attrSet = (IPcdContext) iCtx.lookup(iRoleDir);
              attrSet.getAttributes("").get("com.sap.portal.pcd.gl.CreatedAt").get().toString();
              attrSet.getAttributes("").get("com.sap.portal.pcd.gl.LastChangedBy").get().toString();
              attrSet.getAttributes("").get("com.sap.portal.pcd.gl.LastChangedAt").get().toString();
              attrSet.getAttributes("").get("com.sap.portal.pcm.Title").get().toString();
         catch (Exception e) {
              wdContext.currentContextElement().setResult("failed");
    If anybody could help, I would be very grateful. Thanks in advance

    Also, when I try to build my external library DC I get the following warnings:
    createPublicParts:
      [pppacker] Packing public part 'ExternalLibs'
      [pppacker] Packed   1 file  for entity activation.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.rf.framework_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.rf.global.service.mime_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.rf.global.service.pipeline_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.rf.global.service.urlgenerator_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.sf.framework_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity bc.util.public_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.navigation.api_service_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.navigation.helperservice_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.navigation.service_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.pcd.roleservice_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.themes.lafservice_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.portal.usermanagementapi.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.security.api.ep5.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity com.sap.security.api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity gl_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.command_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.repository.service.accessstatistic_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.repository.service.app.subscription_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.repository.service.timebasedpublish_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.service.actioninbox_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity km.shared.ui.util_api.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity mail.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity ojdbc14.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity poi-3.0-rc4-20070503.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity poi-contrib-3.0-rc4-20070503.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity poi-scratchpad-3.0-rc4-20070503.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity prtapi.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity prtconnection.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity prtjndisupport.jar (Archive/Java Library)
      [pppacker] Packed   1 file  for entity tcepbcpcmadminapijava.jar (Archive/Java Library)
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.usermanagementapi.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.timebasedpublish_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.mime_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtconnection.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.framework_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\gl_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-3.0-rc4-20070503.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtapi.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.util.public_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.service_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.helperservice_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\activation.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.sf.framework_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.themes.lafservice_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.pcd.roleservice_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.security.api.ep5.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.security.api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\tcepbcpcmadminapijava.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\prtjndisupport.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.command_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.ui.util_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-contrib-3.0-rc4-20070503.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.pipeline_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.service.actioninbox_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.app.subscription_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\bc.rf.global.service.urlgenerator_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\com.sap.portal.navigation.api_service_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\km.shared.repository.service.accessstatistic_api.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\ojdbc14.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\mail.jar
      [pppacker] WARNING: Can not overwrite file C:\Users\mmmarques\.dtc\1\DCs\sonae.com\ag360\jars_dc2\_comp\gen\default\public\ExternalLibs\lib\java\poi-scratchpad-3.0-rc4-20070503.jar
      [pppacker] Packed 31 entities for public part 'ExternalLibs'
         [timer] Packing of public part 'ExternalLibs' finished in 0.047 seconds
    Edited by: babonhas8 on Jul 22, 2011 11:16 AM

  • Combine content from selected aspx pages and Consolidate to pdf

    Hi All,
    I have a new requirement in one of the SharePoint portals :
    Contents are placed on ASPX pages using a content editor
    A feature to select pages and combine all the content from content editor of these pages into a pdf document
    Is there a way to access only
     the content stored in content editor and consolidate them in to one data source and then convert that in to a pdf file ?
    Thanks in Advance
    Pallavi

    Hi Pallavi,
    According to your description, my understanding is that you want to convert the content in content editor webpart to PDF file.
    I suggest you can use read content from content editor web part to a string variable using ContentEditorWebPart class.
    Here is a code demo about reading content using ContentEditorWebPart class:
    http://sharepoint.stackexchange.com/questions/87499/how-to-get-content-from-content-editor-webpart-cewp-to-a-custom-webpart-on-the
    ContentEditorWebPart.Content property:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.contenteditorwebpart.content(v=office.15).aspx
    Then you can generate PDF file with string variable. To create PDF file, you need to download PDFsharp library and reference the dll in your project.
    Here is a code demo about creating pdf file using C#:
    http://csharp.net-informations.com/file/create-pdf.htm
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Reading contents of textfile

    Hi,
    Does anybody know about reading contents from a textfile. I am using FileReader and BufferedReader. I don't need to know how to actually implement it, I would just like a suggestion as to any other way to do this, please.
    Thanks for any help.

    Basics are described in
    http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html
    Efficiency isn't the issue there -- just fundamentals.

  • Safari reading list prefers to load the content from the web

    Hello to the community,
    I am having trouble with using Safari reading list. It seems that my webpages do get saved in the list alright but anytime I have an internet connection, the reading list prefers to load the content from the web instead of the cache.
    Let me give you a model situation: I am on 3G but currently over FUP so my data are slow. I have a webpage in my list. After opening it, it takes a very long time to open, very likely due to the currently limited speed of my data plan. However, if I turn the phone into airplane mode and try to open the same page from the list, it loads immediately.
    Can anyone advice on how to prevent my phone from doing this?
    Thank you.

    Hi,
    Firstly an external content type designed to work with SharePoint list and there is no way to read apart from this.
    If you are looking the solution out of the " Business Connectivity" then find that data source has been exposed through WCF and  Web Service ?
    So you can use REST API and CSOM to consume those data in SharePoint.
    You can also leverage the ADO.NET option if the datasources based on MS technologies.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • How do I download content from a webpage onto a word document?

    I need to download content from a webpage onto a word document so  I can submit an assignment

    If you phrase  your question in something specific,
    I am using Pages and want to embed a photo into an article I am writing.
    I think different browsers save photos just fine but you would want to Save As and have the browser Ask with each save or download where it was to go, otherwise navigate to the default download folder and move it to a more suitable location or just point to it in Pages.
    I think this should go in forum for Pages if that is the app you use.
    https://discussions.apple.com/community/iwork/pages
    It might even be possible to do all this on an iPad of course.
    https://discussions.apple.com/community/app_store/iwork_for_ios#
    https://discussions.apple.com/community/ipad/using_ipad#

Maybe you are looking for

  • Pebrot MSN in cli. Change default colors

    hi! im looking forward to know how to change the default colors in pebrot (http://pebrot.sourceforge.net/) so it shows a transparent background in urxvt instead the default black solid color pebrot has a ~/.pebrot/pebrotrc file: # Pebrot config file

  • How to delete emails

    Email: can't delete email or see 'trash' after upgrade to ios5.1  Any suggestions?

  • Iw22 long text issue

    hi, I am facing a strange issue in long text creation and saving in iw22 that whenever i am changing the long text or adding any line with the existing long text it is showing the reported by field's id of iw22 in long text user id place. In spro the

  • Click and drag Photoshop CC not working

    I have used the click and drag brush resize frequently in various versions of Photoshop.  Been editing images all day and not it's stopped working.  Using IOS 10.8.

  • Version 21 hangs EVERY time I attempt a download. Resetting does not work. Reinstalling does not work

    Since version 21 was downloaded, I can't download anything without Firefox crashing. It never comes up and I have to close everything out. I've tried resetting (4 times) and reinstalling. This has been going on for over a month and I'm about to just