Topic by VIP
Content
Hi All,
Is there a way to auto-create an Incident? For Eg: Assume that Customer has a follow up task of maintaining Servers monthly or Weekly AC maintenance.
- VIP
Topic by VIP
Hi All,
Is there a way to auto-create an Incident? For Eg: Assume that Customer has a follow up task of maintaining Servers monthly or Weekly AC maintenance.
- VIP
Topic by Mohana Gopal Selvam
Hi Gurus,
I have tried to get the incident createdtime in CPM. When I print the field it returns some numeric value. But same value print correctly in ROQL.
Let me know how to store it in correct format.
My code:
$date = $inc->CreatedTime;
print("\nCreatedDate".$date);
Thanks,
Mohan
Sample output:
---------------------------
Test Error
---------------------------
CreatedDate: 1453713418
---------------------------
OK
---------------------------
Topic by Harriet Laker
Hi,
I have a script that currently encodes a csv file to UTF-8:
// CONVERT ALL TO UTF-8
$file = "/tmp/contact_import/data/Contact_Data_".date("dmY").".csv";
file_put_contents($file, utf8_encode(file_get_contents($file)));
// CONVERSION COMPLETE
I want to change this encoding to Western Europe (Windows), is there a function for this or would I just use the following:
// CONVERT ALL TO Windows-1252
$file = "/tmp/contact_import/data/Contact_RN_Data.csv";
$file = mb_convert_encoding($file, 'Windows-1252');
// CONVERSION COMPLETE
Thanks!
Topic by Rajan Davis
I have a report with a filter for incidents created. I want to know how to query the report using the incidents created filter such that I can query the report for all incidents created between two datetimes.
I know how to run a ROQL query for this information as well as how to pass query information into a filter, just not sure how to pass in a date range into the filter to run the report. I pseudo coded it below, just need to know how to do pass in the values and set the operator to 'between'.
Topic by Mike
When trying to update 1 field in 933 objects
Cannot save/update: Answer(ID=220):
DB API ErrorWhile performing update on Answer
I found the below link and it suggests there is a problem on the server side:
http://communities.rightnow.com/posts/01a2c81744
Topic by Pavansatish Annavarapu
Is there a way to programatically add a new value to menu type field? For say, I have a contact custom field of menu type with values A, B and C and if I want to add a new value D to you it.
Regards,
Pavan
Topic by jraynor
I am trying to set an Incident Channel to Email using an Add-In created in .NET. Within the RN environment, if I go to Configuration, Service, Channels, I can see the ID number for each channel by placing the mouse over them, but not all of them seem to match. For example Email is supposed to be 9, but this one does not work and defaults to Phone, Store is supposed to be ID 1003, but somehow Chat is found at Channel ID 1003 instead (Chat should be ID 8). Am I looking for in the wrong place for Channel IDs? Or is there a better way for this? Code snippet provided
Topic by Stephanie Kaleva
Oracle Service Cloud Ask the Experts Webinar
Wednesday, February 24th @ 8 a.m. PST/11 a.m. EST
Join Roderick Peace, Service Cloud Integrations and Accelerators Product Manager, as he dives into how customers are migrating to real time design patterns for external data and how you can leverage concepts from the Accelerators in your projects today. During this webinar, Roderick will talk about:
User level: moderate
About the Presenter:
Roderick Peace is the Product Manager responsible for the Oracle Service Cloud Accelerators (Open Source Reference Integrations to things like Siebel, EBS, and SFDC). Prior to joining the Service Cloud PM team, Roderick lead the global technical architecture team for RightNow professional services. His background includes everything from developing large scale database and interactive marketing initiatives for United Airlines to managing the teams that built theatrical campaigns for Twilight, Inception, and Avatar. Roderick has been with Oracle for the past 5 years and is based in Bozeman, Montana.
Topic by RD
When we use SendMailingToContact, does it get recorded in the incident audit log as 'Mailing Sent'?
I used this function from CPM(Process Designer) but nothing gets updated in the audit log of incident.
Topic by tsans
I have been accessing an Analytic Report using RunAnalyticsReport via Connect Data Services/C# for several months without issue. The report has 2 datetime parameters (> and <=) to limit the results to a specific time frame and options of the report are set to use “Time Zone = Same as Interface” and when I run the report via the user interface everything is fine. However, when I pull the report via Connect the data returned looks as if the requested date range was passed as UTC.
Anyone have any idea why this change occurred and/or how to fix it?
Thanks,
Todd
Version: August 2015
Topic by Pradeep Chandolu
Hi there,
I have a question related to this discussion thread: JavaScrip API for System Attribute of type menu
How can we set the system attribute of type Integer using JavaScrip API. I am trying below code but its not working for me:
window.external.Contact.SetCustomFieldByName("CO$PurchaseOrder",2);
I tried in many ways but it did not worked for me.
CO$PurchaseOrder(relationship column) is system attribute of type "Integer".
Thanks in advance for the help.
Topic by Mike Waldron
Here's something I figured out that I thought I'd share with the community.
I have a filter on a report that's "incidents.disp_hierarchy in list" that I was having difficulty setting a value for in my SOAP client. It's "filter3" in the code block below that causes the problem: when it was excluded, everything was fine; when it was included, I was getting the exception
System.ServiceModel.FaultException`1 was unhandled Message=Cannot run AnalyticsReport: T&SItemAPITest(ID=104586): REPORT_ERROR_VIEWS_ENGINE
After flailing around for a while, I found the following note in the documentation (How Do I ... ? > Working With Reports > Working With Report Filters): When identifying Menu items, do so by ID instead of by name.
Ah-hah. Changing filter3 values as follows:
filter3.Values = new String[] { "220", "221", "222" };
fixed the problem. I was assuming I could use a lookup name for this, but in this case that didn't work.
Topic by Saniya Zahid
I am making a .net application which is a contact form. all data (contact fields and contact custom fields) is saving except Area field. Area is a lookup object search field in contact (Area custom object, relation: area is parent and contact is child)
I need help to get that area field
Topic by VIP
Hi All,
I need to send an email on completion of form registration. I tried to do this using business rules but unfortunately my requirement deals with custom objects which cannot be used in biz rules.
I tried using Public Mail API but instance is of Feb 2014 version and wont be able to avail Public Mail API services(because it is enabled after Aug 2014 version).
Is there a way to send emails to Contact OOTB without above services? I had following things in mind as a work around - Need to know if these are feasible or valid?
Please share your thoughts.
- VIP
Topic by Nishi Jahagirdar
Hi All,
I am using an outbound service to send values to an EBS application from Service Cloud. My request consists of limited values and remaining fields will be null. The problem is I can't send null values to the web service for int/decimal/double fields and getting an error as 'Input string was not in correct format'. I tried using 'Nullable<fieldname>' as well as 'datatype?' in Reference.cs file for these three fields, but it didn't help. All the remaining fields are in correct format. I would appreciate if anyone could help me out here to resolve the issue.
Thanks,
Nishi
Topic by Harriet Laker
Hi,
Is there a way to retrieve the last logged in date of a contact?
A customer wants to disable contacts that haven't logged in for 90 days - is there a field or a query I can call to get this information?
Thanks
Topic by Nils Gotzhein
Hi,
when synchronizing our legacy Customer Database into RightNow using "Connect Web Services for soap" we come to a point where we want to merge two Contacts belonging to the same person into one. By "merging" we mean to transfer all the Incidents, Tasks, Opportunites and FileAttachments associated to one customer account to the other and then deleting it after.
Moving Incidents, Tasks and Opportunites does work, however I have no clue how to sync the FileAttachments. Here is what I tried:
- get the Contact object of the "source" contact (using Get)
- get the Contact object of the "target" contact (using Get)
- copy the FileAttachments property from the source to the target Contact
- synchronizing the target Contact to RightNow using Update command.
I reviewed the outgoing SOAP-Call, and it clearly contains information about the File which is supposed to move (no Data of course, just meta data like name, size and mime type). The SOAP-response indicates no errors. Yet my attapmt to move the FileAttachments have absolutely no effect. The files remain in their original accounts after the Update call.
Another idea would be to first download all attachments from one account and then to upload them to the other. But then I have no idea to upload files using the SOAP API, and it would also cause unnecessary overhead.
We are using RightNow CX November 2011
Is there any way to move those FileAttachments between Contacts?
Topic by Roy
I've given up on trying to populate a custom object, instead we are now trying to fill a custom field... but for some reason the DataValue field isn’t being populated. Here is my code:
$generic_namespace = 'urn:generic.ws.rightnow.com/v1_2'; $GenericField3 = new RNGenericField(); $GenericField3->name = 'customfield'; $GenericField3->dataType = 'STRING'; $DataValue3 = new RNDataValue(); $DataValue3->StringValue = '1234567890'; $GenericField3->DataValue = $DataValue3; $genericObject3 = new RNGenericObject(); $genericObjectType3 = new RNObjectType(); $genericObjectType3->TypeName = 'IncidentCustomFieldsc'; $genericObject3->ObjectType = $genericObjectType3; $genericObject3->GenericFields = array($GenericField3); $genericFields = new RNGenericField(); $genericFields->name = 'c'; $genericFields->dataType = 'OBJECT'; $DataValue4 = new RNDataValue(); $DataValue4->ObjectValue = $genericObject; $genericFields->DataValue = $DataValue4; $genericObject = new RNGenericObject(); $genericObjectType = new RNObjectType(); $genericObjectType->TypeName = 'IncidentCustomFields'; $genericObject->ObjectType = $genericObjectType; $genericObject->GenericFields = array($genericFields); $genericObjectNS = new SoapVar($genericObject,SOAP_ENC_OBJECT,null,null,'CustomFields',$generic_namespace); $Incident->CustomFields = $genericObjectNS;
This results in the following XML:
<ns1:CustomFields xsi:type="ns2:GenericObject"> <ns2:ObjectType> <ns2:Namespace xsi:nil="true"/> <ns2:TypeName>IncidentCustomFields</ns2:TypeName> </ns2:ObjectType> <ns2:GenericFields dataType="OBJECT" name="c"> <ns2:DataValue/> </ns2:GenericFields> </ns1:CustomFields>
When I looks at the documentation I can see DataValue should contain an ObjectValue. As you can see, when I give the DataValue a property called ObjectValue it is simply ignored… I tried explicitly setting namespaces and types, but to no avail.
Does anyone have an idea on how to set a custom field in RightNow using PHP SOAP?
Topic by Baljeet Singh
Hi,
I have report which has some search date range filter. I want to get incidents which are created between two specific dates or transactions.created. I have two filters
When I run this report with search filter values then I am getting this error message.
Cannot run AnalyticsReport: SA Incident moved to another queue hourly(ID=104770): REPORT_ERROR_EXCEEDS_TIME_THRESHOLD
$status_filter = new RNCPHP\AnalyticsReportSearchFilter;
$status_filter->Name = 'TimeRange';
$status_filter->Values = array( '1457009241','1457005641' );
$Operator = new RNCPHP\NamedIDOptList();
$Operator->ID = 6;
$Operator2 = new RNCPHP\NamedIDOptList();
$Operator2->ID = 4;
$filters = new RNCPHP\AnalyticsReportSearchFilterArray;
$filters[] = $status_filter;
$ar = RNCPHP\AnalyticsReport::fetch( $report_id);
$arr = $ar->run( 0, $filters );
$nrows = $arr->count();
Anyone has an idea how to fix this issue?
Thanks in advance !!
Regards
Baljeet Singh
Topic by Rodolfo Noviski
Hello, I am making a request to the web service using Java. I have a custom field with datatype DateTime. When I run the application with the following date '8/11/2012 15:53:44' when it appears in the system with the following date '8/11/2012 1:53:44 PM'. The system is set to the current time zone in Brazil and in your being rotated the java application is also to schedule time in Brazil.
The following piece of code I'm using to convert the date:
Has anyone experienced this?
Any idea how to solve?
Thanks