Hi All,
I am trying to fetch get all the menu values of a drop down. But I get this error:
ApplicationContext is not set for the request : getNamedValues
Do I need to include anything in my PHP code?
~VIP
Yes Pramod...you need to include as below ...http://documentation.custhelp.com/euf/assets/devdocs/cloud18d/Connect_PHP/Default.htm
--------------------------------------------------------------------------
From August 2017 release, specifying the ApplicationContext field is mandatory for any operation or object in Connect PHP v1.4. The ApplicationContext field is a string having a maximum length of 40 characters.
Sample Code:
$context = RNCPHP\ConnectAPI::getCurrentContext(); $context->ApplicationContext = "Contacts with ID >100";
Thank you, Suresh.
I imagine the same goes with APIs too.
~VIP
Yes Pramod -- But I didnt get chance to work on v1_4 in PHP,, only v1.2 and v1.3. Only in SOAP .Net code i used it and its part of the method or operation signature after clientinfoheader .....but in PHP its to be called seperately
~Suresh
Your browser version is currently not supported.
Please update your browser to the
latest version.
Yes Pramod...you need to include as below ...http://documentation.custhelp.com/euf/assets/devdocs/cloud18d/Connect_PHP/Default.htm
--------------------------------------------------------------------------
From August 2017 release, specifying the ApplicationContext field is mandatory for any operation or object in Connect PHP v1.4. The ApplicationContext field is a string having a maximum length of 40 characters.
Sample Code: