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

Event notifications in Rightnow webservices

$
0
0

Topic by Pramod Vasudeva Murthy

Content

Hi Folks,

My team was trying to discover event notifications when a record updates. We were following this post.

We are not sure where to have the SOAP XML hosted. How does the event work?

  • Do we need to hit RN server with given SOAP request so to initialize first?
  • After that do we need to use CPM to drive it?
  • If we use CPM, what is the use of EventNotifications?

If anyone has implemented this, please suggest.

~VIP

Version

17D

REST API access custom business object or is SOAP the only option (1 Comment)

$
0
0

Topic by Justin Lewandowski

Content

Hello,

In reviewing the REST API documentation it looks like I can not get, create or patch custom business objects, is that correct?

Is the  only option to get, create or patch custom business objects from a different server the Connect Web Services for SOAP (Connect Web Services) ?

Thanks

Version

17D

The service was accessed in a non-supported manner. Please use standardized URL to access the... (1 Comment)

$
0
0

Topic by Chris Maggiulli

EDIT: Originally when I tried the new URL https://lathampool--tst2.custhelp.com/services/soap/connect/soap?wsdl=generic it got a 500, but when I tried it again it worked.  Thread is resolved.

 

I remember accessing the standard WSDL through the following bookmarked URL https://lathampool--tst2.custhelp.com/cgi-bin/lathampool.cfg/services/soap?wsdl.  However, I tried to access this today in all three environments and I am getting a 500 error with the message state in the title of this thread.  How do I get access to my WSDL?

Post survey response values to Survey Sessions table without survey link (1 Comment)

$
0
0

Topic by Andy Townshend

Content

My organization is looking to integrate our ticket satisfaction survey experience into our Ticket Detail page.

After a customer logs into their account page that displays all of their tickets, clicking a ticket here opens the Ticket Detail page which displays the message thread and some ticket data.

Currently when one of our agent sets a customer's ticket to solved they are shortly sent an invitation to a survey. Instead, we would like this button to be embedded on the Ticket Detail page once it is set to solved, so that it is available to the customer when reading their answer - this also ensures that they have seen their answer before the option to be surveyed. But when clicking the survey button, rather than refreshing or opening a new page when the button is clicked, we want to expand a section on the current page to show the survey questions. We are aware of how to make the button into a link, but prefer the customer experience of staying on the current page.

 

I am seeking to input their selections to the database using the Connect PHP api, but I couldn't locate anything related to the survey table on the Connect Object Explorer. I know the Question IDs and values I am attempting to send, but can't find the correct tables.

 

Does anyone have any clues as to how to manually write survey answers to the Survey Sessions table without following the survey link and submitting through that?

Version

Customer Portal - Framework 3.6

ROQL to get Home Phone number without a where clause (11 Comments)

$
0
0

Topic by Priya Gopal

Hi All,

Can you please help me to get a Home Phone number of a Contact using a ROQL Column mapping and without a where clause?

Any help is much appreciated.

Thanks,

Priya

 

CreatedTime and UpdatedTime in Account table are blank (2 Comments)

$
0
0

Topic by Simon Kilgarriff

Content

Hi all,

I'm not the most technical so bear with me.   For an integration/SSO solution I need to query the accounts table and pull up a list of account created/edited between a certain time - so i get my delta.   To start with I've built a query to show all accounts:

select name.first, name.last, login, emails.address, updatedtime, createdtime from Account

This is where my problems start.   I'm getting no data returned for updatedtime or createdtime (see screen shot).    If I switch to another table (contact, incident, organization) i get data.   I know the Accounts table doesn't have an explicit created or updated field in it according to data dictionary - however in the agent desktop editing an account and clicking audit log shows there is data present.

I've tried the query on my dev sites and prod in case it was something like that but the result is the same.  I've also tried the query on another version site which is separate and I get the same there.  

Is there something different I should be doing or has anyone got a workaround?  

I appreciate your thoughts.

Simon

 

Version

May 17

Code Block

Image

Does queryResult (Rest API method) escape ROQL queries? (3 Comments)

$
0
0

Topic by William Sando

Hi there,

I am calling: this rest endpoint. We are sending in the following query (url encoded):

SELECT *
FROM Contacts
WHERE Contacts.Emails.Address = '`+email+`' LIMIT 1

Where email is entered by the client as thus potentially dangerous. I've tried escaping any single quotes present in email with another single quote (as recommended elsewhere on the forums), however I get a 400 bad request, so am I correct in assuming that I can defer the escaping and assume the REST endpoint will handle that?


