My Oracle Support Banner

E1: AIS: Unable to Add the MO Text in Same Line Using Rest API - updatetext (Doc ID 2631788.1)

Last updated on NOVEMBER 23, 2022

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

When using /v2/file/updatetext Rest API to add the MO Text in E1, while appending the record using the below JSON Input , always rest API call adds the value in next line or adds <br/> tag before adding the text 

Steps to Replicate the issue 
=================

Rest End Point : /v2/file/updatetext

JSON Input: 

{
    "username": "<Username>",
    "password": "<Password>",
    "moStructure": "ABGT",
    "moKey": [
        "1"
    ],
    "formName": "P01012_W01012B",
    "version": "ZJDE0001",
    "inputText": "Text from AIS Service Call - v1 ", --> Called three times
by changing the Value (v2 &v3)
    "appendText": true
}

Result: 

Test MO Text - V1<br/>Test MO Text - V2<br/>Test MO Text - V3 

<br/> line added by each Rest call while updating the MO Text 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.