Trying to add PDF icons to my Assignment Block (CRM 7 WebUI)

Hello gurus,
I am trying to display a pdf icon in every row of my assignment block in CRM 7 WebUI. I am using one click actions, so I have an actions column, and I the logic to make the icon image appear is in the GET_OCA_T_TABLE of the context node class. When I create actions like delete and edit, it is very easy to get the icons, for example, the following code works perfectly and the icons are displayed in the assignment block:
   ls_one_click_action-id      = 'DELETE'.
    ls_one_click_action-icon    = 'delete.gif'.
    ls_one_click_action-text    = ''.
ls_one_click_action-id      = 'EDIT'.
    ls_one_click_action-icon    = 'edit.gif'.
    ls_one_click_action-text    = ''.
But, I cannot add a pdf icon.... I have tried the paths to PDF icons in the MIME repository, and I have tried getting the PDF icons like this cl_thtmlb_util=>GC_ICON_FILE_PDF or with cl_thtmlb_util=>get_icon_url(pdf)... nothing displays anything but a broken image.
Please help me!  <text removed>
Jonathan
Edited by: Matt on Jun 27, 2011 10:18 AM

Thanks!!!
You mean, in the .htm file?? Well that would not work, at least not in my case, because there is almost nothing in the .htm.. Anyways, thanks a lot. I did not find it your way.... In the debugger, I found the path through the MIME repository to the default MIME types for THMLB.
Now I have to open a PDF file in IXOS in a new window in the WEBUI....... how can I call a PDF in IXOS based on my an object ID??
Thank you!!
Jonathan

