on 10-29-2007 6:59 AM
Hi Experts,
How to use EVS control in table column?
Can any one help me?
Please.
Advance Thanks.
Hi Balaji,
Its same like EVS implementation for any input field.For the table u have an input field as editor. Use that input field for EVS implementation.
In case of any queries u can revert back.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
I have set EVS in particular column in table.
My table contains three columns , that are "itemno", "name", "desc". I set EVS for "desc" column.
This is my coding
ISimpleTypeModifiable buildType1 = wdThis.wdGetAPI().getContext().getModifiableTypeOf("tablevalue.desc");
IModifiableSimpleValueSet simpleValueSet1 = buildType1.getSVServices().getModifiableSimpleValueSet();
buildType1.setFieldLabel("WBS Description");
simpleValueSet1.put("10","A");
simpleValueSet1.put("20","B");
simpleValueSet1.put("30","OT");
But when i deploy this application i got the following error
<b>MappedAttributeInfo(Ovs_Comp1View.tablevalue.desc): must not modify the datatype of a mapped attribute</b>
How to resolve this error?
Help me.
Advance Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balaji,
IWDNodeInfo sn=wdContext.<your node>().getNodeInfo();
IWDAttributeInfo attinfo=sn.getAttribute("Cricket"); // "Cricket" is the context node value attribute
ISimpleTypeModifiable mstype=attinfo.getModifiableSimpleType();
mstype.setFieldLabel("Twenty20 World Cup");
IModifiableSimpleValueSet valueset=mstype.getSVServices().getModifiableSimpleValueSet();
valueset.put("India","M S Dhoni");
valueset.put("Pakisthan","Younis Khan");
valueset.put("Srilanka","Jayawardane");
valueset.put("West Indies","Chris Gayle");
valueset.put("Australia","Ricky Ponting");
Best Regards
Chaitanya.A
Hi Balaji,
Try this link:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0e57440-ec1c-2a10-36b1-fe92341f98c4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0e57440-ec1c-2a10-36b1-fe92341f98c4</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Balaji,
go through the following tutorial, you will get a fair Idea of EVS:--
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#54">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#54</a>
regards,
Mithilehwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.