cancel
Showing results for 
Search instead for 
Did you mean: 

EVS - renaming the first column

david_fryda2
Participant
0 Kudos

Hi everyone,

I've done an EVS. It works good.

I do not success renaming the first column which has the name "key".

If I write :

ISimpleTypeModifiable myType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("CompanyCodeContext");

IModifiableSimpleValueSet values=myType.getSVServices().getModifiableSimpleValueSet();

myType.setFieldLabel("Company Name");

This code will rename the decription column but not the key column.

Is it possible to rename the key column ?

Thanks for the help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David,

The answer is "no": this value is static rather then based on type info.

On other hand, there is even a WD bug with second column name: actually it should be columnLabel (and it does not work) rather then fieldLabel.

VS

david_fryda2
Participant
0 Kudos

Hi VS,

Thanks for the quick answer.

For my part, the fieldLabel works good.

Thank you.

Nice day

Former Member
0 Kudos

I know -- fieldLabel works, I checked it myself.

But from WD "philosofy" this should be value of columnLabel (if defined) -- but it doesn't work, and, therefore, I consider this behavior as WD bug.

VS

Answers (0)