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

Not able to unset a long text object custom field using a PHP script

Received Response
11
Views
1
Comments

Summary:
Unset a longtext
Content (required):
We have been trying to unset a longtext custom object field using custom process script (php), and the field does not get cleared.
We found the structure for changing a menu field, however there wasn't anything related to long text in the technical documentation.
Below are the attempts we have made so far, with no success:

$parentRequest->CustomFields->CO->auto_standardText = null;
unset($parentRequest->CustomFields->CO->auto_standard_text);
$parentRequest->CustomFields->CO->auto_standardText = ' ';
$parentRequest->CustomFields->CO->auto_standardText = "";
$parentRequest->CustomFields->CO->auto_standardText = " " ;

and

$parentRequest->CustomFields->CO->auto_standardText = new RNCPHP\NamedIDLabel();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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