Thanks

Data import of strings with special characters - C# (1 Comment)

$
0
0

Topic by Rejitha T

Hi All,

I am trying to import data to RightNow using REST web service C# code. The data contains special characters like "ç" ."ã", etc. The data is getting imported with "?" in place of special character. I need to insert the data without changing the special characters to RightNow.

Could anyone help me on this.

Thanks in Advance,

Rejitha


ROQL Sentence fetches wrong value

$
0
0

Topic by chidambaram CT

Flag1 & Flag2 is yes/no fields. Default value for flag2 is  'yes' before, now we changed to 'No value'.

I want fetch contact record with below mentioned 2 conditions

Condition 1 : flag1 is yes
Condition 2 : flag2 is no value (Default value) or flag2 is yes 

select ID,Contact.CustomFields.c.flag1,
          Contact.CustomFields.c.flag2 from Contact 
where Contact.CustomFields.c.flag1==1 AND (Contact.CustomFields.c.flag2 != 0 or Contact.CustomFields.c.flag2 == 'null') order by ID

In the above ROQL, even flag2 is equal to zero is also fetched. What is wrong in this ROQL sentence?

I want to automatically update Spam filtering on mailboxes

$
0
0

Topic by David Ritchie

Content

Hi,

I'm trying to figure out if there is a way to update the mailbox filtering options on OSvC.  If I look in the data dictionary I can see the table Mailboxes and it has discard fields such as discard_addrs, discard_body etc.  But when I try and report on this table (well mailbox) these fields do not appear in the list, and they can't be queried using ROQL.  Is this just a case that they have to be maintained manually or is there some way I don't know about where an agent can mark a domain as a spam domain and this list is automatically updated?

Cheers,

Dave

Version

17D

Is ROQL injection possible with single quote?

$
0
0

Topic by William Sando

I am calling: this rest endpoint. We are sending in the following query (url encoded). "email" is sent from users, so potentially dangerous.

SELECT *
FROM Contacts
WHERE Contacts.Emails.Address = '`+email+`' LIMIT 1

Do I need to ensure that email is escaped? I.E we are currently allowing user to input a single quote, could this be used maliciously to achieve ROQL injection?

RightNow call from java using v1.3 results in "Data element in the Message is NULL" message (1 Comment)

$
0
0

Topic by Victor Chirita

Content

Hello everybody, I am noob with RightNow and I am trying to understand what is going on when calling the API to retrieve some data.

I have a simple select query with CustomFields, executed using wsdl 1.3 definition, like this:

        Holder<CSVTableSet>  queryCSV = new Holder<>();
        Holder<byte[]> b = new Holder<>();
        client.queryCSV(queryString, PAGE_SIZE,",",false,true, queryCSV, b);

where query is like this

SELECT C.Emails.Address,
       C.CustomFields.c.Storerefnum,
       C.CustomFields.c.retailername,C.CustomFields.Retailer.contact_name,
       C.CustomFields.Retailer.house_number,C.CustomFields.Retailer.Street1,
       C.CustomFields.Retailer.Street2,C.CustomFields.Retailer.City,C.CustomFields.Retailer.postal_code,
       C.CustomFields.Retailer.Country,C.CustomFields.Retailer.retailer_inbound_service,C.CustomFields.Retailer.phone_number,
       C.CustomFields.Retailer.Billing.Street1,C.CustomFields.Retailer.Billing.Street2,C.CustomFields.Retailer.Billing.City,
       C.CustomFields.Retailer.Billing.PostalCode,C.CustomFields.Retailer.Billing.Country,C.CustomFields.Retailer.Billing.VATnumber,
       C.CustomFields.Retailer.Billing.PhoneNumber,C.CustomFields.Retailer.Billing.BillingEntityName,C.CustomFields.Retailer.Billing.Email,
       C.CustomFields.Retailer.Billing.ContactName FROM Contact C  WHERE Contact.PrimaryContactIncidents.ReferenceNumber = '***-***' AND C.Emails.AddressType = 0

and pagesize = 10;

When the query is run from java, I get: javax.xml.ws.soap.SOAPFaultException: Data element in the Message is NULL

What could be wrong?

 

Version

RightNow Api 1.3

Is it possible to access the value of a column of a table in Agent Desktop? (1 Comment)

$
0
0

Topic by Ioannis Lalousis

Content

So I have made an autocomplete for the KeywordText widget using awesomplete. The thing is I want the results to be in order of which questions are most popular. From what I gathered the static_score or the solve_count in the FAQs(asnwers) Table in Agent Desktop is a way to sort the answers. Is it possible to get those values for each answer? 

