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

Get ContactLists grouped by Folders using ROQL (1 Comment)

$
0
0

Topic by Pratik Dabhi

Content

Hi,

Is there any way I can get the ContactList grouped by Folder. 

I have a requirement in an AddIn project to fill in a combo box with the Contact Lists in the folder "2017 Test". The Combo Box should have the values of "TestContactList1" and "TestContactList2".

Please refer to the attached image (contactlist.png).

I tried using ROQL using MarketingSettings on the Contact Object but was not able to get the desired result.

Can any of the members guide me on this?

Thanks in advance.

 

 

Version

Oracle Service Cloud Feburary 2017.

Image


Error while loading the Connect Knowledge Foundation library in a controller (6 Comments)

$
0
0

Topic by Riya Goel

Content

I am getting the following error while loading the Connect Knowledge Foundation library in a controller:

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

Testing Environment Version : Feb 2017

Can someone help me resolve this error?

Thanks in Advance, Riya

Version

Testing Environment Version : Feb 2017

Code Block

REST API record limits

$
0
0

Topic by Kurt Helfrich

Content

We're just starting to use the REST API, and I can't find information on record limits.

We need to GET contact records, and it appears that the default if you don't specify the limit parameter is 1000 records.

If you specify a limit of 200K, you get 1000 results.

It seems reasonable for there to be a hard-coded record limit or a transaction size limit to maintain performance, but does anyone know what it is?

Version

OSvC May 2016

Rest API - Issues with CORS request (8 Comments)

$
0
0

Topic by Jackson Hall

Content

I am trying to query contact information from within our organizations SharePoint site, using the REST API and JavaScript. When I try to run the code, I receive a preflight access control check error (image attached).

After reading this article: http://communities.rightnow.com/posts/d1fe2d90d4, I updated the 'SEC_PAPI_INTEG_HOSTS_REST' setting to include *SharePoint.<site>.com and *.<site>.com; however, I still receive the same error.

Is there additional information that needs to be included in the request headers? Are the domain names in the correct format? Are there any other considerations when making CORS requests?

I've enclosed the JavaScript below.

 

Version

Service Cloud, Nov. 16

Code Block

Image

Rightnow integration with Oracle Sales Cloud

$
0
0

Topic by José LV

Content

Hello everyone,
I am doing an integration of Rgihtnow with Sales Cloud through SOA suite using Cloud adapters, I already have connection on both sides, now I need to make it an Asynchronous communication. By chance someone could guide me

Version

Oracle Service Cloud

Oracle Service Cloud to Oracle Sales cloud integration (7 Comments)

$
0
0

Topic by Pramod Vasudeva Murthy

Content

Hi Folks,

I have tried to synch OSvC and OSC w/o ICS. I am able to successfully create a record from OSvC to OSC using async CPM. However, I am not able to do so w.r.t. OSC.

Every time I end up getting a Timestamp Invalid error or A class must be of RNObject derivative. Following is the post in OSC community(needs OPN login) where my colleague has updated with information. No matter how much ever we try from Sales cloud trigger events(all permutation and combination) we end up having this error.

My speculation is - Is this disabled because to promote ICS as it supports by default or is there any other config setting that needs to be enabled from OSvC end or I am doing something wrong?!?!

Any thoughts are welcome,

ps: I know this is a place for OSvC but if there is any config setting needs to be done to make this work, then I am game.

Thanks in advance,

Pramod V

Version

August 2016

imap_rfc833_parse_headers usable in cp or cpm?

$
0
0

Topic by Cam McMillion

Like the title says, is there a way to make the php function imap_rfc833_parse_headers work in either a cp controller or a cpm? We're getting a function not found error when we attempt to use it.

REST API PATCH method is not working (10 Comments)

$
0
0

Topic by Nishi

Content

Hi Friends,

I am using REST API for Oracle Service Cloud to create and update contacts/service requests. I am able to create contacts as well as service requests but unable to update them using PATCH method. I am referring to the below documentation and using SOAP UI / Postman but somehow its not working.

