Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Custom control with ajax callback — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Custom control with ajax callback

Accepted answer
8
Views
2
Comments
edited Jun 20, 2016 5:13PM in Intelligent Advisor for Fusion Service 2 comments

Content

I have created a PHP custom control with 2 fields and a button to retrieve a LOV from SvC and add it to a dropdown on screen. The data retrieval is via an ajax callback to another PHP class using GET. When tested standalone, the ajax "success" callback option executes and the dropdown is populated and this works in both Development and Production mode. However when added to OPA as a custom control, the control displays but the ajax "error" callback is executed. The text of the error is "Internal Server Error".

Is there any security restriction on the use of ajax callbacks in OPA custom controls?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!