CXDev Toolbox 2.0 Now Available

The CXDev Toolbox 2.0 is now available. Learn more about the update from the announcement article, or visit the CXDeveloper Store for more information.

Discussion Board

How to Get Value form a TextInput Widget ?

Posted by Jay on Wednesday, May 7, 2014 - 3:15am
Jay's picture

I am new to Customer Portal. So please excuse the doubts that I'm about to post here.

I've a HTML form under my development/views/pages/CT_Test.php page. In side that page have included two custom widgets.

One was extended form Standard Widget “FormInput” and the other one was extended from Standard Widget “FromSubmit”.

I would like to capture the value entered in the first widget (FormInput) and pass the value to the Second Widget (FormSubmit).

Can anyone let help me out

Thanks in advance.

Agent Chat Session Add-in

Posted by phillip.moon on Monday, April 28, 2014 - 3:23pm

Hi Guys,

I'm wondering if it is possible to create an add-in for the RightNow console that can log and agent in and out of their chat session? The idea is that if they were inactive were "x" amount of time, it would log them out of their chat session. Seems like someone else on the RightNow forum has had trouble getting it going for themselves (http://communities.rightnow.com/posts/5f7a23a5fe).

Any help would be much appreciated.

Cheers,
Phillip Moon

Accessing 3rd party libs in the Portal

Posted by MarkT on Monday, April 21, 2014 - 4:28pm
MarkT's picture

Unable to parse XML response returned by cURL in Customer Portal

Posted by shreyaspandhari... on Wednesday, April 16, 2014 - 3:17am

Hi,

I am unable to parse the response received by using cURL. Having tried all the possible ways to parse the xml response, raising this query on the forum.

Even json object returns NULL, when I try to use json_decode($response);

In addition, it seems CP doesn't support the use of DOMDocument object and SimpleXmlElement() classes as I get the Fatal Error: Class not found.

Below is the code snippet in which I am getting a response but there are issues with the response:

1. The response I am getting is flat text response but not xml, I guess we need to convert the response into xml format using methods like simplexml_load_string($response). But this methods are also not supported in CP. CP version is the latest one and RN version is Feb 14. How to convert the response I get using cURL into xml format?

2. json object get null value in it once i start decoding it (please refer to below code snippet for the same.)

I want to retrieve the particular information from the response like OptyId, Name etc. Really appreciate if anyone can respond to resolve this issue.

Thanks,

Shreyas

wsdl error: phpType is struct, but value is not an array

Posted by shreyaspandhari... on Friday, March 28, 2014 - 11:04am

Hi,
While making a soap call, getting this error (wsdl error: phpType is struct, but value is not an array: see debug output for details). Looking at the debug log and error statement, it seems there is some issue while passing parameters in array to soap call.

Pages

Zircon - This is a contributing Drupal Theme
Design by WeebPal.