Custom action in CRM ICWC Interaction Scripting

Hi!
I am trying to add custom action to CRM ICWC Interaction Scripting.
As descripbed in <a href="http://help.sap.com/saphelp_crm40sr1/helpdata/en/cf/3fd658ca8a11d6872e000086568e5f/content.htm">this topic</a> I have created java class file, packed it into jar file and saved to ICServer/root/WEB-INF/lib dir. But at runtime I am getting exception in the icserver log file - java.lang.ClassNotFoundException.
Log file also contains list of used jars but my jar file isn't in it.
p.s. J2EE 6.40

Hi Victor,
OK, I'm not so familiar with CRM IC, but from a J2EE point of view you would have to define and deploy a J2EE Engine library, and then reference it from your application. Following links might be handy:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Engine Libraries</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/57/4e4f3e065de946e10000000a114084/frameset.htm">J2EE Engine Components</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/28/c9a3a9606f434ea757a3536d220704/frameset.htm">Application References</a>
Hope it helps!
-Vladimir

Similar Messages

  • How do I execute a custom "action" from an external java script against a CS6 Illustrator document? Or perform the "fit to arwork bound" selection in the "Objects/Artboards" drop down menu from a script?

    I have to modify several thousand pieces of art and need to perform this action on all the files in a given folder, then save them to a separate folder.

    Hi,
    You mean the marketers list has to be preloaded when the page loads itself the very first time. For this to work, you need to make a jdbc call before the page loads and set the marketers list in the request or session.
    For eg in your jsp where you want to display the marketers name dropdown, you can add,
    <%
    try {
      // Load the DB2(R) Universal JDBC Driver with DriverManager
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    } catch (ClassNotFoundException e) {
         e.printStackTrace();
    Connection conn = DriverManager.getConnection
      "jdbc:oracle:oci:@myhost:1521:inst1", "scott", "tiger);
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("Select mktr_id, mktr_name from MARKETERS");
    int iCount = 0;
    rs.last();
    iCount = rs.getRow();
    rs.beforeFirst();
    String [][] mktrs = null;
    mktrs = new String[iCount];
    while( rs.next() )
       i++;
      // retrieve column data
      // do something with it
          mktrs[i] = new String[2];
          mktrs[0] = rs.getString(1);
    mktrs[i][1] = rs.getString(2);
    if( iCount == 0 )
    System.out.println(
    "myResultSet returned no data.");
    %>
    Now you can use the mktrs string array to populate the ropdown as described earlier.
    Cheers,
    vidyut

  • Interactive scripts in CRM 4.0

    Hi All,
    I am working in CRM 4.0.
    I created a interactive script in interactive script editor ( BSP CRM_IC_ISE).
    I could not see any buttons to create a transport request in the toolbar in script editor. I can see the button to download the script.
    For my script i created new actions, new answers (buttons,checkboxes), questions etc. I downloaded the script and saved as a XML file.
    I imported/uploaded the same script file in quality system. The script is imported into the quality system by using the upload functionality in the script editor. Only some of the answers are available. But all other objects actions, answers and buttons are not available.
    Could anyone please tell me the procedure to import all the script and the other objects from one system to other systems.
    Thanks
    PD

    Hi, john
    thanks for the info,
    Yes i know that scripting evolution,
    but i dont know where i can see that screen with the statistics.
    can you please tell me which TR code i need to use , to run the evolution screen, or which BSP i need to run to see that type of report, i went through the CR410_Col42_ICWEB document
    but i didnt find any clue, all i got is only explanation of scripting evolution,
    currently  scripts are storing at crmc_ic_SCRIPTS table , and it is storing the profile,name  script ID, date valid from, date valid to, fields
    when i run the above table i got a option on menu bar "" check table"" when i click this  system taking me to the below table called CRMD_IC_SCATTR  table, this table have fields like  objuect type ,object name , catogory,begin date , end date , logged by, fileds,
    I am confusing about these 2 tables, 1st table can not serve my need , 2nd table can serve my need a bit ,
    but it has another type of transactions like object name , object type....
    and in scripting profile , i have a field called ""History "" in this i have  2 options ""record script data in BW"" and ""Do not record"",
    can i use this to generate a report ??? as a standard format
    so i am planning like, i can go for a custom table, with the required fields like, user , date of run, time of run, department name , average time to run the script, ... etc
    this table record the data from actions in the webclient where CRA runs the scripts daily ,
    then we can generate a report from the BW or can run in CRM ,
    i think if you want i can write a new functionality  document for SAP AG , to add this functionality ,
    but please guide me in the above issue,
    regards
    sree

  • BW report for interactive scripts in CRM 4.0 webclient

    Hi, experts,
    good day,
    currently we have a requirement to develop interctive scripts in webclient environment , and developing in Interactive scripting editor,
    after developing the scripts we attch the profile  and  when we run it in the webclient , scripts runs automatically, so far all these functionalities working ,
    but i want to generate a report for , where i want to see the the number of scripts used perday, most frequently used scripts in the day  ,
    , where i can do this report,
    as i know that , i can generate a report for survey scripts, but these interactive scripts developed in external editor  and all we will do in the SPRO is attch the script name in the profile with the valid date , thats all,
    i am suspecting about a custome development , if am not wrong ????
    urgent help needed ,
    full point will be awarded, becuse, this is a limited functionality in SAP , across the projects in the world,
    thanks regards
    sree

    Hi, john
    thanks for the info,
    Yes i know that scripting evolution,
    but i dont know where i can see that screen with the statistics.
    can you please tell me which TR code i need to use , to run the evolution screen, or which BSP i need to run to see that type of report, i went through the CR410_Col42_ICWEB document
    but i didnt find any clue, all i got is only explanation of scripting evolution,
    currently  scripts are storing at crmc_ic_SCRIPTS table , and it is storing the profile,name  script ID, date valid from, date valid to, fields
    when i run the above table i got a option on menu bar "" check table"" when i click this  system taking me to the below table called CRMD_IC_SCATTR  table, this table have fields like  objuect type ,object name , catogory,begin date , end date , logged by, fileds,
    I am confusing about these 2 tables, 1st table can not serve my need , 2nd table can serve my need a bit ,
    but it has another type of transactions like object name , object type....
    and in scripting profile , i have a field called ""History "" in this i have  2 options ""record script data in BW"" and ""Do not record"",
    can i use this to generate a report ??? as a standard format
    so i am planning like, i can go for a custom table, with the required fields like, user , date of run, time of run, department name , average time to run the script, ... etc
    this table record the data from actions in the webclient where CRA runs the scripts daily ,
    then we can generate a report from the BW or can run in CRM ,
    i think if you want i can write a new functionality  document for SAP AG , to add this functionality ,
    but please guide me in the above issue,
    regards
    sree

  • Action in Interactive Script for IC Webclient

    Does anybody have experience with creating an Interactive Script action for IC Webclient in CRM 4.0 with SIE?
    According to the cookbook (see thread IC WebClient Consultant's Cookbook) for the Service Industry Extension you can create an action without using Java. In the action definition you can directly enter the name of the ABAP class that contains the method to be executed.
    However, when the script is executed the action does not seem to work. In fact there is no error or dump that shows it has done anything.
    I have followed the instructions as described in chapter 2.2.2. of the document.
    Your help is appreciated.
    Thanks, Nico

    Anyone?

  • Interactive script - Query on URL and Actions

    Dear Experts,
         I have a couple of queries,
         a)  Is there a way we could pass parameters to the URL that's been used in Interactive script?
        My requirement is as follows,
             We would like to launch an interactive script which has to open up a google map, this map should automatically show the map of the confirmed customer's address. Any inputs on this is greatly appreciated.
          b)  In Interactive script, we do have some actions that points to a class. We also have questions with BDC fields that refer to the action for field updates. My question here is how are these classes created - Are they ABAP classes? How is the mapping between the field values and class parameters done? Any inputs on this would be really helpful.
    Thanks,
    Kanthimathi

    Hi Kanthi,
    You can use the Navigation via Action in Interactive Scripting for this.
    Regards,
    Anup

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Interactive script editor: read values of answers into non-branching action

    Dear all,
    When we develop a new interactive script, I would like to read the value of the answers into a non-branching action.
    For examle:
    Are you ill? yes/no
    If no --> are you staying on another addres then [customer_adres]? yes/no
    if no --> please maintain the adress
       a) ZSTREET
       b) ZHOUSENUM
    Now at the end, I want to trigger a non-branching action which reads the values of ZSTREET and ZHOUSENUM. Could someone give me a hint?
    Regards

    Hi,
    I think u can ref to CL_CRM_IC_SCRIPT_ACT_BPSTAT2 to create your own class inside execute method.U can read out data of bp address..
    pls reward when it is helpful.

  • SAP CRM : Call popup in CUSTOM ACTION (i have a dump : ASSERTION_FAILED )

    Hi to everyone,
    i have a problem to create a popup inside a new custom action in SAP CRM. I have a dump ASSERTION_FAILED.
    Could somebody help me to fix the problem,please?
    Thanks in advance.
    Dario.

    Hi,
    in this case i have to write my code inside a custom action. The problem is that i have no a standard controller and ME instance.
    So i tried to import controller from memory by IMPORT/EXPORT stataments, but when i create popup the system gets a dump :
    ASSERTION_FAILED
    Code is as follows :
        DATA zlc_controller TYPE REF TO cl_bsp_wd_component_controller.
        CALL FUNCTION 'ZCRM_CONTROLLER_GET'
          IMPORTING
            ex_controller = zlc_controller.
        DATA zcl_me TYPE REF TO zl_srqm_inc_incidentovp_impl2.
        CALL FUNCTION 'ZCRM_ME_EHONSAVE_GET'
          IMPORTING
            ex_me = zcl_me.
              lc_controller TYPE REF TO cl_bsp_wd_component_controller,
              lc_view TYPE REF TO cl_bsp_wd_controller.
       IF lr_confirm_popup IS NOT BOUND.
    Message
         MOVE text-t01 TO l_text.
    Title
         MOVE text-tit TO l_title.
        CALL METHOD zlc_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'TITLE'
            iv_text           = 'TEXT'
            iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno "OK Button
          RECEIVING
            rv_result         = lr_confirm_popup.
        lr_confirm_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
        lr_confirm_popup->set_on_close_event( iv_event_name = 'eh_closepopup_at_save'
                                              iv_view = zcl_me ).
        lr_confirm_popup->open( ).
    Thanks.
    Dario.

  • Interactive Scripting Editor (ISE) how to write a class for an action?

    Hi - I need to write a class for an action in the interactive scripting editor.  The class will create a new case (case management) and return the number.  I have created a class with a method that does this and has been fully tested but we cannot get it to work as part of an action within the ISE.  Are there any guidelines for writing classes for the ISE.  Or  has anyone done this?  Do I need a super class?  I have searched every where but can find nothing on this.  Many thanks.

    Hi Nigel,
    I am also looking for the answer to this.  Please let me know when you find a solution.
    Kind Regards,
    Andrew Griffin.

  • How to avoid custom action script link executing for all pages. It should execute for only custom list

    Hello all,
    The below code creates the custom action script link. however this is executing for all the pages.
    I want to execute only to list not on all the pages. How i can acheive this. Please help
    var context =
    new SP.ClientContext.get_current;
    this.oWebsite = context.get_web();
    var collUserCustomAction =
    this.oWebsite.get_userCustomActions();
    var scriptLink = collUserCustomAction.add();
    scriptLink.set_name('Welcome');
    scriptLink.set_title('Welcome');
    scriptLink.set_description('Welcome to new custom script Link');
    scriptLink.set_location('ScriptLink');
    scriptLink.set_scriptSrc('~Site/Scripts/test.js');
    scriptLink.set_group('');
    scriptLink.update();
    Navaneeth

    Then Edit the list page add the script editor web part on the page . Copy the paste the script. Now it will affect the list only. Or else in your script just validate the list id.
    Ravin Singh D

  • How can I call or reference custom action assembly in powershell script?

    Hello
    I have added some custom action in document library settings. Now I want to use this custom action properties using powershell for some bulk operations. So for this I want to call this custom action assembly and set a reference in PowerShell script and then
    update custom action properties.
    Please let me know how can I do this?
    Avi

    If you also want to automate this than there is a CodePlex action that'll possibly come in handy for you.
    https://ilovesharepoint.codeplex.com/wikipage?title=Execute%20PowerShell%20Script%20Action&referringTitle=Workflow%20Actions%20for%20SharePoint%20Designer%202010
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Custom Actions / Scripts

    I would like to augment the Action Builder with custom Action Results, e.g. "Display a Message Box with the following message". Looking at the subdirectory in application's root there is a ScriptTemplates folder with the body for each script that comes with Designer, but this does not allow me to populate the dropdown list with new selections.

    not meant to be a question - rather an announcement.

  • Saving interactive script in mySAP CRM ?

    Hi All
    We are implemeanting WINCLIENT to one of our client
    As we need to save the interactive script onces
    the conservation is over between  customer and agent
    Please through light on this issue....
    Your response will be rewarded....
    Regards
    Appa

    user10613699 wrote:
    it is not solving my problem,...Why not? Did you test and also check the documentation link?
    SQL> accept DO_SAVE  prompt 'Do you want to save (Y/N)? ';
    Do you want to save (Y/N)? Y
    SQL> begin
      2    if '&do_save' in ('Y','y') then
      3      commit;
      4    else
      5      rollback;
      6    end if;
      7  end;
      8  /
    old   2:   if '&do_save' in ('Y','y') then
    new   2:   if 'Y' in ('Y','y') then
    PL/SQL procedure successfully completed.
    SQL> Edited by: Sven W. on Nov 17, 2008 4:53 PM

  • Actions - Interactive Script Transporting Issue

    Hi
    I have transported all Interactive Scripts to Test system, but unable to transport actions related to it, Is there any way we can do it.
    I appreciate early answer.
    Thanks
    Santosh

    Hi there,
    I understand from a SAP Note (can't recall the number) that actions cannot be transported.
    However let me know if things have changed :-) What approach you took ?
    By the way, I am trying to design the script in such a way that transporting can be easy - I would like your input here.I am on CRM7.0 Ehp 2.
    Can you please advise any precautions I must take when transporting the scripts based on your experience ? Also if possible, can you list the steps or may be create a blog - I am sure it will help a lot of people.
    Awaiting your reply,
    Thanks a lot.
    Best Regards
    Suchita

Maybe you are looking for