cancel
Showing results for 
Search instead for 
Did you mean: 

How can I solve this nested IView / empty dropdown problem?

Former Member
0 Kudos

Hello VC experts,

I've got a VC model with a nested IView that contains drop down lists.

As long as the nested IView was only used in one place, everything was fine.

Then I used the nested IView in a second place, and this caused the following problems: After deployment, the dropdowns were empty in the place where the nested IView was already used previously, in the second place everything was OK. The dropdowns display an empty field, and when I click on them as if to select an item it 'drops down' but again there's just one line that is empty, i.e. white.

Did you experience this before?

How can I solve this?

Kind regards,

Florian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Florian,

Are you using your drop-down as Global? If not try it instead Dynamic or Static.

Regards,

Gilson

Answers (5)

Answers (5)

Former Member
0 Kudos

For now I solved the problem by exporting the IView and reimporting it as a copy. However it causes quite some development overhead because I now have to keep the copies in snych.

Does anybody know of a better idea?

Former Member
0 Kudos

Florian,

when you mentioned using the nested iView in a second place, was this nested iView re-used within the same model? also did you do a copy paste on the nested iView. If so, take note that nested iViews should never be copied using "copy paste". if you do this, you'll notice that they're infact two copies that point to the same entity. Hence you should always make copies using export/import. although a little tedious, its the only workaround we could find. hope this helps

prachi

Former Member
0 Kudos

Hello,

Just had the idea that I could try posting the .gml file in here. Lets see if that works.


<?xml version="1.0" encoding="utf-8"?>
<GMLPACK kit="EP" version="700.11" build="0027" model_name="error_dropdown_nestediview" model_schema_version="1.01" reserved="VisualComposer04"><GMLUNITS><AAA3FUF name="error_dropdown_nestediview" modified="14/01/2008 12:00:37" metadata="LOGLOCATION:" orig_guid="GM127189c0daec11dca6307abae1e458be"><AAD3FUG name="iView 3FUG" parent="AAA3FUF" win_type="SUB" win_scale="AUTO" win_layout="AUTO" win_pattern="STD" win_navigator="STD1" win_caption="true" pos="700 175" author="Public" modified="14/02/2008 12:29:06" orig_guid="GM0c091400daf011dc9e907abae1e458be"><ACA3FUH name="Form1" parent="AAD3FUG" box_style="0" box_features="TTL EDT" box_size="320 160" form_layout="ABS" labels_align="BEFORE" overflow="EXC" pos="550 210" box_pos="8 8" orig_guid="GM0c091401daf011dcbb437abae1e458be" fields="{DD:{type:'10',add:'V',ctl:'8',show:'Y',text:'Dd',dsg:'15',ownEnum:'#ID[AXC3FUK]',useEnum:'#ID[AXC3FUK]',pos:'100 8',size:'120 16'}}"><AEA3FUI name="in" parent="ACA3FUH" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GM0c091402daf011dcbc867abae1e458be"/><AEA3FUJ name="out" parent="ACA3FUH" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="80 15" orig_guid="GM0c091403daf011dcbf157abae1e458be"/><AXC3FUK name="ENUM[ACA3FUH:DD]" parent="ACA3FUH" enumMap="apple:apple;orange:orange" orig_guid="GM0c091404daf011dcb5a97abae1e458be"/></ACA3FUH></AAD3FUG><AAD3FUL name="iView 3FUL" parent="AAA3FUF" win_type="TOP" win_scale="AUTO" win_layout="AUTO" win_pattern="STD" win_navigator="STD1" win_caption="true" pos="435 235" author="Public" modified="14/02/2008 12:29:06" orig_guid="GM0c091405daf011dcaad47abae1e458be"><ACG3FUM name="iView 3FUG" parent="AAD3FUL" box_style="0" box_features="TTL" box_size="680 328" pos="445 200" box_pos="8 8" trg_unit="#ID[AAD3FUG]" orig_guid="GM0c091406daf011dca6c97abae1e458be" fields="{}"/><ACG3FUN name="iView 3FUG" parent="AAD3FUL" box_style="0" box_features="TTL" box_size="680 336" pos="660 200" box_pos="8 344" trg_unit="#ID[AAD3FUG]" orig_guid="GM0c091407daf011dca0567abae1e458be" fields="{}"/></AAD3FUL></AAA3FUF></GMLUNITS><enums/><IMAGES/><TRANSPORTLOG/></GMLPACK>

I think if you save this as 'error_dropdown_nestediview.gml' you could reimport it into your model.

Lets see.

Best regards,

Florian

Former Member
0 Kudos

Hello Marcel, Gilson,

In fact, I could reproduce the error in a minimalistic model.

Unfortunately I can't upload it to the servers because the ports are blocked, but I could send it to you in an email.

I also enabled the error console but this didn't give me any new hints.

Sincerely,

Florian

Former Member
0 Kudos

Florian,

I will simulate your problem this evening. I come back to you tomorrow.

Regards,

Gilson

Former Member
0 Kudos

Hello Jilson,

Thank you for your fast reply.

I had been using 'static' when it happened. When I was trying to track down the problem I also tried 'global' but with the same effect.

'dynamic' doesn't work, as far as I know, because the system is running SPS 11.

Unfurtunately we can't upgrade to any newer SPS version at the moment

Best regards,

Florian

Former Member
0 Kudos

Hi Florian,

a static list should always filled. Anyway, can you verify that the dropdown is filled by a data service? Also use the flash debugging console to check if the dropdown is filled by a dataservice. If this also doesn't work, it seems to be an bug on SPS11. I also want to check it on my system (SPS12). Can you post the model as a zip file on any webspace?

Best Regards,

Marcel