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

Clearing a custom Field or setting it to zero

$
0
0

Topic by Simon Bourigault

I am currently working with Contact custom fields with SOAP (using the zeep library in Python)

I'd like to update a custom field to the IntegerValue of 0. Unfortunately, this doesn't seem to be possible : I get an error that reads "Expected IntegerValue for property x"

I'm assuming that a value of 0 is equivalent to "no value". Fair enough, I'd be okay with clearing the value of that field instead of setting it to zero. But can't seem to do that either.

 

Anyone faced the same issue ?

Thanks !


Download Cust Object File Attachment REST (2 Comments)

$
0
0

Topic by Steve Flynn

I've found in the REST documentation how to download a file from a standard object, e.g.

https://[site name]/services/rest/connect/v1.3/incident/[incident id]/fileAttachments/[file attachment ID]?download

What I can't seem to do is download a custom object attachment. It returns 'unrecognized resource element: fileAttachments'.

Is this possible with custom objects? Is the resource named something slightly different?

Chat API authentication SOAP request (3 Comments)

$
0
0

Topic by Chakravarthy Elchuri

Content

Hi,

If any one having sample SOAP request for Chat API authentication please post here.

i am getting an error response as

<faultcode>soapenv:Server</faultcode>
 <faultstring>Operation Not Found</faultstring>

 

 

thanks,

Chakravarthy

 

Code Block

Invalid SAML Assertion while trying to call Rightnow Soap WS. Here is the incoming xml for the same (4 Comments)

$
0
0

Topic by Venkat Tanneru

Content

We are trying to integrate third party application to Service Cloud using SOAP over SSL. Third Party application will send Soap Request with SAML Assertion. The certificate for the same has been imported in the Service Cloud and Thumbprint for the same has been updated in Configuration setting. But from the logs it seems that Rightnow is not able to resolve the certificate from thumbprint setup in RightNow.

File

xmlin25042.xml(3KB)

Scheduling in Real time (2 Comments)

$
0
0

Topic by Pramod Vasudeva Murthy

Content

Hi Gurus,

I have been developing a session - like a webinar or a podcast for students to attend. It is driven by custom objects at present.

The problem I am facing is actually scheduling this in real time.

For eg: Assume that a Student opts a session for 4:30 tomorrow. They must get a notification before a day like today at 4:30. 

Is there a way where we can schedule this based on the field of CO? or do we need an actual system which keeps watch of this and sends notifications accordingly?

I was thinking of web services. Is my idea wrong? Please suggest.

Thanks,

Pramod V

 

Version

May 2017

OAuth - Service cloud stucked while acquiring token using .net addins

$
0
0

Topic by Vijaya

Content

Hi

On button click I need to Acquire Access token and using that token. Have to make Rest APi calls.

While acquiring the token itself the service cloud stucked and unable to perform any operation. I

Attached code please provide me a solution.

ThanksInAdvance.

Code Block

Menu Data Type (7 Comments)

$
0
0

Topic by midu

I created a report so that we can retrieve two values from a product hierarchy. But the only options in the filter was to have a data type menu. I was wondering how would I be able to set these values in code using C++ so I can retrieve the id I need?

Using Analytics Report Filters in REST API (9 Comments)

$
0
0

Topic by Nishi

Content

Hi All,

I am executing an Analytics report using REST API with two filters: Contact ID and Category Hierarchy. I am providing the name and values for the filters and the report output is coming but the count of records is zero. However If I execute the same report in agent desktop i can see the count is positive. Below is the code of request for report and attached is the report definition. Is there any parameter for filters that I am missing? How do we combine the report filters in REST API ? Any help would be greatly appreciated. Please excuse my lack of brevity as I am new to REST API.

Thanks,

Nishi

 

Version

Nov 2016

Code Block

File

Report Definition.xlsx(11KB)

Product Filter in Report through Soap or Rest (3 Comments)

$
0
0

Topic by RD

Content

Hi,

I need to access a report through Soap or Rest.

I need to pass a filter of multiple Products to the report. In the report, i am only able to create a product hierarchy filter.

How to pass values to product hierarchy filter through soap or rest???

Any suggestion?

Version

November 16

REST API - Is it possible to fetch phones (phone number) for all contact? (1 Comment)

$
0
0

Topic by Manoj Kumar Govindarajan

Content

Hi,

Using REST API, I want to check whether phone number exists in Contact Object or not

For particular contact ID I can fetch phone number by using following REST API (Here contact ID is 4) but in my case I want search for whole contacts

https://<instance>/services/rest/connect/v1.3/contacts/4/phones

or

https://<instance>/services/rest/connect/v1.3/contacts/4/phones/{phone_id}

Is it possible to fetch phones for all contact? (Without giving any contact ID)

Version

v1.3

Issue with Retrieving Previous value. (1 Comment)

$
0
0

Topic by vijay kalidasan

Content

Hi Team,

We have a custom PHP that sends out a mail when severity of an incident is changed. When we try compiling the code , we are unable to retrieve the previous value of the severity to compare it with the current severity value.

We are executing the CPM synchronously.

Error Thrown :   Line 31 : Trying to get property of a non object 

Version

Service cloud

Code Block

Image

field reason on the incident screen (2 Comments)

$
0
0

Topic by Marcelo Peralta

I need to get the value of the field reason, example Low -> "internal use".
Currently with a REST query I get CatId, but I do not see the text.

How can I get it to the text?

Power BI Integration on Angular

$
0
0

Topic by Amar Bl

Hi,

I have tried to integrate Power BI into my angular 1 app. I have used

<powerbi-reportembed-url="selected.url"access-token="accessToken"id="selected.id"></powerbi-report>

to integrate power bi report.

I have made an API calls to get the access token and embed Url and passed those to above element.

I am getting following output :

This content isn't available.
Learn more about Power BI.

I don't know why I am getting this. I couldn't find proper documentation in Microsoft power community. Please help me out.

Thanks

 

Edit native fields of Rightnow with Addin (1 Comment)

$
0
0

Topic by Marcelo Peralta

Hello, my query is as follows.
How can I edit the "Summary" field of the Opportunity screen with an Addin .NET.
To modify custom fields, I have no problems: Example: IOpportunity genObj = (IOpportunity) _recordContext.GetWorkspaceRecord (RightNow.AddIns.Common.WorkspaceRecordType.Opportunity);
IList <ICustomAttribute> fields = genObj.CustomAttributes;

How do I do it with Rignow's own fields?

Thank you so much.

Getting all Incident Threads in one call via REST? (7 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

get the category id of an incident (2 Comments)

$
0
0

Topic by Marcelo Peralta

Content

Hello everyone.
I need to get the id of the incident category. The route that I see is Incident -> Category -> links

How do I get the id of the category or at least the href?

From already thank you very much

Image

CPM test failure: "Undefined variable: object" (8 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)

Chat API authentication SOAP request (10 Comments)

$
0
0

Topic by Chakravarthy Elchuri

Content

Hi,

If any one having sample SOAP request for Chat API authentication please post here.

i am getting an error response as

<faultcode>soapenv:Server</faultcode>
 <faultstring>Operation Not Found</faultstring>

 

 

thanks,

Chakravarthy

 

Code Block

Run a script after a data import wizard has finished (2 Comments)

$
0
0

Topic by JJ

Hi,

We have a data import wizard for a custom object. Runs fine.

Separate from this, we have a widget which loops through each record and performs various things and then updates a field within this custom object. Runs fine.

Yes - we *could* look at doing all this from within the excel via VBA... but we have RightNow, right here, right now!

So my question is whether we can run the script automatically after the data import wizard has completed. Would custom processes come into play? How would I trigger any script after a data upload has taken place? Would it done after every row change or can I do it once it finishes?

RightNow FTP (2 Comments)

$
0
0

Topic by raj

Hi,

We are trying to push data into RTN from a local FTP site at custom intervals any idea how this can be done ?..

Appriciate any comments

 

 

Viewing all 2504 articles
Browse latest View live