on 2012 Dec 12 1:40 PM
Hello guys,
In cFolders we have added a field in the material attributes by modifying the xml file: mat_Attributes.xml. It works great. Now we would like to put several lines in this field.
- 1 ) Is it possible to create a field in xml mat_Attributes.xml with multiple lines?
- 2 ) Is it possible to have many fields but hide them dynamically?
Thanks in advance for your help.
Request clarification before answering.
Hi,
do you want to create a text field or really individual lines?
I think indiviual lines of one field are possible.
See related documentation in Solution Manager, link below:
http://help.sap.com/SCENARIOS_BUS2007/helpdata/EN/9E/192DD0D4F34D9A9EBD657A4BEB4C7A/content.htm
Check the attribute "DisplayLines" of a field:
Only for strings and enumerations. The default is one. If you specify a larger value, an entry field with multiple lines can be generated for strings and a selection box instead of a dropdown list can be generated for enumerations.
Regards, Ulf.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ulf,
We want to have a field with multiple lines.
I found this document too but when I put DisplayLines = "05" or DisplayLines = "5" in my attributes it doesn't change anything in the view of my material.
See here the extract of the mat_Attributes.xml and the screenshot with the result:
<Attribute EntryRequired="false" ID="Plant" Namespace="" >
<Label Alias="CFX_UI/PLANT" Default=""/>
<AllowedValues/>
</Attribute>
<Attribute EntryRequired="false" ID="Class" Namespace="" DisplayLines = "05" >
<Label Alias="CFX_UI/ZCLASS" Default=""/>
<AllowedValues/>
</Attribute>
<!-- <Attribute Namespace="" ID="ManufacturerNumber" EntryRequired="false">
<Label Alias="CFX_UI/MANUFACT_NUM" Default=""/>
<AllowedValues/>
</Attribute> -->
</Attributes>
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.