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

Data element in the Message is NULL (2 Comments)

$
0
0

Topic by Robert Abbott


Hi, we recently switched from v1 to v1_2 wsdl.  Now we catch this error:  System.ServiceModel.FaultCode:Data element in the Message is NULL.  Where might I begin to troubleshoot this?  Possibly, one of our custom fields is NULL?  But which one?  Thanks!


How do I schedule the OFSC Activity ID with particular parameters using ICS.

$
0
0

Topic by Keerthi Peesapati

Hi All,

 

I required a help in ICS.

How do I schedule the Field service Activity ID with using date parameters in oracle ICS.

Regards,

shiva

Is it possible to return file attachments in a report with get the actual file/file data?

$
0
0

Topic by Umesh Pansara

I want to create a report which shows/returns file attachment with actual file data(like in form of bye[] or any other valid format). Please suggest me the way how can I can achieve this..

Curl error 'Couldn't connect to host' (2 Comments)

$
0
0

Topic by Aarnav P

Content

Hi all,

I am writing a custom script in cPHP which makes POST requests to webservice API using Curl.

I have tested the API using external tools (postman) from my computer and it worked fine but when I try to implement it from custom script using curl, I am getting an error saying 'Couldn't connect to host'. 

is there any restriction/configuration requirements in RightNow which is preventing me to connect to API?

 

 

Code Block

REST API - Setting the Account when updating Incident with Private Note

$
0
0

Topic by Marlena C

Our developer is having an issue with updating incidents with a Private Note when using PATCH.

For some reason, the Account ID is not setting correctly. Is there something missing here?

Here are her notes:


I am [using PATCH method]... and the incident is updated with the new thread when I do so, but the account portion is completely ignored. For example, if I send:

{ "threads": { "account": { "id": 379470 }, "entryType": { "lookupName": "Note" }, "text": "Here is a new note." } }

to:

https://xxxxxx--tst.custhelp.com/services/rest/connect/v1.3/incidents/3128592

... the result is that a new thread is added (correct) with entryType of Note (correct) and account of 377694 (incorrect) [Account 377694  is the account used to authenticate when the script starts.]. If I attempt to update a thread directly by sending:

{ "account": { "id": 379470 } }

to:

https://xxxxxx--tst.custhelp.com/services/rest/connect/v1.3/incidents/3128592/threads/11523135

... then 200 (success) is returned, but the thread is not updated.

Retrieve NamedID ids/values from incidents/customFields/c using REST API only (2 Comments)

$
0
0

Topic by Bryan Bingham

Content

I am using the Connect REST API only. I am a beginner in the Oracle world, but otherwise a highly experienced REST API consumer.

The customFields/c table for my customer has a bunch of objects that look like NamedIDs. However, I can't seem to retrieve their id/value pairs using any syntax I can discover. There is an article here about how to do it via PHP, which does me no good.

https://{{site}}/services/rest/connect/latest/metadata-catalog/incidents/customFields/c/business_unit

works just fine.

The documented API to retrieve NamedID values works for this:

https://{{site}}/services/rest/connect/latest/namedIDs/incidents/severity

but not this:

https://{{site}}/services/rest/connect/latest/namedIDs/incidents/customFields/c/business_unit

returns "Unrecognized resource element: customFields",

 

Version

1.3 Cloud I think.

Sending sms using Custom process (4 Comments)

$
0
0

Topic by Bhagwan Singh Mer

Content

Hello,

Has anyone tried sending a sms using custom process designer ? We are trying to send a sms during incident update process but are not able to get far.

We have been successful with workspace add-ins (sending sms through custom button click) but want to automate it through process designer approach.

We have a standalone sms sending php code that works fine but when we use it inside process designer, system does not accept it at first place

Is this the correct way? any pointers

Thanks,

B

Version

Nov 2012

Issue with Data import Wizard

$
0
0

Topic by vijay kalidasan

Content

I am trying to update contacts using data import wizard.

I have a custom filed called passport number that is not a mandatory field while inserting or updating, but when i upload csv file for updating , all records are getting errors related to "Missing required filed for c$passportnumber".

 

PFA : screen shot of custom field.

Version

Service clound

Image


Set Value of a Parent field using JavaScript API (2 Comments)

$
0
0

Topic by Nishi

Content

Hi All,

I am trying to set the value of a parent field "Resource" for Incident object using JavaScript API (inside a custom script). Whenever a new incident is created , I want to set this parent field based on a report result. I am able to get the report result but the below function is not working. Any pointers would be helpful.

Thanks,

Nishi

 

Version

Oracle Service Cloud May'17

Code Block

Integrating Oracle service cloud and Oracle SalesCloud (1 Comment)

$
0
0

Topic by Ujjwal Waghmare

Hi,

I was thinking if we can integrate Service cloud with salescloud. For example: A contact created in rightnow should be reflected in salescloud as well. I want to try it WITHOUT ICS. I want to create an addin using .Net wherein the user enters the contact details in rightnow and clicks a button and the contact details will be visible in salescloud as well

Also i have been trying to create a contact in rightnow(i know we can create contacts in rightnow but i was just trying it ;p because i might have to use the same logic for integrating it with salescloud) by making an addin in .Net. The code works perfectly when i don't put it in the workspace addin template(I wanted to create an addin where the the user will click the button and the contact will get created), but when i put it in the template i get the following error 

“Custom tool warning: Cannot import wsdl:portType”

i used the soap wsdl for this.

Can someone tell me how to proceed with the same? 

Thanks in advance! ;)

Index out of range exception - Invalid local cache - EXCEPTION_HELP_FORCE_SUBMIT (2 Comments)

$
0
0

Topic by Richard Morgan

Content

We're seeing an exception on login of the desktop agent:

RightNow.Installer.InitEngine Error: 1 : [20:45:48.1283] Unhandled exception in the InitEngine app domain

Exception Level 1 - ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

   at System.ThrowHelper.ThrowArgumentOutOfRangeException()

   at System.Collections.Generic.List`1.get_Item(Int32 index)

   at RightNow.Services.Client.MessageBaseLoader.ProcessOptlist(OptlItems oldOptlist, OptlItems optlist, Int32 offset)

   at RightNow.Services.Client.MessageBaseLoader.ProcessOptlist(IEnumerable`1 queue, OptListId optlistId, OptlItems oldOptlist, Int32 offset)

   at RightNow.Services.Client.MessageBaseLoader.RetrieveMessageBases()

   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

From what I can tell, there is a new value in the OptList on the server that is not in the local cache.  The new value is "EXCEPTION_HELP_FORCE_SUBMIT".  

Does anyone know what setting this corresponds to?  I am thinking some configuration setting change was made on the server and is now invalid.

This error is only seen once then the local cache is fixed, but I really hate to have my users see this error.  Also, I'd like to know how to avoid this in future.

Version

Nov 2012

PHP API: print_r or var_dump of object is empty (7 Comments)

$
0
0

Topic by Eric Den Hollander

I'm using the Connect PHP API and am using this code to get a RightNow Customer object:

$contact = RNCPHP\Contact::fetch(186762);

When I do a print_r or a var_dump of $contact, all the values are empty. 

However, if I echo or assign a variable a parameter of the $contact object and then do an print_r or var_dump, that particular parameter is filled in. Why is this happening?

echo $contact->ID;
$a = $contact->Address->Street;
 
Then I get:
 
RightNow\Connect\v1_2\Contact Object
(
    [ID] => 186762
    [LookupName] => 
    [CreatedTime] => 
    [UpdatedTime] => 
    [Address] => RightNow\Connect\v1_2\Address Object
        (
            [City] => 
            [Country] => 
            [PostalCode] => 
            [StateOrProvince] => 
            [Street] => 15 Main St
 
See how the other parameters such as City or LookupName are empty and how the the ones I specifically echo-ed are now filled in? 

 

Mail API FriendlyFromAddress & ReplyToAddress not working? (3 Comments)

$
0
0

Topic by Bastiaan van der Kooij

Content

Somehow when sending a message with the Mail API in a CPM the FriendlyFromAddress & ReplyToAddress are simply not coming through no matter what options I try. It always arrives without a trace of the friendly from & reply to address. I also tried setting custom headers like;

$MailMessage->Headers = "Reply-To: new@othermail.com";

But also nothing...

Can someone let me know what could be the issue here, since although this is documented in the MailMessage object, the sample does not use any of these setting.

thanks,
Bastiaan

 

Version

Feb2015

Code Block

Add in to create a contact

$
0
0

Topic by Ujjwal Waghmare

Content

Hi,

I used the following document to create a contact in rightnow using the connect web services for SOAP

http://documentation.custhelp.com/euf/assets/devdocs/february2013/Connect_Web_Services_for_SOAP/Default.htm (Getting Started - .Net)

and it is working fine. I now want to create a workspace addin in the form of a button to add the contact in rightnow. Can someone tell me how to proceed with the same?

 

Thanks and regards,

Apoorva Ramkumar

Version

v1.3

Need to batch UPDATE "contact type" to a specific value based on where clause

$
0
0

Topic by Bruno Aun

Hi there.

I'd like to know Where and how do you go about to perform an UPDATE STATEMENT like this:

(Pseudo code)
Update CONTACTS
SET CONTACT TYPE ="NCHS Employee" (ID=5)
WHERE CONTACT.EMAIL contains "@mch.com"

If it helps, we have Integration Cloud (ICS) and also JDeveloper installed as well

 

Any hint is truly appreciated

Thanks, Bruno


Email Start and End Times for Time on Task (2 Comments)

$
0
0

Topic by Dan M

Content

Hi all, somewhat new to OSC but have been working with SOAP and REST API's over the last few weeks and have made tons of progress. At first I thought the ideal way of getting data was via ROQL but after finding the 'RunAnalyticsReport' function and seeing the power of the report designer, (and the awesome number of included reports), I've been proceeding down the report path. This should open my question to anyone with familiarity with reports, regardless of your API knowledge. 
 
In any event, I need to determine "time on task" for each chat and email processed by an agent. Thanks the to 'chats' table I can get everything I need from there for chats. However, there is no 'emails' table so I've been going bonkers with the Incidents, Threads and Transactions tables. I tried queue stats and various other reports but they dont give me what i need.
 
The incident audit log has basically what I need, new email comes in, gets assigned to an agent, agent sends response. I need to compute the time between agent gets assigned and agent sends response as the time on task. The problem is those dates are off.
 
Here is what really happened:
 
2017-11-14 12:01:50 User sends email
2017-11-14 12:02:40 Agent Accepts Toast Pop Up of Email (Assigned)
2017-11-14 12:03:45 Agent Replies to User and closes Incident
2017-11-14 12:13:15 User re-opens Incident by replying to agents response
2017-11-14 12:15:10 Agent Accepts Toast Pop Up of Email (Assigned as Updated)
2017-11-14 12:15:30 Agent Replies to User and closes Incident again
 
My time on task would be from 12:02:40 to 12:03:45 (1m 5s) plus 12:15:10 to 12:15:30 (0m 20s) for a total of 1 minute and 25 seconds.
 
Here is what shows on the Incident Audit Report
 
2017-11-14 12:01:50 Created
2017-11-14 12:01:50 Queue
2017-11-14 12:03:45 Edit
2017-11-14 12:03:45 Assigned
2017-11-14 12:03:45 Status Changed
2017-11-14 12:03:45 Response Sent
2017-11-14 12:03:45 Sent
2017-11-14 12:13:15 Edit
2017-11-14 12:13:15 Status Changed
2017-11-14 12:15:30 Edit
2017-11-14 12:15:30 Status Changed
2017-11-14 12:15:30 Response Sent
 
Notice I'm missing the 12:02:40 action item and the 12:15:10 action item which is when the agent accepted the emails. For some reason the system is not properly capturing those times even though there seems to be the proper action items of EDIT and ASSIGNED.
 
Anyone have thoughts as to whats happening here or to point me in an entirely other direction for determining time on task. I'm open to any solution. 
 
Thanks in advance, Dan.

Version

Oracle Service Cloud November 2015.

Screenpop Call to Rightnow focus (12 Comments)

$
0
0

Topic by RD

Content

Hi,

I am using the screenpop (http://localhost:57575/screenpop?t=editor&recordType=5&id=23) to open a record in CRM from an external application.

My requirement is that I want to bring CRM in focus on the agent machine when the record is opened.

So, There is a button on my external application where i click and the screenpop get request is fired and opens a record in rightnow. At the same time i want that agent's machine Rightnow should come in at that time.

Any suggestions? 

Version

November 16

C# ReST Create Contact Example (8 Comments)

$
0
0

Topic by Andrew Wooster

Content

Can someone provide a simple example using C# and ReST to create a Contact please?  I am looking for a simple example to help get me started.

-Andrew W-

Version

February 2016

Chat API returns 404 not found : invalid request (1 Comment)

$
0
0

Topic by Mark Mark

Customer Mark Mark via Web04/13/2016 05:40 AM
hi

According to chart documentation i need to consume the getChatUrl service from the interface.custhelp.com...../chat_soap to obtain the chat server url
I did this and got the chat server address.  I then used the authenticate service as detailed in the interface.custhelp.com...../chat_soap?wsdl=UQ and posted the soap to the chat server url received from the getChatUrl service.
When i post the following soap to the chat soap to get the authenticate token i get the message shown at the bottom - 404 not found : invalid request.
getChatUrl returns this chat server address
https://ssbcvipmw02.rightnowtech.com/Chat-WS/services/wschatuq/v0?pool=4297:5

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<o:Security xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<o:UsernameToken>
<o:Username>**user**</o:Username>
<o:Password>**pass**</o:Password>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Authentication xmlns="urn:messages.uq.chat.ws.rightnow.com/v1">
<TransactionRequestData>
<Timestamp>2016-04-04T11:16:21.7900114Z</Timestamp>
<TransactionID>5</TransactionID>
<SiteName>ikeait</SiteName>
</TransactionRequestData>
</Authentication>
</s:Body>
</s:Envelope>

the response was:
<html>
<head>
<title>Web Services</title>
</head>
<body>
<h1>404 Not Found: Invalid Request</h1>
</body>
</html>

Ive tried this on our firewalled network and on a non-firewalled public connection with the same results.
The result suggests the server was found but responded with this message.

does anyone have examples of what i should actually be doing here please

REST API - analyticsReportResults return nested JSON format (5 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

Viewing all 2504 articles
Browse latest View live