Topic by Vinicius Silva
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);
The field "ov_canal" is inside Incident package: "$at2 = new RNCPHP\Incidentes\Atendimento2;".
Could anyone help me with this problem?
Thanks,
Vinicius.