Similar Messages

  • I trying to add print Icon in Thread Pane or Message Pane can you help?

    I trying to add print Icon in Thread Pane or Message Pane can you help?

    You have shown us Firefox.
    How does that relate to doing it in Thunderbird?

  • CRM 2007 UI - Add Field Set to an Assignment Block

    Hello Community,
    We would like to enhance an assignment block with additional field sets in BSP WD Workbench.
    Example:
    - the Assignment Block "Private Date" - BP_Cont/ContactAltOV - within the contact component BP_Cont has several SAP Standard field sets in the BSP WD Workbench; Examples are: NAME1; TEXTHEADER; BUILHEADER ...
    - We need to extend this assignment block with fields of the field set STANDARTADRESS from Component BP_ADDR/StandardAddress
    Does anyone has documentation describing this development or knows how to do this. The WebUI cookbook and RKT material is not really helpful on this.
    Thanks for your help
    Michael
    Edited by: Michael Thiel on Apr 23, 2008 4:42 PM

    Hi,
    this would not work within a few from my understanding.
    What you need to do to get additional fields or set of fields available in the configuration of this view is to enhance the context of thie view in the component workbench.
    For being able to do this you need to enhance the componentn BP_CONT and the view itself.
    - Select the view in the component view so that the view structure appears on the right side.
    - Expand "Context" and then "Context Node"
    - Right-click "Context-Node" and select "Create"
    - Follow the wizard...
       - create a new context node (e.g. zAddress ) of type BuilStandardAddress
       - you don't need attributes or custom controller assignment for this case
       - make it dependent from BuilHeader via relation BuilStandardAddressRel
    After having generated the new node you should see the new field set in configuration.
    If you need F4-helps or specific controls you might have to generate P-/V-getters for the attributes you have in mind.
    Good Luck!
    Peter

  • Trying to add an icon to a JPanel!

    After declaring the icon w/ :
    ImageIcon icon = new ImageIcon("logo2.gif");
    and the JPanel is added to the content pane, the error I am recieving is w/ this peice of code: jPanel1.add(icon);
    The error is: cannot reslove symbol, jPanel1.add(icon);
    ^
    I'm nit sure what the deal is...

    Here is some working code.You just have to center and resize the image.
    JFrame frame = new JFrame();
        frame.setSize(800,600);
        JLabel jLabel1 = new javax.swing.JLabel();
        JPanel jPanel1 = new javax.swing.JPanel();
        frame.getContentPane().setLayout(new javax.swing.BoxLayout(frame.getContentPane(), javax.swing.BoxLayout.X_AXIS));
        frame.addWindowListener(new java.awt.event.WindowAdapter() {
          public void windowClosing(java.awt.event.WindowEvent evt) {
        jLabel1.setText("DMV Icon");
        ImageIcon icon = new ImageIcon("logo2.gif");
        frame.getContentPane().add(jLabel1);
        jPanel1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel1.setMaximumSize(new java.awt.Dimension(120, 90));
        jPanel1.setMinimumSize(new java.awt.Dimension(120, 90));
        jPanel1.setPreferredSize(new java.awt.Dimension(120, 90));
        JLabel l = new JLabel();
        l.setIcon(icon);
        jPanel1.add(l);
        jPanel1.setBackground(Color.red);
        frame.getContentPane().add(jPanel1);
        frame.show();Hope this helps.

  • Trying to add Applications icon to Dock

    I reinstalled my Mac OS, Maverick. How do I add the Applications folder to the Dock? When I try, it looks as if all my apps are being copied to the newly created Dock icon for Applications, because of the blue progress bar under the icon. And it seems to be stuck as it has not moved in quite awhile.

    Hello there, Chris.
    The following Knowledge Base article explains how to add a folder to the Dock:
    Mac Basics: The Dock
    http://support.apple.com/kb/ht2474
    Adding and removing Dock items
    If you want to add an application to the Dock, click the Launchpad icon in the Dock and drag the application icon to the Dock; the icons in the Dock will move aside to make room for the new one. If you want to add a file or folder to the Dock, just drag its icon from any Finder window (or the desktop) and drop it on the Dock. The resulting icon that appears in the Dock is actually an alias of the original item (it's kind of a pointer to your original item). If you drag an application or file onto the Dock, you'll be able to open it anytime by simply clicking its docked icon. If you drag a folder onto the Dock, a Finder window of the folder's contents will display when you click the folder icon in the Dock.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to delete multiple empty lines in item assignment block in WebUI

    Hi Experts,
       When i am reading 'BTAdminI' context node data, I am getting empty lines along with data. I can able to delete only one empty lines when its executing second empty line its failing in loop. Can you suggest me how can i delete multiple empty lines. I am using below code.
    DATA: lr_entity1           TYPE REF TO cl_crm_bol_entity,
            lr_current          TYPE REF TO if_bol_bo_property_access,
            lr_iterator         TYPE REF TO if_bol_bo_col_iterator,
            lv_strukname        TYPE strukname,
            dref                TYPE REF TO data,
            lv_thtmlb_tableview TYPE REF TO cl_thtmlb_table_view,
            lr_cn               TYPE REF TO cl_bsp_wd_context_node_tv,
            cr_mixed_node_tv    TYPE REF TO cl_bsp_wd_mixed_node.
        FIELD-SYMBOLS: <fs_line_structure> TYPE data.
        lr_iterator = me->typed_context->btadmini->collection_wrapper->get_iterator( ).
        TRY.
            lr_current = lr_iterator->get_first( ).
          CATCH cx_root.
        ENDTRY.
        WHILE lr_current IS BOUND.
          lr_entity1 ?= lr_current.
          CHECK lr_entity1 IS BOUND.
          lr_entity1->get_attr_struct_name( RECEIVING rv_result = lv_strukname ).
          IF lv_strukname IS NOT INITIAL.
            CREATE DATA dref TYPE (lv_strukname).
            ASSIGN dref->* TO <fs_line_structure>.
            IF <fs_line_structure> IS ASSIGNED.
              lr_current->get_properties( IMPORTING es_attributes = <fs_line_structure> ).
              IF <fs_line_structure> IS INITIAL.
                me->typed_context->btadmini->collection_wrapper->remove( lr_current ).
                EXIT.
              ENDIF.
            ENDIF.
          ENDIF.
          TRY.
              lr_current = lr_iterator->get_next( ).
            CATCH cx_root.
          ENDTRY.
        ENDWHILE.

    Hi Nitish,
    Try below code instead of your code,
    Data:
    lt_empty_lines  TYPE TABLE OF REF TO cl_crm_bol_entity,
    lr_entity TYPE REF TO cl_crm_bol_entity.
    After getting collection from BTadmini use the below code.
    lr_iterator ?= lr_coll->get_iterator( ).
        lr_entity ?= lr_iterator->get_first( ).
        WHILE lr_entity IS BOUND.
          IF lr_entity->is_send_active( ) EQ abap_false.
            APPEND lr_entity TO lt_empty_lines.
          ENDIF.
          lr_entity ?= lr_iterator->get_next( ).
        ENDWHILE.
        LOOP AT lt_empty_lines INTO lr_entity.
          typed_context->btadmini->collection_wrapper->remove( lr_entity ).
          lr_entity->delete( ).
        ENDLOOP.
    Best Regards,
    Dharmakasi.

  • Cant add PDF files, itunes doesnt show me the option to add the files

    Sometimes itunes dosnt show me the option to add files under the Aplications Menu.
    I have already installed ADOBE READER, and when trying to add PDF files, itunes dosnt show me the applications to add files.
    Below you will find the options that sometimes dissapear.

    This may help - http://www.simplehelp.net/2010/06/22/how-to-add-pdf-files-to-read-in-ibooks-on-y our-ipad-ipod-touch-or-iphone/.  It is for the older version of iTunes, however it should give you some good guidance.

  • Adding custom (z) fields to assignment blocks...

    We are running SAP CRM 7.0. We are using the opportunity module as well as "Create Follow Up" (Sales Order / Quotation) so that you have a one to many relationship (1 opportunity may contain many sales orders). I have 2 custom fields inside the Sales Cycle (Quotation) module "Actual Sales Order Value" and "Current Points".
    What I am trying to do is take these 2 custom fields and add them to the assignment block called "Linked Transactions" in the Opportunities module. But when I look at all the available fields for this assignment block these 2 custom fields are nt available.
    I do not see any way of adding these 2 fields to this assignment block. The only thing I see is "Create NEw Field". But I do not want to create a new field I just want to reference 2 fields from the Sales Cycle module inside of this assignment block.
    Does anyone knowif it is possible to add 2 custom created fields that are i the Sales cycle module to add them to the opportunities assignment block that is called linked transactions ?
    Thanks,
    Jon

    Duplicate thread.
    Re: Add custom fields to assignment block
    Please close.
    Rg,
    Harshit

  • Adding new fields to assignment block, what are the steps to do this.

    CRM 7.
    Could someone tell me what the steps are to add new fields to specifdic assignment block. Assume that these fields do not already exist in any given structure/table.
    My understanding is that I need to use transaction EEWB and then somehow use the component  "BSP_DLC_FS" and view "factsheet". But having never used EEWB before I'ma tad lost.  I'm in EEWB and have crfeated a project and believe that I now need to create an extension. When doing this I am displayed a box with 4 fields, being: Name, Description, EEW Bus object and Extension type. What are my next steps?
    I assume that the EEW bus object is 'BUPA' and the extension type is 'ADD_NEW_FIELDS'. However, how do I know for sure that the EEW bus object should be 'BUPA', bearing in mind that I'm adding new fields to the Account (BP) main address communication data Assignemnt block?.
    I wondered if anyone has a link to any guide docuemnt about how to do this?.
    Any help would be very much appreciated.
    I attempted to use EEWB to add new fields to BUPA but am hitting the error: BDT-DC is Not Prepared for This Application Object
    On searching I can see that there are ways around this, via SM30 against table/view V_TBZ1_DC, changing the BDT BC settings, whatever they are. But it gives me a warning when this happens and mentions that only SAP are allowed to do this, but it will allow me to create a transport if I press on past this. Should I need to make this change though, or have I just done something wrong within EEWB I wonder.
    Jason

    Hi Jason,
    You can try using Application Enhancement Tool (AET) to create new fields instead of EEWB,
    Best Regards,
    Gobinda

  • Adding a New Assignment Block

    Hello Experts,
    I need to add/create a new assignment block 'Strategy Plan ' similar to existing assignment block 'Attachment'
    in Account screen.
    I got the document which suggest creation of new assignment block by creating Set Type and attribute.
    But can't figure out how to make that assignment block similar to  existing one 'Attachment'.
    Please help me how to proceed .
    Thanks in Advance,
    Ram

    Hi Arun,
    I did exactly how you said.
    Opened the Component BP_HEAD in Enhancement set 'Z_ENHANCE'.
    Added the component usage 'ZStrategy' their inbound plugs and outbound plugs
    similar to one used by Attachment assignment block.
    Added the View 'ZStrategy.MainWindow' under viewarea 'OverviewPage'
    of ViewSet 'BP_HEAD/BPHEADOverveiw'.
    Also Initialized the component usage in WD_USAGE_INITIALIZE of component controller.
    But When I see the assignment block in WebUI.
    I see simple window with no toolbars in it. Also It disapears when expanded.
    I gives error like "CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'ZStrategy'
    CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'ZPlanStrategy' "
    I think I missed some steps or may be my enhancement set is not loading.
    Help me out.
    Thanks and Regards,
    Ram

  • Saved search DDLB button on an Assignment block toolbar

    Hi,
    We have a requirement to add a button on an Assignment block (in an overview page) similar to Saved search DDLB button/functionality present on the Header Area. Any ideas to achieve this. Please let me know.
    Thank you
    Anji

    Hello,
    Refer below links
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90789317-4b7d-2e10-8f88-ada75bb67369?QuickLink=index&…
    Saved Search in Custom BSP Component | SCN
    If you have not gone through it already.
    Regards,
    Ashik

  • Contact vs Relationship Assignment Block

    Hi All,
    I need little help understanding difference between Contact Assignment block and Relationship Assignment Block.
    Why does it required to add sales org in Contact assignment block?
    How can i configure so that i can add more fields like phone # , Email  etc.
    What is the purpose of Relationship assignment than... since we are adding contact as a relationship?
    Please help!
    Thanks

    Hi Amish,
    The contact person relationship has a sales area dependent data as there is view assigned to the contact person relationship.
    If you do not want the slaes area assignment, then you will have to copy the contact person relationship into a custom one and remove the views which are not needed by you.
    1. Navigate to the transaction BUBA.
    2. Copy the relationship category BUR001 into a custom relationship category.
    3.  Select the custom relationship category and click on Category -> Views
    4. Remove the views which you do not need.
    Best Regards,
    Vamsi.

  • HT2495 I have a wirless network. I connect all my computers to it and a printer. I can print wirelessly from all computers. I tried to add the printer to my new Macbook, but can't find the printer on the add printer and scan icon on preferences.

    I have a wirless network. I connect all my computers to it and a printer. I can print wirelessly from all computers. I tried to add the printer to my new Macbook, which is connecte to the network, but can't find the printer on the add printer and scan icon on preferences. I downloaded a installation printer utility from the Manufacturer (lexmark), but it didn't work. Any sugestions?
    Thanks,
    Ivette

    You would need to get the IP address of your printer then manually add a network print queue.
    To get the IP address, on the control panel of your printer, press on Setup > Network Setup > TCP/IP > View/Set IP address.

  • I am trying to add an updated version of a PDF eBook to iBooks but I'm told it already exists.

    Hi There,
    I'm using iBooks on Mavericks, primarily prior to syncing books to my iPad.
    I often upload both the ePub and PDF versions, as a lot are technical books, with diagrams in them.
    Anyway, I received the final versions of a recently released book on SharePoint, after earlier only having the pre-release version, which only came in PDF.
    So I deleted the old PDF version, from the eBooks Library, added the ePub Version, but when I try to add the PDF version, it continually tells me that the PDF version still exists, and refuses to add it. They are named the same. It doesn't appear to still exist in the iBooks library or any collection, and what's more the message appears in a loop - it continues to appear repeatedly even though I've just tried to add the book once.
    This is very frustrating. Any suggestions?
    Cheers,
    Trevor

    Hi All,
    I think I've solved my problem, but it wasn't obvious. I deleted the old PDF version of the book, and I'm not sure where it went. Only when I was in the "All Books" view and I filtered by part of the book name did it appear, and it becamse obvious that the old version was still in iBooks, and I realized that deleting the old version of the PDF is a two step process, unless you delete it directly from the All Books View, when the Delete option becomes Delete from Library.
    Solved now, but I think the UI needs some work, as it's far from clear enough at this stage. I don't think it's at all obvious how I ended up in the pickle I was in, and just repeating an error message in the way it did is not satisfactory.
    Cheers,
    Trevor

  • I have Acrobat XI and am trying to add pages to a pdf. Tutorials instruct to use Tools, Options or Page Thumbnail to get to a drop down command of Insert Page, does not appear as my choices.

    I have Acrobat XI and am trying to add pages to a pdf. Tutorials instruct me to use Tools, Options or Page Thumbnail to get to a drop down command of Insert Page, but I have few choices in any of those places and Insert Page is not any of them.

    What do you see, then?
    On Thu, Feb 26, 2015 at 4:14 PM, lindab5415 <[email protected]>

Maybe you are looking for

  • Fnd_file.put_line(FND_FILE.OUTPUT in Ora Apps in SQL*Plus program

    I have used fnd_file.put_line(FND_FILE.OUTPUT and fnd_file.put_line(FND_FILE.LOG many times for programs registered as PL/SQL Stored Procedure or used in DB Packages to write to the concurrent manager output and log files. No problem doing that. I ha

  • RTTI vs Compiler Type Identification (Casting?)

    Given: Class Super and two subclasses of Super, SubOne and SubTwo. Super has one method, doBeDooBeDoo() SubOne has one method, doThis() SubTwo has one method, doThat() Super a = null; if(foo) {     a = new SubOne();     a.doThis(); } else if(bar) {  

  • Best SOP Model for MRO Type Industry?

    Hello all, At the company I work for, we currently utilize SAP's SOP module for flexible planning of roughly 200,000+ MRO materials.  SAP comes standard with 18 or so forecast models out of the box that can be used to determine the best forecast of m

  • TC stalled during backup; no entries on TM/Backups

    My TM is wired to my iMac and wirelessly to other MacBooks for backups only.  iMac connects to my network wirelessly and to Internet via provider's modem/router; TM is wired to the modem/router although not used for Internet acceess.  After successfu

  • How can I tell how many sticks of RAM I have?

    First time to post, just bought my first MAC! I have a 13.3, 2.4 ghz, came with 2 MB of RAM, says its expandable to 4 GB. Is there a way to tell how many sticks of RAM there is currently installed without taking the battery off? Thanks!