Posts

Posts

  • Nigel Oliver
    "class not found" when trying ti use...Answered2
    Topic posted June 3, 2019 by Nigel OliverBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs in B2C Service > Integrations and APIs for Service public
    Title:
    "class not found" when trying ti use IncidentResponse
    Summary:
    Receving an erro when trying to use class IncidentResponse
    Content:

    Hi All

    I'm trying to create a custom PHP script that updates an incident with a response and sends it out to the customer,  I'm using the example code from the documentation for 18B but when I test the code a I get error "Class 'RightNow\Connect\v1_3\IncidentResponse' not found".

    Here is the code below, am I doing something wrong ?

    Thanks!

    Nigel

    Version:
    18B
    Code Snippet:
  • jagadeesh gattupalli
    Access Service cloud Managed tables through REST API and...Answered1
    Topic posted November 6, 2019 by jagadeesh gattupalliBronze Medal: 1,250+ Points, tagged Connect PHP, REST in B2C Service > Integrations and APIs for Service public
    Title:
    Access Service cloud Managed tables through REST API and ROQL
    Summary:
    How to access Service cloud Managed tables into REST API and ROQL
    Content:

    HI ,

    Can any one help me how to access Managed tables from REST API and  through ROQL ?

    SurveyQuestions

    SurveySession

    ContentRatingSummaries

    ...... (more)

    From ROQL when I execute below query I am getting error "Invalid object name: Survey".

    SELECT SurveyQuestions.* FROM Survey WHERE ID=3;

     

    Kind Regards

    Jagadeesh G

    Version:
    19B
  • Lautaro Illescas
    Add an image to a report in a custom process45.0
    Topic posted December 5, 2018 by Lautaro IllescasGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs in B2C Service > Integrations and APIs for Service public
    Title:
    Add an image to a report in a custom process
    Content:

    Hi

    We have to execute a report from a custom process, and add to it a signature, wich is received as a PNG from another system. Then send it by mail as an attachment.

     From what we understand, we can easily execute the report from PHP, and we can also easily send it by mail. The problem is that we can't add the bytes of the signature to the report.

    We tried to replace the image dynamically from the report, but we had no success. We also tried to get a report with images from SOAP and REST, to tried to replace it, but we also had no sucess. Is it possible to make an image of the report and overlap the image of the signature? We tried this but we coudn't do it.

    We are open to ideas/suggestions.

    Please let me know if this is possible,

    Thanks.

  • Jonathan Doringuez
    API for Application Level Menus
    Topic posted November 16, 2018 by Jonathan DoringuezBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    API for Application Level Menus
    Summary:
    Importing and Exporting Workspaces API
    Content:

    Did someone found something like the API's or the command line interface (CLI) for Service Cloud? CLI should be applicable to both AD and Portal for the purpose of automating the migration of files to higher environment.

    I'm also looking for a documentation about command line interface for Oracle Service Cloud (CLI), where can I find it? This is for both AD and Portal pages, API for importing and exporting workspace

    In addition where can I find the API equivalent for all the application level menus and buttons?

    Version:
    18C
  • 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 in B2C Service > Integrations and APIs for Service public
    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
  • Kurt Helfrich
    Connect for PHP - Can't see elements of an answer's...Answered3
    Topic posted May 22, 2013 by Kurt HelfrichGold Trophy: 10,000+ Points, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Connect for PHP - Can't see elements of an answer's Products array
    Content:

    I'm stumped.  I am trying to do some work with access control based on the products associated to an answer.

    I'm on a clone of the answers/detail page, and I added some code to start figuring out the syntax.

    The fetch of the answer is working OK, and when I print the answer ID or count($ans->Products), I get the right value.

    As my first test, I wanted to print the Name of each ServiceProduct in the array, but I can't.

    This seems to be working OK - not throwing an exception: $p = $ans->Products->fetch($i);

    How would I access the Name of $p, if not $p->Name?  I tried $p->Name->value, too.  No dice.

    Ultimately, I need to look at the root of the products and make some decisions based on that.

    Does anyone have any ideas?

    Version:
    August 2012
    Code Snippet:
  • Pandurang Hargude
    Connect for PHP initConnectAPI() user authentication...Answered35.0
    Topic posted June 1, 2018 by Pandurang Hargude, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Connect for PHP initConnectAPI() user authentication change username
    Content:

    Hello,

    When connecting by using initConnectAPI() I notice that you can do so without specifying a username and password and the documentation recommends this'. This has some impact regarding accountability as the Audit Log stamps the action as performed by 'UserName'.

    However when you do specify a username and password of a Connect enabled account , it correctly comes in audit log with specified username, But when not specifying the username & password it takes one default user, I want to change this Username so need to know where it is configured.

    Thanks in advance.

     

    Version:
    Service Cloud may 2015
    Code Snippet:
  • Pramod Kumar
    Connect PHP API.1
    Topic posted March 20, 2014 by Pramod KumarRed Ribbon: 250+ Points, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Connect PHP API.
    Content:

    Hi, I am new to php. i want to integrate the rightnow to ebs through php.

    I am having some information in Oracle RightNow, and Oracle EBS. I need to exchange the information between each other by using php as an intermediate language. By using Connect phpAPI, is ther any way to connect the both instances by using php?? If so how to achieve that? Please i want some help to achieve this task. 
     
    http://documentation.custhelp.com/euf/assets/devdocs/may2013/Connect_PHP/Default.htm
     
    I am following this link. But still i am not having clear idea how to work with php. Can any one help me in doing the above task?
  • Sreeram Venkatramani
    Connect PHP for Bulk dataloadsAnswered7
    Topic posted November 8, 2018 by Sreeram VenkatramaniGreen Ribbon: 100+ Points, tagged Connect PHP, REST in B2C Service > Integrations and APIs for Service public
    Title:
    Connect PHP for Bulk dataloads
    Content:

    We are in the process of migrating data from Legacy applications to Oracle Service Cloud. The Legacy Data needs to be migrated to both Standard Objects and a few Custom Objects in Service Cloud.

    For some transactional entities, the volume of data is to the tune of 1 Million - 2 Million. And it is necessary to migate historical data to the new Service Cloud solution for reporting purposes.

    Also all references need to be built during data upload. Example: An Incident needs to be linked to the correct Organization and Contact.

    Currently we are using Connect PHP to import CSV data in bulk. But of late we see the throughput is very small. The PHP scripts have embedded ROQLs to fetch the IDs of the references (like Organization Id of the Organization to be linked to the Incident etc.)

    Would like to understand -

    a. is the use of Connect PHP a correct approach to load Bulk data into Service Cloud
    b. is Connect PHP architecture such that it is inherently slow in loading data
    c. what are the best practices when using Connect PHP for such Bulk data uploads
    d. will the use of REST APIs give better performance compared to Connect PHP

    Any guidance/pointers would help us in taking the next steps to improve performance of our loads.

    Regards,
    Sreeram V

    Version:
    18A
  • Sebastiaan Draaisma
    Connect PHP transaction log entryAnswered7
    Topic posted December 4, 2018 by Sebastiaan DraaismaBlack Diamond: 60,000+ Points, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Connect PHP transaction log entry
    Summary:
    Create a transaction log entry through Connect PHP
    Content:

    Does anyone know if it's possible to use Connect PHP to create a custom log entry in the transaction table? I'm unable to find any documentation regarding this so I assume it's not possible but hope to be proven wrong :-)

    Version:
    18C