Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all 2504 articles
Browse latest View live

Search Results don't match

$
0
0

Topic by Scott Trager

Content

Hello,

We currently use the API to search our KB. When pulling answers, the same results are not returned as when doing a search on the portal. We need these results to match. On another instance using the same code answers match exactly. Any idea what we could be doing wrong here? Is there some option we are not setting somewhere that could affect the order answers are returned in? 

Version

?

Code Block


Call to undefined functions (1 Comment)

$
0
0

Topic by Sasi Kiran Allada

Content

Hi All,

I am getting below error when i use the session_start() and load_curl

Fatal error: Call to undefined function session_start() in /cgi-bin/<instance-name>/scripts/custom/<script-name>

Fatal error: Call to undefined function load_curl() in /cgi-bin/<instance-name>/scripts/custom/<script-name>

Actually I was trying to do a cURL request for the salesforce integration where I get the access_token , instance_url details.. however I am not sure how to avoid the above errors. 

From my understanding, we will have to do modify the php.ini file but unfortunately this can't be done in  RightNow

PLEASE SUGGEST...

Version

May 2016

Get current object data in custom model process (CPM) (3 Comments)

$
0
0

Topic by JJ

Content

Please see code below - just fiddling with some random stuff at this point. I have the if/else statements. My question is how would I check the current value of let's say the product, category or queue to be additional conditions on the if/else statement

Code Block

ROQL queries on JDeveloper application

$
0
0

Topic by Bruno Aun

Hi,

I am trying to follow the instructions to create a SOA application to run ROQL queries.

The resource is https://docs.oracle.com/middleware/1213/cloudadapter-rightnow/develop-soa-adapters/ops.htm#TKRDP178

However the current application menus have changed so much, to the point where I cannot find the related commands.

For instance, there is no SOA application among the application types available.

Can anyone point me to the right direction, considering the ultimate goal is to be able to run ROQL queries?

 

thanks in advance

CPM - Validation failed on create of a Incident (20 Comments)

$
0
0

Topic by JJ

Content

Please see image for the error and the code block for the code - any reason for this?

Code Block

Getting all Incident Threads in one call via REST? (8 Comments)

$
0
0

Topic by Michel Jilderda

Content

Hi all, 
we are building a separate webpage where we want to show incident details on an external webpage. While we have built this before using SOAP, we are using the REST API now. One of the things we run into is this: 
With a SOAP request, it was possible to get all incident threads in 1 soap call. 

With the REST API there does not seem to be a way to do this in 1 call. So what we need to do to show the threads is a lot of calls to the API, which causes delay in loading the page. 

These are the calls we do now. We have the incident reference number to start with, so this is the sequence of calls to the REST API. 

  1. Get incident ID for reference number
    https://{{siteURL}}/services/rest/connect/v1.3/incidents/?q=lookupName='{{exampleIncidentRefno}}'
  2. Get Incident details
    https://{{siteURL}}/services/rest/connect/v1.3/incidents/{{exampleIncidentID}}
  3. Get Threads for Incidents
    https://teamcx-uk.custhelp.com/services/rest/connect/v1.3/incidents/{{exampleIncidentID}}/{{exampleThreadID}}
  4. Now we can loop through all the threads.
  5. Now, to populate the threads with the correct account names, we also need to get all the account names for the threads again.

Again, for SOAP this was a lot easier. Are we missing something? Is there a way to pull this from REST as well without doing 10+calls to get all incident details? 

Version

AUG2016

Auto Response after condition in CPM (9 Comments)

$
0
0

Topic by RD

Content

I have a requirement where I have to send an auto response to the customer and change the queue after checking the word count of the Email content the customer has written.

In this case I am using CPM through business rules.

I check the word count in CPM. But the issue here is that I am able to change the queue in CPM, but how to send an autoresponse.

Any suggestions?

Thanks

Version

November 16

Can the business rule variable be set in a CPM? (5 Comments)

$
0
0

Topic by RD

Content

Can the business rule variable be set in a CPM?

Version

November 16

Bulk Delete Using REST (3 Comments)

$
0
0

Topic by Umadevi Guduru

Hi,

 

Did any try bulk delete using REST for Custom Objects.

 

My query does not work

https://your_site_interface/services/rest/connect/version/queryResults/?query=Delete from Inte.ODITable limit 10;

 

I checked the syntax from ROQL API and its exactly the same. They did mention that bulk delete can be done on Custom Objects.

 

The select statement works : ?query=select * from Inte.ODITable works.

Error Message I got is

 

{
   "type": "https://your_site_interface/services/rest/connect/exceptions/OSC-CREST-00019",
   "title": "Invalid query parameter value",
   "status": 400,
   "detail": "This query is not supported: No such table: ODITable",
   "instance": "https://your_site_interface/services/rest/connect/v1.4/queryResults?query=Delete%20from%20Inte.ODITable%20%20limit%2010",
   "o:errorCode": "OSC-CREST-00019"
}

any idea?

 

Uma

 

Object Event Handler PHP Libraries (5 Comments)

$
0
0

Topic by Ross Crockett

Content

Hello,

I have a question regarding the PHP code available to Object Event Handlers. Is it possible to use custom libraries in the handler PHP code similar to how the Customer Portal does it (e.g. libraries directory) or can you only use the standard RN libraries in the Connect API?

I ask because we are investigating whether or not it would be possible to trigger some PHP code to send some Custom Object data to a web service on the status change of an Incident. We currently do this from the Custom Portal when the user invokes an action but it would be valuable to know if this could be triggered instead by workflow in RightNow.

Thanks,

Ross

Version

February 2012

How to add a service reference in VisualStudio after 1.4? (2 Comments)

