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

Problems with insert/update data into a custom menu field with a custom PHP

Accepted answer
13
Views
3
Comments
edited Oct 26, 2017 3:07PM in Integrations and APIs 3 comments

Content

Hi all,

I am trying to import a csv file into a custom menu field in Oracle Service Cloud. However, I didn't get sucessful in this operation. I've read some similar topics, but I didn't can do this.

Below are my tentatives:

1.  $at2->CustomFields->ov_canal = new RNCPHP\NamedIDLabel();
  $at2->CustomFields->ov_canal->LookupName = $canalDeEntrada;

2. $at2->CustomFields->c->ov_canal = new RNCPHP\NamedIDLabel();
  $at2->CustomFields->c->ov_canal->LookupName = 'Casos Coletivos';

3. $at2->CustomFields->ov_canal = new RNCPHP\NamedIDLabel();
 $at2->CustomFields->ov_canal->ID = 18149; 

My CSV file contains a field called "Canal de Entrada", which is populated in variable $canalDeEntrada. In the example above, I tried to use the variable value, hard coded (Casos Coletivos) and the ID of this value (18149);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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