P.S. Now I am taking the answers through ROQL and place them in a list which I search through javascript as the user is typing.

Version

3.6.2

Code Block

ICS RightNow connection issue

$
0
0

Topic by Victor Martins de Castro

Content

Hello, I am trying to create a connection with ICS's RightNow adapter but it is not working. After I fill in the WSDL URL, Credentials and click Test, it processes for almost 5 minutes only to return this error message(in portuguese):

Não é possível testar a conexão "INFINITY_TEST". [Cause: CASDK-0001]


CASDK-0001: Ocorreu um timeout ao tentar estabelecer conexão com https://infinity--tst2.custhelp.com/services/soap/connect/soap?wsdl=typed


WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "https://infinity--tst2.custhelp.com/services/soap/connect/soap?wsdl=typed", caused by: java.net.SocketTimeoutException.: java.net.SocketTimeoutException: Read timed out
Read timed out

I have already changed EVENT_NOTIFICATION_ENABLED to 'yes', and setup username and password at EVENT_NOTIFICATION_MAPI_PASSWD and EVENT_NOTIFICATION_MAPI_USERNAME, which are the credential I am using on ICS.

Is there anything I am missing to make this connection work?

Version

Integration Cloud Service

C# code to create an incidents on RightNow (4 Comments)

$
0
0

Topic by SAJI MATHEW

Content

Here I’m sharing the C# code to create incidents on RightNow. I think this code snippet will be helpful for those who wants to integrate 3rd party .Net application with RightNow CRM. 

Code Block

File

createIncident.cs(5KB)

C# Code to create custom object on RightNow (2 Comments)

$
0
0

Topic by SAJI MATHEW

Content

I think most of the developers come across the requirement to integrate third-party application with RN system. Sometimes we might need to create entries in the Custom object. Here is the sample code to create custom object entries in RN CO.

Code Block

File

UpdateEXOrderHistory.cs(5KB)

OSC-CREST-00025

$
0
0

Topic by JJ

Hi,

Recently upgraded to Nov 2017. When we now try and access the REST API, e.g. /services/rest/connect/v1.4/incidents/ we get the following

{"type":"***/services/rest/connect/exceptions/OSC-CREST-00025","title":"Bad Request","status":200,"detail":"Request could not be understood by the server. Please modify your query and try again.","instance":"***/services/rest/connect/exceptions/OSC-CREST-00025","o:errorCode":"OSC-CREST-00025"}

Any reason?

Connect Web Services for SOAP and C# (2 Comments)

$
0
0

Topic by jmastria

Content

I am attempting to use the SOAP service to create a contact in RightNow.  I have looked through the samples and downloaded some sample code and configured my service reference to https://integration-test.rightnowdemo.com/services/soap/connect/soap?wsdl=typed which worked fine.

Now all I want to do is to get my code to compile but the create method is requiring 5 parameters instead of the 3 that came with the sample code.

Even a recent post is showing three parameters for a create method?

http://communities.rightnow.com/posts/649557284e

Anyone know what I need to do to get this to work?

Thanks

Joe

Code Block

CPM Test Harness Functionality (2 Comments)

$
0
0

Topic by Duncan Taylor

Content

I avoided asking this question in here because I had a ticket in with Oracle TS. But I have not received an answer from them so I'm going to ask here.

Does anyone actually know how the Test Harness functionality works? The documentation for this is practically non-existent aside from a tips FAQ.

I'm getting a bunch of errors I have no idea how to fix because I have no idea what the harness is doing. What I'm looking for is an explanation which looks like the following:

"The test harness will first run the setup function.  Next it will loop through run the fetchObject function once. If the return value is an array it will run the validate function once for each value in the array. The cleanup function will be run once after each validate operation. It is passed 1 parameter which is the object which was used in the validate function."

The above is obviously NOT how it works, but I'm hoping someone can correct this based on what they've figured out. 

Version

17D

Is ROQL injection possible with single quote? (4 Comments)

$
0
0

Topic by William Sando

I am calling: this rest endpoint. We are sending in the following query (url encoded). "email" is sent from users, so potentially dangerous.

SELECT *
FROM Contacts
WHERE Contacts.Emails.Address = '`+email+`' LIMIT 1

Do I need to ensure that email is escaped? I.E we are currently allowing user to input a single quote, could this be used maliciously to achieve ROQL injection?

Viewing all 2504 articles
Browse latest View live