Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
Do Internal API(Direct SQL) calls will work in CP3? — 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

Do Internal API(Direct SQL) calls will work in CP3?

Accepted answer
13
Views
6
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 6 comments

Content

Hi,

We are in the process of migrating CP2 to CP3 and while analyzing the Custom widgets/Models, we found that some of the files use Direct SQL API like the below code:

I heard from someone that the above will still work in CP3 and there is no need to convert to Connect PHP format....anybody confirm this please

~TSKMJK

Code Snippet

             $sql_form_id = "select cf_id, visible, required from ps_cf2dynamic_form 
                              where form_id = (select form_id from ps_prodcat2dynamic_form 
                                         

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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