Symptom
DataType ShortText on XBO is defaulted to TextEdit when extended to a QC, however defaults to InputField on TI.
Environment
- SAP Cloud Applications Studio
- SAP Cloud for Customer
Reproducing the Issue
- Open UI Designer for a Solution
- Go to screen example screen /BYD_COD/SalesOnDemand/Account/UI/COD_Account_TI.TI.uicomponent
- Select a Section Group and click "Add Extension Field to Section Group"
- Add Extension Field of type text and click Apply
- Click Save and Activate
- Select the field on the Designer tab and in Properties, see DisplayType is InputField
When you do the same steps on example screen /BYD_COD/ServiceOnDemand/PrivateAccount/COD_SEOD_ACCOUNT_QC.QC.uicomponent, the DisplayType is TextEdit
Cause
Based on the current design this is expected behaviour. For extension fields of type text in components other than TI (ThingInspector components) a TextEdit control is created.
Resolution
You can embed an EC for more control over the DisplayType of data elements
Keywords
PDI, custom field, SDK, TI, EC, QA, QC, OIF, OWL , KBA , AP-RC-UIF-DT , UI Framework Designtime , How To