http://docs.oracle.com/cloud/latest/servicecs_gs/CXSVC/op-services-rest-connect-latest-contacts-%7Bid%7D-patch.html

Please let me know your inputs for using this API. Any help would be greatly appreciated.

Thanks,

Nishi

Version

Nov 2016

Code Block


No JSON response sent back when performing an update method (2 Comments)

$
0
0

Topic by Keerthi Peesapati

Content

Hi ALL,

I'm trying to update a TASK object record using REST API. For updating the record I got around this by using a POST request and then adding the following header: X-HTTP-Method-Override: PATCH.

After this above process able to update the record and getting response code as 200 but response payload is getting blank.

Regards,

shiva

Version

v1.3

Image

ROQL query - issue (1 Comment)

$
0
0

Topic by vijay kalidasan

Content

Hi All,

i want to pull id of last *** reservation records of a custom reservation object that i created. The code i am using is custom process model to pull last 6 records.

$maxbookingtime = RNCPHP\ROQL::query("select id  from CO.Reservation order by BookingTime desc limit 6;" )->next();

   $maxbookingtimeRes =$maxbookingtime->next();
 
The above query returns only one id and how i can modify the query to get last 6 values.

Version

Service cloud

Export Data to Flat File & FTP/Import Flat File from FTP (1 Comment)

$
0
0

Topic by Aparajit Malli

Content

Hi,

   REQUIREMENT 1 - Export Contact/Asset data to flat file (Request.txt - fixed width) and put it in a folder in FTP site, on a daily basis.

REQUIREMENT 2 - Also, on a daily basis, Read data (basically, just Status & Results) from a similar flat file (Response.xt - fixed width) from another folder in the same FTP site and then update Contact/Asset's Status in Service Cloud. 

To implement this, I am planning to do these steps. 

1) Create a PHP file (request.php) which reads the required Contact/Asset data from Service Cloud and create a file. QUESTION - Since file system is Service Cloud is not exposed, where can I place this file? Can I put the file directly in FTP site?

2) CRON job will run the PHP file, on a daily basis. I believe there is no other way of running a batch job every day. 

3) Similarly, Create another PHP file (response.php) to read data from response.txt and update Contact/Asset' Status. QUESTION - Should response.txt be copied to Service Cloud file system before reading it or can it read directly from FTP site?

4) CRON job will run "response.php" on a daily basis. 

 

Is there a better way and more efficient way of doing this? My main question is where to create the request file and where to read the response file from? Am I planning to do something which is plainly wrong or infeasible?

 

Version

Service Cloud May 2017

Integration with Microsoft Power BI (5 Comments)

$
0
0

Topic by Rakesh Das

I need to integrate OSvC with Microsoft power BI so we can push rightnow analytics reports to the BI. Is it possible and what are ways to integrate with BI ?

OFSC TO OSVC Integration using ICS

$
0
0

Topic by shiva kumar

Content

Hi All,

I have business scenario for my integration like I want to update a Activity object record from OFSC instance to Task Object record in OSVC. I have used basic Map my data pattern from ICS, but we are getting issue like.

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.5 404 Not Found.

Below attached the error details.

Can some one help me any documents for OFSC to OSVC integration using ICS.

Image

using fetch to get login (3 Comments)

$
0
0

Topic by vincent fine

I use a CSV to create staff account's in bulk and it works rather well. I am trying to do the same with editing in bulk whether it be manager change or profile change. I have gotten $a = RNCPHP\Account::fetch(); to work but only if I use the account ID. I have tried many different was and cannot think of anything else. Is there any way to get it to search for the login?

Using Max(count(*)) in ROQL (1 Comment)

$
0
0

Topic by Hanna Abi Akl

Hello dears,

I have a requirement to get the count of incidents by customer for every agent on our team and display the "preferred" customer (i.e., the customer that has the highest incident count) per agent. I understand this is a classic limit group by problem. However, I am finding it hard to implement in ROQL.

Here is what I have so far:

- I can successfully return the incident count per customer per agent and display them

But what I am struggling with is displaying just the top customer (and related count) for each agent...and ROQL doesn't allow sub queries. Is there a way to do this?

