Datapage-unable to use report definition as source with page structure

Hi Team

I have created a datapage with source as report definition. that report definition is retrieving from data type.

It works fine if I select datapage structure as list for single record retrieval and multiple records retrieval.

but if change the datapage structure to page and tried to retrieve single record, it is not working.

Could you please help on this?

Hi @SubhashK7107,

Check the parameters in Report definition and data pages. In report definition, select “Use null if empty” option in filter if you use parameters. If the results are accurate then invoke this Report definition in Data page.

In Data page, configure the correct format of parameters in parameters tab and run the data page.

Now, you should get the results as expected. Please let me know, if the issue still persists.

Thanks,

Ravoof.

@SubhashK7107 when data page structure is list, directly just sourcing RD would not work. Because it returns results, but data page is a page. You need to set the results properties on primary page as dpage is a page structure.

@Mohammad Ravoof Thank you.

@Anoop Krishna Thank you Anoop. As you mentioned, RD returned results instead of page and it was under the data page. It worked after changing the Data page-object type class from data table class to ‘Code-Pega-List’.