cancel
Showing results for 
Search instead for 
Did you mean: 

must not modify the datatype of a mapped attribute - DropDownByKey

Former Member
0 Kudos

Hi,

Iam dynamically popualting dropdownbykey in my view, whose context is mapped to the component context using,

IWDAttributeInfo attributeInfoTemplate = wdContext.nodeV_Output_Get_Templates().nodeV_Templates_Admin_Get_Templates().getNodeInfo().getAttribute("Template_Id_Descr");

ISimpleTypeModifiable templateType = attributeInfoTemplate.getModifiableSimpleType();

templateType.setFieldLabel("Template");

IModifiableSimpleValueSet valueSetTemplate = templateType.getSVServices().getModifiableSimpleValueSet();

During runtime it says "cannot modify the datatype of a

mapped attribute".

Could you please help?

Thanks,

Dhanya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hi Dhanz

Please could you share your answer. I have the same error during runtime

Former Member
0 Kudos

Hi,

Don't try to change the datatype in the view but in the component controller.

Jeschael

Former Member
0 Kudos

Hi J.V. what do u mean by Don't try to change the datatype in the view but in the component controller.??