Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • jagadeesh gattupalli
    delete record from custom process in report3
    Topic posted Yesterday by jagadeesh gattupalliBronze Medal: 1,250+ Points, tagged Connect PHP 
    Title:
    delete record from custom process in report
    Summary:
    delete record from custom process in report
    Content:

    Hi ,

    Is there a way I can remove few records from report based on condition using custom script ? The report is based on Incident object and a custom object. I need to remove records from custom object.

    Please let me know.

    Regards

    Jagadeesh G

     

     

    Version:
    19B
  • Priyadharshini Gopal
    REST API - Multiple incidents with fields parameter1
    Topic posted 2:33 AM by Priyadharshini GopalGreen Ribbon: 100+ Points, tagged REST 
    Title:
    REST API - Multiple incidents with fields parameter
    Summary:
    Unable to retrieve custom fields in multiple incidents get
    Content:

    Hello All,

    We are trying to use the Multiple incidents Get in the REST API and specifying the fields attribute in the query parameter. It always return the default response with standard fields if any specified but does not add the custom fields  specified in the fields section. My query is like below. This works if I query specifying the incident id. Can you please check and let me know if it is default behaviour or if my query is wrong? Thanks in advance.

    https://mysitename.custhelp.com/services/rest/connect/v1.4/incidents?fields=subject,id,createdTime,lookupName,customFields.c.customfieldname&limit=10

    Thanks,Priya

    Version:
    1.4
  • Kelvin Chung
    Check if Custom Object update from SOAP or from Agent...2
    Topic posted February 27, 2019 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    Title:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Summary:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Content:

    Hi 

    Quick questions,

    (1) Is there a way to find out if Custom Object update from SOAP or from Agent Desktop in CPM in ActionUpdate ?

    (2) Is there a way to reject  RNCPM\ActionCreate of custom object in CPM script beside calling the object destroy() method ?

    Thanks!

    - Kelvin

     

     

    Version:
    August 2017
  • Sathya Rajendran
    Send mailings to contact using...6
    Topic posted December 10, 2019 by Sathya RajendranGold Medal: 3,500+ Points, tagged SOAP 
    Title:
    Send mailings to contact using "SendMailingToContact" with attachments
    Content:

    Hello All,

    I need to send an email to contact with attachments and it is a pdf. can we use "SendMailingToContact" to send email with attachments or only way to use Public mail API's?

     

    Thanks in Advance

     

  • Jaymin kansara
    Error while creating custom fields on contact Object12
    Topic posted December 5, 2019 by Jaymin kansaraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Error while creating custom fields on contact Object
    Content:

    Hi,

    How can we create custom fields on Contact object through SOAP API XML format?  I tried creating one but getting below error.:

    Can anyone suggest please.

    Code Snippet:
  • jagadeesh gattupalli
    how to add incident field values into thread text3
    Topic last edited December 5, 2019 by jagadeesh gattupalliBronze Medal: 1,250+ Points, tagged Connect PHP 
    Title:
    how to add incident field values into thread text
    Summary:
    add incident field values into thread text
    Content:

    Hi ,

    Plz let me know how to add Field values into Thread text.

    $parent_inc and $inc_tmp are two objects.

                              $f_count = count($parent_inc->Threads);
                                $parent_inc->Threads[$f_count] = new RNCPHP\Thread();
                                $parent_inc->Threads[$f_count]->EntryType = new RNCPHP\NamedIDOptList();  
                                $parent_inc->Threads[$f_count]->EntryType->LookupName = 'Staff Account';  
                                $parent_inc->Threads[$f_count]->ContentType->ID=2;           

    //this red color code giving me error   

                 
                                $parent_inc->Threads[$f_count]->Text = "This Incident was closed and merged into "   . $inc_tmp.ReferenceNumber . " - " . $inc_tmp.Subject ;

     

    Error : Object of class RightNow\Connect\v1_3\Incident could not be converted into string.

    Help is needed. It is urgent.

     

    Regards

    Jagadeesh 

     

    Version:
    19B
  • jagadeesh gattupalli
    How to get Values of System Attributes attached to Incident...Answered15.0
    Topic posted December 5, 2019 by jagadeesh gattupalliBronze Medal: 1,250+ Points, tagged Connect PHP 
    Title:
    How to get Values of System Attributes attached to Incident object using ROQL
    Summary:
    System Attributes attached to Incident object using ROQL
    Content:

    HI ,

    I am writing object event handle using connect PHP and querying incident object as below to fetch value from a system attribute which is highlighted in RED color.

     

    $roql_result_set = RNCPHP\ROQL::query("SELECT Incident.ID ID, Incident.PrimaryContact.ParentContact.ID CID, Incident.CustomFields.CO.ParentIncident CHILD FROM Incident WHERE Incident.ID = " . $object->ID); 

     

    This query works fine Connect object Explore ( ROQL Editor in Customer Portal),

    The same is not working in Connect PHP in below mentioned code.

                    while ($roql_result = $roql_result_set->next())
                    {
                        while ($row = $roql_result->next())
                        {

                            $inc_tmp = RNCPHP\Incident::fetch($row[CHILD]);

                        }

                   }

    I am getting error undefined constant .

    Need your help on this . Appreciate  fast reply.

    I am using connect PHP v1_3 on 19B version.

    Regards

    Jagadeesh 

     

     

    Version:
    19B
  • Eric Gottesman
    shareFile adding attachments to every thread item?3
    Topic posted November 27, 2019 by Eric GottesmanBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    shareFile adding attachments to every thread item?
    Content:

    I am developing a CPM that copies a number of fields from a parent incident to a child incident. I found the "shareFile" functionality, which is great for the attachments. It's working great, except that after the attachments have been copied, the child incident shows the attachments connected to every single thread item. (See attached picture.) If I look at the attachment tab, there are just the two attachments, so it's doing the right thing, except for how it appears to be attached to every thread item.

    Here's the relevant code:

    $incident->FileAttachments = new RNCPHP\FileAttachmentIncidentArray();
     
    for ($i=0$i < count($parentIncident->FileAttachments); $i++) { 
          $incident->FileAttachments->shareFile($parentIncident->FileAttachments[$i]);
    }

    Any ideas?

     

    Version:
    19C
    Image:
    Code Snippet:
  • Jim Reynolds
    Default PageSize of SOAP APIAnswered2
    Topic posted November 28, 2019 by Jim ReynoldsRed Ribbon: 250+ Points, tagged SOAP 
    Title:
    Default PageSize of SOAP API
    Content:

    Hi,

    We are looking to know what the default 'PageSize'(see attached PageSize.png) is for our production instance of Oracle Service Cloud (https://students.connect.curtin.edu.au/) for the SOAP API QueryCSV request?

    Can the current default value be viewed anywhere without having to contact Oracle?

    We believe it has never been altered, but it could be affecting an important integration involving Oracle Integration Cloud and Oracle Eloqua that we are trying to launch.

    Image:
  • Sylvia S
    Setting trigger in Service Cloud to OIC2
    Topic posted December 2, 2019 by Sylvia SBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    Title:
    Setting trigger in Service Cloud to OIC
    Summary:
    Setting trigger
    Content:

    Hi Guys,

    I am trying to achieve an integration between Service Cloud and Eloqua where if a contact is updated in Service Cloud, the contact is updated in Eloqua through OIC. Based on the documentation am using, an event handler should be created to trigger the process. Can anyone share any information, ideas or documentation on how to go about this?

    Thanks,

    Sylvia

Filter by Date

< < December 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 31        

Filter by Type