cancel
Showing results for 
Search instead for 
Did you mean: 

The lead selection has not been set:Viewname

Former Member
0 Kudos

Hi All,

I am facing the error: The lead selection has not been set:<viewname>

When I want to go from one view to another, I am getting the above error.

Regards,

Narendra

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Generally this means that you have some form of input enabled fields bound to a 0:n context node - but that node either has no elements or the leadSelection on that node has not been set. Therefore there is no context element for which to use for the data binding. Without knowing more about your component or its context structure, it is difficult to suggest defintely where the problem might be.

Former Member
0 Kudos

Hi,

I tell you my scenario in brief.

My first view is Login view.

When I am clicking on a button, I want to go in second view.

In second view I am displaying some data.

Here I am also using a field as drop down by index, which is initiallly blank i.e. no data.

At that time it gives me error .

Regards,

Narendra

Former Member
0 Kudos

hi ,

for that drop down by index UI element , u must have binded it with cardinality 0:n

when u want to go to second view ,populate it with the appropriate records , instead set its lead selection to 1.

rgds,

amit

Former Member
0 Kudos

Thanks for help.

Now it is solved

Answers (0)