cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding datatype, strange behavior

Former Member
0 Kudos

Hi all,

The DC I used now is real weird, I defined a datatype and set some enumeration key-value pair, I want to use it in dropdownlist. I have done this before in other dc, all simple and right.

but this time as usual I deploy the dc, what i found is the depdownlist represent the key instead of the description, and the 'lable for' description is also missing.

I tried in other dc, no problem.

what can i do now?

Regards,

William

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I got it.

If you got this kind of problem, try to put the datatype to a new package.

Anyway, I sovle this problem by this way.

I guess maybe in this package some datatype ruined and affect others, but this is not the important problem, just change the place can solve this wired problem.

Best Regards,

William

Former Member
0 Kudos

Hi William

To which UIElement you have bind that data type

is that an InputFieldUIElement or a DropDownListByKey

you need to bind that to a DropDownListByKeyUIElement,

if you are doing the same. try one more option

TAKE YOUR PROJECT BACKUP

1) Create a New DC Project

2) Navigate throuch the project location in your local drive

3) Replace newly created project's <b>_comp</b> with the old projects _comp folder and deploy again

Hope this will solve your problem

Best Regards

Chaitanya.A

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi Chaitanya.A,

Thank you for your kindly response.

Now I found the simple datatype definition didn;t take effort, this cause the problem.

then I try to write these definition hard-coded, it works fine.

I wonder why the definition of datatype in this is DC take no effert, this may cause other autogeneration problem, I wonder.

I have tried delete gen_wdp, and reload+rebuild, everything. But no effort.

Any ideas?

ps. my ide is 7.0.12

Regards,

William

Former Member
0 Kudos

Hi,

Have you tried repair project from the context menu.

Regards

Ayyapparaj

Former Member
0 Kudos

To Ayyapparaj,

I tried, but no use,.

Someone told me this is because the inconsistence of my DC, then how can I recover the consistence of this DC.

Thanks,

William

Former Member
0 Kudos

anybody encounter this situation?