Any help would be greatly appreciated.

Thanks,

Hanna


Custom process- Insert & update the record at the same time (2 Comments)

$
0
0

Topic by Muthulakshmi Muthaiah

Hi All,

I have a requirement as whenever the incident "Assigned" value changes, it should fetch the details from incident object and insert it to the custom object as a new record & update the existing record.

For example-->Incident has been created and assigned to agent "X". At that time, I have fetched the values from incident and update those values to the custom object as a new record 

  1. Incident creation time --->10/09/2017 2.53AM
  2. Incident update time--->10/09/2017 2.53AM
  3. Assigned agent group/name--->Admin/X 
  4. ref # --10232
  5. Custom object id-1

If the agent "X" assigns the incident to another agent "Y" means, I need to update the existing custom object values of Incident update date alone and also I need to create a new record with the new details as below

  1. Incident creation time --->10/09/2017 2.53AM
  2. Incident update time--->10/09/2017 3.53AM
  3. Assigned agent group/name--->Admin/X 
  4. ref # --10232
  5. Custom object id-1
  1. Incident creation time --->10/09/2017 3.53AM
  2. Incident update time--->10/09/2017 3.53AM
  3. Assigned agent group/name--->Admin/Y
  4. ref # --10232
  5. Custom object id-2

I am able to create a new record whenever the incident assigned field changes but I can't update the existing record date of Incident update time. Kindly give some idea on this.

Thanks,

Muthulakshmi

Restrict the usage of initConnectAPI('Username','Password') in custom scripts. (2 Comments)

$
0
0

Topic by Deepu Kolkkadan

Content

Hi All,

Is there any configuration settings to restrict the usage of initConnectAPI('Username','Password') in custom php scripts by IP address.

 

Thanks,

Deepu

Subject revised by Danette Beal to display correctly

Version

May 2016

PHP to update incident email (1 Comment)

$
0
0

Topic by Dudu Dahan

Hello,

We develop some PHP code in order to support Business Rule,

Rule is the following:

Customer receives an automated email that send from our company email (not related to Oracle), and on the email subject there is the customer email, example:

"9/21/2017 Form - order id, Tom B sadkasdk@gmail.com"

and we would like to copy/replace the customer email from the subject (bold) and put it into the customer/contact email (replace the original system company address email).

 

In PHP code we divide it into 2 parts, first we enter it to custom field (works great) and second part, to enter to the email address (where we are facing the issues).

 

Attached is a sample code for the relevant part: (the bold part is the place where we are facing the issue), thank you for you help.

$text = $object->Subject;
$regex = "/[a-z0-9_\-\+]+@[a-z0-9\-]+\.([a-z]{2,3})(?:\.[a-z]{2})?/i";
preg_match($regex,$text,$name);
$object->CustomFields->c->subject_cf = $name[0];
$contact->Emails[0]->Address = $name[0];

Deployed Add-in not reflecting changes made (10 Comments)

$
0
0

Topic by Jan G.

Content

I'm working on an upgrade site endeavoring to get all the add-ins working.   Started with one of the more basic ones, copying an incident linking it to the same contact with several parameters selected by the user.

My problem is a new incident is created, but not populated with the contact.   I've added multiple message boxes that SHOULD be popping, but are not.  It's as though the new deploy is not 'taking'.   Are there Post Build events I should be using? I removed the ones that were there because the project would not build.    Another thought is that message boxes are suppressed in May 2017 (updating from May 2015).

Any help/suggestions are welcome.

Version

Connect Soap API

Code Block

Aug 17 Soap API APIAccessRequestHeader required (2 Comments)

$
0
0

Topic by Walter Kamp

Content

We're working on a SOAP integration with OSC Aug '17 version and see that since this version we have to send an "APIAccessRequestHeader" as well. We can manage to get it working, but I tried to find information about this in the API documentation, but can't find anything about this new header we have to send.
Anyone having some information about this new 'feature'?

Thanks,
Walter Kamp
WeSquare

Version

Service Cloud Aug 17
Viewing all 2504 articles
Browse latest View live