cancel
Showing results for 
Search instead for 
Did you mean: 

The result type of the functional method cannot be converted into the type of %_O2X.

Former Member
0 Kudos

Hi,

I am getting the following error "The result type of the functional method cannot be converted into the type of %_O2X."

while executing the below mentioned coding,

<thtmlb:advancedSearch ID                = "advs0"

                        fieldMetadata     = "<%= controller->GET_DQUERY_DEFINITIONS( ) %>"

                        header            = "<%= SEARCH->get_param_struct_name( ) %>"

                        fieldNames        = "<%= controller->GET_POSSIBLE_FIELDS( ) %>"

                        values            = "//SEARCH/PARAMETERS"

                        maxHits           = "//SEARCH/MAX_HITS"

                        ajaxDeltaHandling = "false"

                        onEnter           = "search" />

I am creating a simple search view.

please give suggestions to resolve this error.

Thanks in Advance,

Regards,

Mahesh

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member202474
Contributor
0 Kudos

Hi,

     The code you have given looks fine, but I would like you to check any standard component Search HTML page for comparison.

e.g. BT108S_LEA component -> Search page.

Also check if the base entity is added in the context node rightly and in run time repository Model also must be mentioned.

Hope this helps.

Regards,

Ruby.