Topic by Chun Yu
Hi there
Where can I find the list of StateorProvince Id and Country Id? It is because when I run a query, I need to provide an ID instead of State such as "NY" in the query.
thanks
Chun
Topic by Chun Yu
Hi there
Where can I find the list of StateorProvince Id and Country Id? It is because when I run a query, I need to provide an ID instead of State such as "NY" in the query.
thanks
Chun
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
Topic by Anusha Bhujun
Hello All,
I have to develop an application (ASP.NET) to update 3 custom fields as per user selection for Opportunity using SOAP webservices.
These fields are all on the opportunity table and are as follows:
1. Lead Source
Opportunity.c$LeadSource
Column name: lead_source
Type: Plain Text
2. Campaign Code
Opportunity.c$CampaignCode
Column name: campaign_code
Type: Plain Text
3. Source Detail
Opportunity.c$SourceDetail
Column name: source_detail
Type: Plain text
Can you please advise how to access the values of these fields using SQL query and the code on how to do the update on these custom fields?
Many Thanks.
Regards,
Anusha
Topic by Abdul Attarwala
can somebody help me in finding the complete list of classes available in PHP connect API.
kind regards.
Topic by Benjamin Donkersloot
Hi !
Can someone help us with some sample XML for creating a staff account?
We currently have the following:
We get the following answer:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Sender</faultcode>
<faultstring>Data element in the Message is NULL</faultstring>
<detail>
<fault>RightNowSyncService|urn:wsdl.ws.rightnow.com/v1_2 failed
Found out-of-order or unrecognized node ID|urn:objects.ws.rightnow.com/v1_2 while parsing node of type NamedID|urn:base.ws.rightnow.com/v1_2
Failure in setting value for object Account element Profile of type base_ws_rightnow_com_v1_2::NamedID
Failed in constructing object CreateMsg : NULL input can not be deserialized
Failed in setting value for element RNObjects array position 0 of object CreateMsg
Failure in setting value for object Create element Create of type messages_ws_rightnow_com_v1_2::CreateMsg
NULL returned from the Create deserializer due to missing or invalid XML</fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Can someone help us figure this out?
Thanks!Benjamin
Topic by ilamukky
Hello :)
I have a Custom Object "test_object", child of Answer object, in relationship with it by "test.object.ans_ID" field.
I need to retrieve the "test_object" records related to a certain answer_ID, in particular the field "test_object.version".
What is wrong in these queries? In both cases I obtain the error "Selected column is not an object: version".
Many thanks
String queryString1 = "SELECT CO.test_object.version FROM CO.test_object WHERE ans_ID = '" + answerID + "';"; String queryString2 = "SELECT CO$test_object$ans_ID.version FROM Answer WHERE ID = '" + answerID + "';";
Topic by Jonathan Schmalzle
In order to call external web services from the Connect PHP API, the nusoap library has been used. Because of a security vulnerability affecting SSL v3.0 (Poodle), RightNow is disabling the use of SSL v3.0. Is there any way to make nusoap use TLS v1 and above or does anyone know of any alternatives for calling external web services from the Connect PHP API?
Thanks,
Jonathan
Topic by MONCY S
I have created an incident workspace. When I tried to save it, I get the following message: "Send on Save Warning"This workspace is using an Incident Thread control whose permissions are set to "Allow using Send on Save." However, the current interface does not allow you to send responses. This will result in a scenario where agents will be able to check "Send on Save" but a response will not be sent due to the settings in the interface. To avoid this confusion you can change the Incident Thread control's permissions so it will not allow Send on Save. Are you sure you want to save this workspace?
Could find a solution to the above issue in the following link:
https://cx.rightnow.com/app/answers/detail/a_id/6169
As per the above solution, tried enabling the message template features:
Still not working!!!
Any idea how to solve this.
- Thanks
Topic by Bishnu Paudel
hi all,
I am trying to create new record in a custom object whose one of the fields is of type date. In the code below, $preference is a new custom object instance. After running the code, new record is created but the value of the field offer_date stored in the record is 14/01/1970.
Thanks,
Bishnu
Topic by Denise Meehan
I'm not a programmer, but am working with a partner on an integration.
We are trying to pull an Organization record using a custom field that is a unique identifier.
We are using : Query: SELECT O.CustomFields.c.entity FROM Organization O WHERE entity = 5555
We are getting an organization record, but we are getting one with an Org ID of 5555 and not the organization with the entity number of 5555.
Any advise would be greatly appreciated. I think we are on the right track, but missing what it takes to get the entity number and not the org id.
Thanks, Denise
Topic by Darryn Kidd
I need to query these tables, but it doesn't look like they are in the common object model. Any reason why they aren't, and what can I do to query them without going through the analytics interface?
Topic by Bharath Duggirala4439
Hi. When I try to post the following SOAP request, I receive, 500 Internal server error.
The SOAP request looks like a valid one to me.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header>
<ClientInfoHeader xmlns="urn:messages.ws.rightnow.com/v1">
<AppID>GetMeta Data</AppID>
</ClientInfoHeader>
<Security
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>username</Username>
<Password>password</Password>
</UsernameToken>
</Security>
</Header>
<Body>
<GetMetaData xmlns="urn:messages.ws.rightnow.com/v1"/>
</Body>
</Envelope>
Error message:
...Received Http Code:500 from castiron1005.rightnowdemo.com...
SEVERE: SOAP fault: <?xml version="1.0"?>
<SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:InvalidSecurityToken</faultcode>
<faultstring>Error in the Username token.</faultstring>
<detail><wsse:ProblemSecurityHeader xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:UsernameToken</wsse:ProblemSecurityHeader>
</detail>
</SOAP-ENV:Fault>
...SEVERE: faultData: <?xml version="1.0"?>
<wsse:ProblemSecurityHeader xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:UsernameToken</wsse:ProblemSecurityHeader>
When I loaded the RightNow wsdl into SOAP UI and create a sample request, for GetMetaData API call, the only difference I see is the soapenv namepsace prefix in the request. Appreciate any pointers.
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 Amala Vijayan
Hi All,
I have accidentally deleted a contact.Is there any possible way to restore it??
Thanks in advance,
Amala
Topic by John Waller
I've basically been beating my head against a wall, trying to learn how to do this w/ batching code that was adopted by my group.
Effectively we have a contact with stock and intermixed custom fields that get updated in mass by a delimited file that has a processor that interfaces with the Oracle RNT API. This uses the Contact object and obviously has to use the GenericField and GenericObject objects to assign custom fields and update their associated values.
There are also inserts that get determined by an ROQL query against the Contact structure (select Contact from ... ) with a statement where on Login (aka MemberId in our word) and/or email. I have to build some logic around this - but I'm really stuck on how to actually develop a method for doing it. I have all my file I/o in place to pull / poll for the file and the lookup code for what has ContactId for UPDATES, but the actually update syntax and insert syntax are rather diluted in the documentations on "How do I ..." stuff.
Can anyone provide me a straight forward C# block of code that takes a CSV delimited line .. breaks it up, and does an update / insert of the Contact object + custom fields? I'm sooooo lost right now.
RDBMS is my second language to English and I am an Oracle 9i certified developer. The Object based updates are just killing me.
Help!?
Ref Documentation:
Topic by jtazelaar
We are trying to set the value of a custom field for an organization. The custom field name within the Oracle RightNow admin interface is URL, and the column name is url (lower case). We are using May 2012 version of ORN.
The XML request is attached, as is the console error information.
Topic by Magiva
Basically i have incidents and a custom table that has a set of values but its not related to the incidents table as id want to be able to associate based on a condition so ive decided to show the associated data in a report based on a custom script to lookup the data based on my condition.
I need to build a report that has the incidents table on, the script needs to get the data from the custom object and then lookup a value from the $row, im basically asking if date_created is between 2 dates in each of the rows on my custom object, if so get column 3 field data and show on report.
My question is how do i get the rows from the custom object such as Package\Object
My thought process was something like this but i dont seem to get anything
(any ideas on doing this outside of custom scripts first that i can inspect somehow would also be very helpful)
Topic by Enzo
I would like to send an email when updating a custom object field value (in case the value is above a threshold a notification should be sent via email).
The idea is to use the process designer, so I am looking for a sample code.
I was thinking to use the MailMessage class as explained at the URL below:
http://documentation.custhelp.com/euf/assets/devdocs/august2014/Connect_PHP/Default.htm
but trying it I get the following Fatal php error:
Class: '\RightNow\Connect\v1_2\MailMessage' not found
Topic by Johannes Helbig
Hi,
We would like to update existing email adresses of users through a Soap call. When executing the XML, i'm getting the error below.
Error:
<fault>RightNowSyncService|urn:wsdl.ws.rightnow.com/v1 failed
Found out-of-order or unrecognized node Emails|urn:base.ws.rightnow.com/v1 while parsing node of type Account|urn:objects.ws.rightnow.com/v1
Failed in constructing object UpdateMsg : NULL input can not be deserialized
Failed in setting value for element RNObjects array position 0 of object UpdateMsg
Failure in setting value for object Update element Update of type messages_ws_rightnow_com_v1::UpdateMsg
NULL returned from the Update deserializer due to missing or invalid XML</fault>
Could you say what goes wrong?
Topic by Leonardo Barbosa
Hello all,
I need create a Iframe on RN with 2 buttons ("create" and "edit")
The button "create" call a external website through Iframe with a URL that we need
The button "edit" call a external website through Iframe with a specific parameters
This is possible? I think create a API is the best way to make this.
Someone can help me?