Capture lync chat to a field in an ITSM tool

Hi, I have a requirement to invoke Lync chat from a tool 'ServiceNow, an ITSM tool' and capture the chat conversation to a field in ServiceNow. Im able to invoke the chat using the below code. Now, I have to capture the chat converstation and store it in
a field in ServiceNow. Can anyone give some inputs in capturing the conversation plz. Thanks in advance.
<xmp><?xml version="1.0" encoding="utf-8" ?> <j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> <g:evaluate var="jvar_guid"
expression="gs.generateGUID(this);"/> <j:set var="jvar_n" value="show_lync_${jvar_guid}:${ref}"/> <g:reference_decoration id="${jvar_n}" field="${ref}" onclick="invokeChat('${ref}');"
title="Invoke Chat" image="lync.jpgx"/> <script> function invokeChat(reference) { var s = reference.split('.'); var tableName = s[0]; var referenceField = s[1]; var v = g_form.getValue(referenceField); var email; var gr = new GlideRecord('sys_user');
if (gr.get(v)) { email = gr.email; } var url = 'sip:'+email; var w = getTopWindow(); w.open(url); } </script></j:jelly></xmp>
<xmp></xmp>

Have you looked at:
http://www.innovise-esm.com/about-us/esm-blogs/post/198-service-management---lyncing-servicenow
https://www.youtube.com/watch?v=62F8IyAY8p8
https://blog.ung.edu/taalday/service-now-lync-integration/
You will have better luck asking your question on the Lync developer MSDN forums: https://social.msdn.microsoft.com/Forums/en-US/home?category=uc
Please mark posts as answers/helpful if it answers your question.
Blog
Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