$
0
0

Topic by Jason Owens

Content

I'm having issues getting a new C# project connected to the SOAP WebService.

The developer documentation hasn't changed:

http://documentation.custhelp.com/euf/assets/devdocs/cloud17d/Connect_Web_Services_for_SOAP/Default.htm

 

But when I enter the correct (according to documentation) address in VisualStudio I get an error attempting to find services.

 

Navigating to the URL in a browser results in a page telling me:

The service was accessed in a non-supported manner. Please use standardized URL to access the service: https://<sitename>/services/soap/connect/<service>.

 

My old projects are also now unable to refresh the service (i assume after an upgrade).

As I can view the WSDL when I append "v1.3" i assume this changed in 1.4, is the correct address format for 1.4 documented somewhere that I'm missing? Or does anyone know how to get this to work in VisualStudio after being upgraded to 1.4?

Version

May 2017

recordContext.RefreshWorkspace(); not working properly

$
0
0

Topic by Lage Antony

Content

Hi All,

I have created a workspace ADDin on Incident workspace . The addin shows a textbox control on UI. When the user types an email address ,on lost focus of the textbox, the addin searches whether a contact is already created in the database if yes it sets that contact ID as primary email address of the current workspace else if contact ID doesnot exist , it will create a contact with the email address and set the new contact ID as primary contact. The problem i am facing is after contact id is set in the code , i am refreshing the incident workspace to show that the contact ID set to the user. In some cases the  recordContext.RefreshWorkspace(); works properly and in some other cases its not working properly. Any help appreciated . Thanks 

 

Version

Aug 2017 Agent desktop

Code Block

Issues migrating from 1.3 to 1.4 - Anyone else upgrade?

$
0
0

Topic by Jason Owens

Content

Does anyone happen to have a list of changes from 1.3 to 1.4? The more I dig into this the more concerned i am about it breaking my addins.

So far i've found:

 

And now it looks like properties are being removed from objects???

 

According to the documentation the Incident.Product object should have a Parents field:

And in 1.3 I can get an Incident.Product.Parents list

However after switching to 1.4 the parents property is gone:

 

This field is not listed in any of the release notes going back to 2015 as depreciated or removed, so I'm concerned there may be other fields that were removed from 1.4.

 

Does anyone have experience upgrading from 1.3 to 1.4 and can provide pointers on what exactly has changed and fields were removed? Pretty much every call to the RightNowSyncPortClient had to be changed moving to 1.4, so i'm hesitant to do any more work on my project until i know what else is broken.

 

Thanks!

 

 

Version

May 2017

REST API - analyticsReportResults return nested JSON format (9 Comments)

$
0
0

Topic by David Wright

Does anyone know if it is possible to change the format / nesting of the JSON as returned by the analyticsReportResults function of the REST api?

Ideally we want something like:

{
"Report1":
[
"Column1":"value",
"Column2":"value"

"Subreport1":[
"Column3":"value",
"Column4":"value"
]
}

]
}

If not possible using the Analytics report function would there be any other way to achieve it using the REST API?

Thanks, David

ROQL queries on JDeveloper application (1 Comment)

$
0
0

Topic by Bruno Aun

Hi,

I am trying to follow the instructions to create a SOA application to run ROQL queries.

The resource is https://docs.oracle.com/middleware/1213/cloudadapter-rightnow/develop-soa-adapters/ops.htm#TKRDP178

However the current application menus have changed so much, to the point where I cannot find the related commands.

For instance, there is no SOA application among the application types available.

Can anyone point me to the right direction, considering the ultimate goal is to be able to run ROQL queries?

 

thanks in advance


CPM test failure: "Undefined variable: object" (13 Comments)

$
0
0

Topic by Walter Kamp

Content

Since version Aug 2017, we cannot upload simple CPMs that worked fine before.
When we test the CPM, we get error "Undefined variable: object", and we're not able to deploy it anymore. We have this now on 2 separate instances.

I attached an almost empty CPM which can be used for reproducing the error.

Version

Aug 2017

File

test.php(853 Bytes)

REST API > Updating a single contact with one API call (4 Comments)

$
0
0

Topic by Azam Khan

Is it possible to update a contact with a single API call when using REST API? As, update will occur based on contact Id so do we need to perform following:

  • Get all the contacts
  • Iterate through all the contacts until find the relevant contact
  • Get the contact id of that record
  • Update the record

If we have a unique identifier let say contact number, then can we update based on that ? I suppose we might have to go for Connect PHP.

CPM - Validation failed on create of a Incident (22 Comments)

$
0
0

Topic by JJ

Content

Please see image for the error and the code block for the code - any reason for this?

Code Block

Issue with connecting / using SOAP API

$
0
0

Topic by Ryan James

Content

I'm having an issue calling the SOAP API from a local c# application. I am able to add the web service reference and the wsdl gets loaded, however when I try to use the SOAP to retrieve data I get the error below. Presumably its something to do with the SSL setup but I'm not sure what it is as I am able to connect and use the SOAP API of a different customer's site. Attached is a screenshot with the full exception.

The request was aborted: Could not create SSL/TLS secure channel.

Version

Service Cloud Connect Web Services SOAP API

Image

Internal Error with simple Contact Query with Like

$
0
0

Topic by Mai Chi Trung

Content

Hi,

My queries have been working for the last few years until a few days ago. The query  is a simple:

- SELECT Contact FROM Contact WHERE Phones.Raw LIKE ''%abcd''
The result is internal error. When change LIKE to =, it works fine.

Is there anychange in the backend that I should know? I'm not updated with changes lately

Thanks & regards
Trung

Code Block

Viewing all 2504 articles
Browse latest View live