Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Builta Group
    RunAnalyticsReport operation not available when using...5.0
    Topic posted August 26, 2015 by Builta Group Blue Ribbon: 750+ Points 
    Title:
    RunAnalyticsReport operation not available when using generic WSDL
    Content:

    Why is the RunAnalyticsReport operation not included in the Partner WSDL? (https://<your_site>/cgi-bin/<your_interface>.cfg/services/soap?wsdl=generic)

     

  • Heena Karir
    All Columns of the Table in one Report...5.0
    Topic posted September 9, 2014 by Heena KarirBronze Trophy: 5,000+ Points 
    Title:
    All Columns of the Table in one Report...
    Content:

     Hi All,

    Is there any way to add all the columns of a table to the report apart from manual drag and drop method? 

    Thanks,

    Heena Karir

  • Angeliki Kanavaru
    Javascript API -Problem with onbeforesave()5.0
    Topic posted July 19, 2013 by Angeliki KanavaruGreen Ribbon: 100+ Points 
    Title:
    Javascript API -Problem with onbeforesave()
    Content:

    Hello all,

    I'm trying to validate  the input for a custom field (the birthdate text field) using the Javascript API and the onbeforesave() function.

    The onbeforesave() function is called when I open an existing contact and modify data and then trying to save them only the first time.

    For example if I change the birthdate and press Save the onbeforesave() function is called, validates my input and prompts a message.

    Lets say that the abovementioned input was wrong and I change its value and press Save again,  the onbeforesave() function isn't called, thus the validation doesn't occur.

    What I'm trying to say is that the onbeforesave() function is called only ony the first time I press Save  for a record (either new or existed) and not every time I press Save.

    Here is the code I'm using :

    <script type="text/javascript">
     
     
    function onbeforesave()
    {
       var date = window.external.Contact.GetCustomFieldByName("c$birthdate");
     
    if(date!=null)
    {
    var reg=/^(0[1-9]|1[0-2])[/](0[1-9]|[1-2][0-9]|3[0-1])[/](19|20)\d\d$/;
    var check = false;
     
    if( reg.test(date))
    {
    document.write("Valid value");
    var success = true;
    // execute the response
    window.external.beforesavecomplete(success, "Save OK!");}
     
    else
    {
     
    document.write("Invalid value");
    var success = false;
    window.external.beforesavecomplete(success, "Invalid value for Birth Date");}
     
     
    }
    else
    {document.write("Not set yet!");}  
    }
    </script>
    Any ideas?
  • Shreyas Pandhari
    Putting the standard text by clicking a button in a...5.0
    Topic posted July 5, 2013 by Shreyas PandhariSilver Medal: 2,000+ Points 
    Title:
    Putting the standard text by clicking a button in a workspace
    Content:

     

    Hi,
    Hope all are doing fine.

    I am designing a business scenario as below:
    In an incident workspace, on a tab (say Tab1) I want to put a button "Insert Standard Text" on Tab1. After clicking on this button I want invoke standard text window from where I can select the standard text. The selected standard text should come into the Text area.

    Can this be achieved in RightNow. If yes then how?

    If it can be achieved using Add-ins then please elaborate more on this.

    Please find attached screenshot describing the requirement.

    Thanks,
    Shreyas

    Version:
    Feb13
    Image:
  • Marv Ferrer
    Is it possible to run an Ajax script within the...5.0
    Topic posted May 16, 2013 by Marv FerrerSilver Trophy: 7,500+ Points 
    Title:
    Is it possible to run an Ajax script within the "onbeforesave" and "onsave" events? I'm trying to do...
    Content:

    Is it possible to run an Ajax script within the "onbeforesave" and "onsave" events? I'm trying to do that now but the Ajax function does not run or is being omitted. We're in Aug 11 release.

    Below is a sample Ajax function:

    function RunAjax() {
        if (window.XMLHttpRequest)
          {// code for IE7+, Firefox, Chrome, Opera, Safari
          xmlhttp=new XMLHttpRequest();
          }
        else
          {// code for IE6, IE5
          xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
          }
        xmlhttp.onreadystatechange=function()
          {
          if (xmlhttp.readyState==4 && xmlhttp.status==200)
            {
            document.getElementById('myDiv').innerHTML=xmlhttp.responseText;        
            }
          }
        xmlhttp.open("POST","http://mywebsite.com/ajax_test.php",true);
        xmlhttp.send();        
    }
    

    My onbeforesave function is defined below. When I save a ticket, the "Not saved!" message does not popup.

    function onbeforesave() {
        RunAjax();
        window.external.beforesavecomplete(false,'Not saved!');    // - for testing purposes only
    }
    

    Any help is very much appreciated.

     

  • Prajna Parmita
    Rightnow Analytics through OBIEE5.0
    Topic posted January 26, 2013 by Prajna Parmita 
    Title:
    Rightnow Analytics through OBIEE
    Content:

    Hi Experts,

     

    We are trying to generate Rightnow analytics report through OBIEE. For that we will need to connect to the RightNow database.

     

    Can anyone please tell me how to get the connection details of RightNow  database.

     

    Thanks

  • David Brenchley
    ROQL case insensitive search5.0
    Topic posted October 9, 2012 by David Brenchley 
    Title:
    ROQL case insensitive search
    Content:

    How do I do a case insensitive search with ROQL?  I've tried such things as below and they don't work

     

    SELECT Contact FROM Contact WHERE ToLower(Login) LIKE '" + login.ToLower() + "'

    SELECT Contact FROM Contact WHERE Lower(Login) LIKE '" + login.ToLower() + "'

    SELECT Contact FROM Contact WHERE ToUpper(Login) LIKE '" + login.ToUpper() + "'

    SELECT Contact FROM Contact WHERE Upper(Login) LIKE '" + login.ToUpper() + "'

     

    Code Snippet:
  • Jordan Hoff
    Create, Update and Delete actions on StandardContent not...5.0
    Topic posted August 3, 2012 by Jordan HoffRed Ribbon: 250+ Points 
    Title:
    Create, Update and Delete actions on StandardContent not reflected in Agent desktop
    Content:

    I'm trying to automate some maintenance on StandardContent. When I add new StandardContent objects, make changes to things like DisplayOrder, or destroy them, the changes are reflected in the database, but there seems to be some caching at the agent desktop level. I have to manually go in and make a change to one object in order to see the new objects and/or changes to sort order.

    How can I envoke a cache refresh of some sort, or disable this caching feature all together? It kinda defeats the purpose of being able to do CRUD operations on StandardContent, if the agents can never see the changes.

    Thanks.

    Version:
    November 2011
  • JustRhianna
    Cannot update phone fields using connect for PHP5.0
    Topic posted June 28, 2012 by JustRhiannaBronze Crown: 15,000+ Points 
    Title:
    Cannot update phone fields using connect for PHP
    Content:

    We’ve encountered a problem updating Contact phone records from the
    Connect for PHP API. Identically structured code succeeds elsewhere (updating
    names / emails / custom fields). For phones, the operation appears to succeed
    (no error is thrown, introspecting the Contact object after save shows the
    fields properly updated), yet the changes are not propagated to the database.
    Has any other developer encountered a similar problem?”

     

    The relevant code:

     

        private function getPhone($existingPhone, $index,
    $number) {
            $phone = new RNCP\Phone();
    
            if
    (!$existingPhone->Number && $number != "Null") {
               
    $phone->action = 'add';
            } elseif
    ($existingPhone->Number && $number == "Null") {
               
    $phone->action = 'remove';
            } else {
    
               
    $phone->action = 'update';
            }
    
            if ($number !=
    "Null") {
                $phone->Number
    = html_entity_decode(urldecode($number), ENT_QUOTES);
            } else {
    
               
    $phone->Number = "";
            }
    
            $phone->PhoneType = new
    RNCP\NamedIDOptList();
            $phone->PhoneType->ID =
    $index;
            return $phone;
    
        }
    
     
        public function setMyPhones($id, $office, $mobile,
    $fax, $alt, $home) {
     
            $this->checkContact($id);
    
            $numbers = array($office,
    $mobile, $fax, $alt, $home);
            for ($index = 0; $index <
    count($numbers); $index++) {
               
    $this->contact->Phones[$index] =
    $this->getPhone($this->contact->Phones[$index], $index,
    $numbers[$index]);
            }
    
           
    $this->contact->save(RNCP\RNObject::SuppressAll);
            RNCP\ConnectAPI::commit();
    
        }
    
  • bluephlame
    Date of Birth Field, for people older then 425.0
    Topic posted March 22, 2012 by bluephlame Blue Ribbon: 750+ Points 
    Title:
    Date of Birth Field, for people older then 42
    Content:

    Hi,


    I am looking for away of creating a date field that will be able to record dates older then 1/1/1970.


    This discussion here talks about it.


    https://cloudcustomerconnect.oracle.com/posts/cf582596d7


    We talked about it with our account manager, and ridiculous amounts of money were being dicussed.  Just wondering if anyone out there has nocked up a custom add-in to solve this problem and if they could post it here.


    If not I'm going to whack one up and share it with the community. (trust me the cost associated with this was ridiculous compared to how easy the problem is to solve.)


    Is there a standard spot somewhere that we could keep things like add-ins and widgets that are helpful for each other?  


     

Filter by Date

< < September 2019 > >
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Filter by Type