Similar Messages

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • How to capture the data of the fields of a particular subform

    xfa.data.saveXML() saves the data of the whole form, but I need to capture the data of a particular subform  .. How do I do this...?

    declare a character type internal table.
    now move your data from it_data ( internal table with data ) into table itab.
    since you are running this report in background, you cannot save it to the desktop. Instead give any app server location
    data: itab(400) occurs 0 with header line.
    field-symbols: <fs1> type any.
    data: gv_file type rlgrap-filename default 'TEST.TXT'.
    data: gv_filepath type rlgrap-filename default <path>.
    LOOP AT it_data.
        DO 100 TIMES.
          ASSIGN COMPONENT sy-index OF STRUCTURE it_data TO <fs1>.
          IF sy-subrc = 0.
            CONCATENATE itab <fs1> INTO itab SEPARATED BY ' '.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        SHIFT itab LEFT DELETING LEADING ' '.
        APPEND itab.
        CLEAR itab.
      ENDLOOP.
      concatenate gv_filepath '/' gv_file into gv_file.
      OPEN DATASET gv_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        LOOP AT itab.
          TRANSFER itab TO gv_file.
        ENDLOOP.
        CLOSE DATASET gv_file.
      ENDIF.

  • Capture Change history for customized field- MM02.

    Hi Friends,
    I have created one sub screen with one field i.e., Warranty card No. This will be stored in MARC-ZZMAT1. Change history cannot be capturing for this field. If I made any changes (MM02), we required to capture the changes history. 
    Please advise where I need to be configured to achieve the above requirement.
    Best regards,
    Raman.

    Hi Raman,
    When you define the field (SE11), in the further characteristics tab there is a field Change Document. This needs to be checked
    Kindly do this and check
    prasanna

  • ALV  issue - capturing user changes in editable fields using custom button?

    Hi,
    I created a custom button in ALV tool bar.   And also in my ALV grid I have couple of fields Editable option. User can change values for these 2 fields.
    My question is -
    After changing values for these editable fields(more than 1 record)  , user will click on custom button and then I have to update all the user changed values in to my internal table(lt_tab)  and then I have to process logic.
    Problem is when user click on Custom button in ALV tool bar it is not having the changed values in lt_tab table.
    Only when user clicks  some thing on ALV grid records or fields then it is getting all the changed values in to lt_tab.
    Can any one tell me how I can get changed values when user clicks on custom button?
    1. Can we place custom button in ALV Grid? instead of ALV tool bar? 
    or
    How I can capture user changes when they click on custom button?
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    TABLES
          T_OUTTAB                          = lt_tab
    Please check this logic-
    CASE r_ucomm.
        WHEN '&IC1'.
    - It_tab  having all changed field values
      WHEN 'custom button'.
          lt_tab  - not having any changed values - showing all initial lt_tab values.
    I highly appreciate your answers on this.
    Thanks.
    Rajesh.

    Hi,
    Use this code, its working:-
    *&      Form  ALV_DISPLAY
    *       SUB-ROUTINE ALV_DISPLAY IS USED TO SET THE PARAMETERS
    *       FOR THE FUNCTION MODULE REUSE_ALV_GRID_DISPLAY
    *       AND PASS THE INTERNAL TABLE EXISTING THE RECORDS TO BE
    *       DISPLAYED IN THE GRID FORMAT
    FORM alv_display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *     I_INTERFACE_CHECK                 = ' '
    *     I_BYPASSING_BUFFER                = ' '
    *     I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = v_rep_id       " report id
         i_callback_pf_status_set          = 'PF'           " for PF-STATUS
         i_callback_user_command           = 'USER_COMMAND' " for User-Command
    *     I_CALLBACK_TOP_OF_PAGE            = ' '
    *     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *     I_CALLBACK_HTML_END_OF_LIST       = ' '
    *     I_STRUCTURE_NAME                  =
    *     I_BACKGROUND_ID                   = ' '
    *     I_GRID_TITLE                      =
    *     I_GRID_SETTINGS                   =
         is_layout                         = wa_layout      " for layout
         it_fieldcat                       = it_field       " field catalog
    *     IT_EXCLUDING                      =
    *     IT_SPECIAL_GROUPS                 =
         it_sort                           = it_sort        " sort info
    *     IT_FILTER                         =
    *     IS_SEL_HIDE                       =
    *     I_DEFAULT                         = 'X'
         i_save                            = 'A'
         is_variant                        = wa_variant     " variant name
    *     IT_EVENTS                         =
    *     IT_EVENT_EXIT                     =
    *     IS_PRINT                          =
    *     IS_REPREP_ID                      =
    *     I_SCREEN_START_COLUMN             = 0
    *     I_SCREEN_START_LINE               = 0
    *     I_SCREEN_END_COLUMN               = 0
    *     I_SCREEN_END_LINE                 = 0
    *     I_HTML_HEIGHT_TOP                 = 0
    *     I_HTML_HEIGHT_END                 = 0
    *     IT_ALV_GRAPHICS                   =
    *     IT_HYPERLINK                      =
    *     IT_ADD_FIELDCAT                   =
    *     IT_EXCEPT_QINFO                   =
    *     IR_SALV_FULLSCREEN_ADAPTER        =
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER           =
    *     ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_final      " internal table
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  USER_COMMAND
    *       SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
    *       AND EXECUTE THE APPROPIATE CODE
    *      -->LV_OKCODE   used to capture the function code
    *                     of the user-defined push-buttons
    *      -->L_SELFIELD   text
    FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
    * assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    * handle the code execution based on the function code encountered
      CASE lv_okcode.
    * when the function code is EXECUTE then process the selected records
        WHEN 'EXECUTE'. "user-defined button
    * to reflect the data changed into internal table
          DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
          IF ref_grid IS INITIAL.
            CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
              IMPORTING
                e_grid = ref_grid.
          ENDIF.
          IF NOT ref_grid IS INITIAL.
            CALL METHOD ref_grid->check_changed_data.
          ENDIF.
    * refresh the ALV Grid output from internal table
          l_selfield-refresh = c_check.
      ENDCASE.
    ENDFORM.
    This will reflect all the changes in the internal table. Now you can include your logic as per your requirement.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • Capturing video in Imovie - single field processing (again...)

    Hi!
    Let's start by saying that I've read a number of threads already on the 'single field processing' issues with iMovie (08 and up). What's not really clear to me yet, is at what stage (during capturing, editing, exporting, etc.) this single field processing is introduced in the process.
    Let me explain my situation:
    I'm in the process of digitizing my families old home video VHS recordings, I've purchased a Canopus ADVC55 and a JVC HR-S9500 VCR (with TBC). Both are correctly connected to my iMac via Firewire. I have iMovie '09 and Final Cut Pro X. Sadly no iMovie HD, seems hard to find...
    "Use Final Cut Pro X for capturing" I hear you scream, but I'm having great difficulty doing this, FCPX continually crashes during video capturing. Also, the sound has a strange 'clicking' when captured (the small bits that do import before FCPX crashing). I don't have these issues while capturing with iMovie 09.
    So my idea was to capture the video with iMovie 09 and then import the .dv file with FCPX as a new event. My concern however is the single field processing that bugs iMovie. Can anyone confirm (or deny!) whether every other horizontal line of the video is thrown out during video capture already or not before the movie file is assigned to a project and used for editing? In other words, would my way of working (capture in iMovie, import in FCPX) leave me with the best possible quality or do I really need to look harder for iMovie HD (or fix the problems I'm having with capturing through FCPX)?

    I have found that I can import in iMovie 11 witH no loss for DV.  My camera does not work for FCPX since FCpX wants to import from a DV camera with time code, and my consumer level camera does not have time code.
    I have found that in Final Cut Pro X, I can use the File/Import iMovie Events command and bring all events into FCP.
    This may take a while. I recommend running it overnight. When it finishes, close FCP (may take awhile). Then restart your Mac.
    When you restart FCP you will find all your iMovie Events available to FCP and it will not use much disk space.
    This is because FCP will reference your iMovie event through a Hard Link (much like Time Machine) so you can have two apps referencing the same physical file in different folders.
    I had, for example, a 1TB drive with 850GB used. After importing my events into FCP X, I might have 852 GB used, because it does not double u p the dv files, but it does generate thumbnails and analysis files.
    Another advantage of doing it this way is that FCP will not import DV Stream. It needs DV stream to be converted to a mov file with separate (not muxed) audio and video tracks. You can do this in Compressor, but it is a pain if you have a lot of files.
    However, if you import from iMovie, FCP handles the DV Stream just fine.
    Pretty slick!

  • Change log data is NOT captured for PO screen exit fields

    Hi,
      We created a new tab at item level for PO Screen(ME21N) for the purpose of STOs(Document Type UB) & created 3 New fields in that new tab through Screen Exit( SAPMM06E, SAPLXM06 0111 ).
      When we are entering data in those 3 new fields while creating new STOs, those data are captured in EKPO table.
      When we are changing the OLD STOs for those 3 new fileds, data is modifying in EKPO table. But changes are NOT inserted in CDHDR and CDPOS table for those 3 new fields.
      <b>Please help us to track the changes in those 3 new field data changes for old  STOs.</b>
      Please let me know if you need any further clarification regarding this.
    Thanks & Regards,
    Mani.

    Hai Naimesh Patel,
          Thanks for your promptly reply.
          Now My issue has been resolved successfully with your help.
          I rewarded Points for your reply.
    Thanks & Regards,
    Mani.

  • Capture value from the input field

    Hello All,
            I'm new to BSP.
    I have a small querry.
    I have a input field.
    beside this a push button.
    if i enter a value in the input field and press the push button, i need to capture the value from the input field and pass it to a variable contained in a class.
    i'm attaching the layout code here.
    but i'm not knowing what to write in the event(on input processing)
    <u><b>Layout code &#61664;</b></u>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title        = "Page to take the value from the screen and pass to the class "
                  marginBottom = "100"
                  marginLeft   = "250"
                  marginRight  = "100"
                  marginTop    = "100"
                  scrolling    = " AUTO" >
        <htmlb:form>
          <htmlb:tray id        = "tray1"
                      hasMargin = "TRUE"
                      title     = "Value Capture"
                      width     = "350" >
            <htmlb:textView text      = "Enter a value"
                            design    = "emphasized"
                            textColor = "negative" >
            </htmlb:textView>
            <br>
            <htmlb:inputField alignment = "left"
                              id        = "gv_var"
                              required  = "true"
                              type      = "STRING"
                              design    = "standard" />
            <htmlb:button design  = "emphasized"
                          id      = "button"
                          text    = "SUBMIT"
                          onClick = "btn_click" />
            </br>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    eventhandler&#61664;on input processing code
    DATA: event TYPE REF TO if_htmlb_data.
    event = CL_HTMLB_MANAGER=>get_event_ex( request ).
    IF event->EVENT_NAME = 'button' AND event->EVENT_TYPE = 'click'.
        ENDIF.

    HI BSPian,
        htmlb:inputField value = "<%= v_value %>"
                         id = "gv_var"
                         required = "true"
                         size = "10"
                         type = "STRING"
                         maxlength = "10"
                         design = "standard" />
    Here u mean to say that v_value must be one more field type string. is it so ?
    But i want to see the value in the same input field
    id ="gv_var". i.e if i enter the value "BSPian" in the input field and press "submit" the internal processing will be done as told by u and after that ,on the screen i want to keep that value till i end that session.
    i passed a variable v_value in the inputfield value but it's not working ..
    regards,
    deepu.

  • Capturing KFF Event to update fields.

    Hi,
    I have created a custom OAF page with an advanced table.
    I am trying to capture the event when the Chart of accounts KFF is invoked and updates the ccid column as I then have to update an additional few fields when this is updated as part of selecting the charge code from the CCID.
    so far I acannot seem to get an event to fire either after the CCID is populated or when the KFF is finished.
    Does any one have any suggestions?
    Thanks,
    P

    not in this case.
    KFF Actions appear to be operating on a different level.
    I had that code in there, but it never fired anything, there is never an event when a KFF was fired.
    I have a code combination field in a table, so when the code combination is selected, I want to fire off some post actions to update the table row.
    The charge code KFF field works correctly, but I cannot seem to get hold of an event at all to complete my post processing to update information such as description of share codes etc.
    Surely someone has had to work with this???
    Edited by: pburke on 27/02/2012 17:01

  • Unable to capture context attributes of editable fields

    Hello All,
    In my application, there are two trans. containers. One holds set of material info fields at top and in the bottom the container holds a table with quantity data of the material.
    The material info container has a edit button and 3 fields are editable and saved from the container. In the bottom container there is button to move to next material. Before moving, I check if any data is changed in material info container and display pop up to save it.
    Now, when i click the save button in the mat info container the ediatbel fields data is passed and gets saved. But, when the same save method is called from the confirmation pop up in the bottom container table the editable fields data is not passed. No idea on the reason behind this behaviour.
    The code used to retrieve the data is      
    nd_vipos_mat_master->get_static_attributes(
                IMPORTING
                  static_attributes = lr_vipos_mat_info ).
    Kindly assist.
    Regards,
    Sharath

    Hi ,
    When you are saving data using popup, you must have subscribed an action with popup button. I hope it is not the same action which you are using with SAVE button.
    You can try subscribing the same action for popup which you used in Save button. Ex: if on saving directly, you are calling action "OnSave" and from popup, the triggered action is "OnActionSaveFrom Popup".  So dont use this new action while subscription with popup button. use "OnSave" with popup button also.
    if it is working with save button, it should be fine with popup also.
    Thanks
    Vishal

  • Capture return key from a field

    Hi,
    I have developed an application with a GUI interface from which the user has to input various values to the Jtext, radio buttons, and combo boxes. The values will then be written to the database.
    My problem is I cannot go from the 1st field to the 2nd field using the 'Enter' key. It is stuck there. But I can navigate using the tab key. I need the enter key because I want to check whether the user has input any characters other than letters in the 1st field. Can anybody please help me with a sample code?

    A JTextField interprets the "Enter" key as the ActionCommand. Any other type of GUI element needs to have a custom KeyListener added to it to make the "Enter" key do what you want.

  • Unable to capture audio from BlackMagic HD Extreme via Voice Over tool

    Hi !
    I'm trying to capture audio via my BlackMagic HD Extrem card using the Voice Over tool in FCP6, but I can't, no audio is incoming.
    I can ingest audio with video using log and capture, then I know my card and my cables are working.
    I tried to set the BM card as audio input in my Audio's System Prefereces Pane, but it isn't working either.
    I've been looking on the BM website, but I found nothing.
    Can you help me ?
    Thx

    Thanks for the reply.
    Looking at system preferences I found that audio input was set microphone. Don't know how it happened. I switched it to DeckLink and now FCP displays 16 input channels in Log and Capture dialog. I didn't try to capture yet but I think it solved the problem, because before I had only two channels displyed.

  • Uninstall Lync 2010 client, Install Lync 2013 using Group Policy/VB/MS Customisation Tool

    Hi, I am using Group Policy/vb/Lync customization tools to deploy 2013 and remove 2010. The machines have Office 2010. The vb script is as below:
    Dim objShell 'As Object
    Dim objFSO 'As FileSystemObject
    '-- SET OBJECTS
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    strComputerName = objShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
    Dim WshNetwork : Set WshNetwork = WScript.CreateObject("WScript.Network")
    objShell.Run """\\xxxxxxxxx - Do not Remove\Lync Install 2013 2010\Lync 2013 Outlook 2010\setup.exe"""
    I have amended the OCT with relevant settings, Lync 2013 installs but Lync 2010 does not uninstall. Here is how i have it set:
    In the Office Customization Tool - Set-up - Add Installation and Run Programs,
    In target - pointing to the Lync2010 exe file (on above share)
    In Arguments - /silent /uninstall
    Is this correct?
    Also, i would have thought that, Remove Previous Installations, it would have an option to remove Lync2010?
    Anyway..pulling my hair out here!
    Hope you can help.

    Hi,
    Based on your description, we can refer to the following threads for help.
    Slient Unninstall of Lync 2010 on client machines script required
    http://social.technet.microsoft.com/Forums/lync/en-US/69e32128-4581-4be5-9a44-b5d133e1f480/slient-unninstall-of-lync-2010-on-client-machines-script-required
    Scripting a Lync 2010 client Uninstall
    http://social.technet.microsoft.com/Forums/en-US/a65bd0d0-daa1-4616-8725-63f349fdde86/scripting-a-lync-2010-client-uninstall?forum=lyncconferencing
    For this issue is more related to Lync, in order to get better help, we can ask the question in the following TechNet dedicated Lync forum.
    Lync 2010 and OCS - Lync Clients and Devices
    http://social.technet.microsoft.com/Forums/lync/en-US/home?forum=ocsclients&filter=alltypes&sort=lastpostdesc
    In addition, for it also involves scripts, we can also ask for help in the following scripting forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Hope it helps.
    Best regards,
    Frank Shen

  • Can't enter fields in iweb SEO tool - help please?

    I've been trying to add title tags to my new site using iweb SEO Tool but all fields remain greyed out, despite expanding and selecting each directory in the 'Local Sites' column, so I still can't enter any tags.
    Although this issue is mentioned in Rage's knowledge base, it just advises selecting the relevant directory, after which it should work, only it doesn't, The knowledge base does not offer any alternative solution.
    I'd be really grateful for any advice on this - many thanks.

    Thank you Roddy, but pls could you advise me where the HTML site files might be located on the HD?
    I assumed they were within > Application Support > iweb > domain > but when I click into the lower levels, I get two options entitled 'site-page' followed by numbers that I don't recognise. When ~I select either of these, the option to add title tags within SEO Tools is still greyed out.
    Thanks again for your patience
    As a recent Windows convert I'm having to rebuild my old website from scratch and although I'm really glad I made the move, it's taking me a while to get to grips with the way the Mac handles files; I can never find anything!)
    Your help is really appreciated.

  • How to capture the field name on a form when it's double-clicked?

    Hello,
    I plan to create a two field Help table that uses the thirty or so unique field names on the user form in field one. The second field is a Memo type field that contains the Help information for each field.
    Once I know the field name clicked, I will probably use a query to retrieve the help information. I'm planning to use the Double-Click event so the users can double-click any field on the form to be presented the specific field related information
    from the Help table.
    How can I capture the name of the field that was double-clicked, so I can proceed with this project? Thank you.
    Cordially,
    John
    Thank you, John Portland, Maine

    Thank you, Hans,
    How about this code:
    Dim varClickedFieldName as String
    varClickedFieldName = ScreenActiveControl.ControlSource
    Or would you recommend other code?
    Cordially,
    John
    Thank you, John Portland, Maine

Maybe you are looking for

  • How to close email notifications to senders from HP eprintCenter?

    Hi, How to close email notifications to senders from HP eprintCenter? Thank you.

  • Dimension Security causing SSAS cube to slow down

    Hi, Experiencing problems with with the SSAS cube once its processed. Sometimes takes around 20 mins for the excel to load once you drag down any dimension.The cube has got no calc scripts/named sets etc.It has around 17 dimensions and one dimension(

  • How to change the facetime email

    how do I change what e-mail address my mac uses for facetime.

  • How to fix this query ??

    Hello Everyone, I have this query It says missing right parenthesis...I have marked on the query with the (where) clause... I'm using Oracle 9i... select t1.course_id,t1.status from select t11.course_id, t11.status, row_number() over(partition by t11

  • Time/date stamp when printing from any program?

    Whenever I print a document, I always have a time stamp at the bottom of the page. When I edit the document, it's not there. When I print it, it is there. When I login as the root, the stamp goes away. Any suggestions?