cancel
Showing results for 
Search instead for 
Did you mean: 

Customize the header of EVS

Former Member
0 Kudos

Hi all,

I have implemented the EVS ..its working fine but on the table which comes up I am not able to change the header of the 2nd column.It is coming up as <b>display Text</b> by default. I want to customize that one.is there any way to do that.

I have implemented this code:

IWDAttributeInfo attributeInfo =wdContext.getNodeInfo().getAttribute(

IPrivateDoc_CreatView.IContextElement.EXTENDED_VALUE);

ISimpleTypeModifiable type = attributeInfo.getModifiableSimpleType(

<b>type.setFieldLabel(" Document Type");</b>

IModifiableSimpleValueSet valueSet =

type.getSVServices().getModifiableSimpleValueSet();

for (int i = 0; i < 40; i++) {

valueSet.put("Key_" + i, "Country" + i);

}

Here I can set the field Label but I am not able to set the header of the Other Column.

Please help me out.

Thanks In advance

Gurmat Bhatia

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I am having one more problem besides this one.I need to fetch the description of the selected Key.Is there ant way to do that.

Please help me out. I am stuck.

Thanxs in advance

Former Member
0 Kudos

Hi

Have you tried

IWDAttributeInfo attributeInfo =wdContext.getNodeInfo().getAttribute("S");

ISimpleTypeModifiable type = attributeInfo.getModifiableSimpleType();

IModifiableSimpleValueSet valueSet = type.getSVServices().getModifiableSimpleValueSet();

valueSet.getKey(arg0)

valueSet.getText(arg0)

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

But I hav to fetch the description of the selected key, wat to pass as arg0??

gurmat

Former Member
0 Kudos

Hi,

Key returned from the EVS

REgards

Ayyapparaj

Former Member
0 Kudos

Hi,

This seems to be a limitation

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyaparaj,

Thanks for responding.

But in SDN I hav seen one screenshot of EVS and in that table the header was not <b>display Text</b>, it was customized one. I was not able to trace how it was there.

Regards,

Gurmat