Lookup In Savable Data Page

Hi,

Can someone explain when we use lookup as source in Data Page?

I have one Savable Data Page. Mode = Savable. Scope = Thread.

Here,

Data Sources

Source = Lookup And Class = A-B-C-Data-Details

Data save options

Save Type = Database Save And Class = A-B-C-Data-Details

Note:- This Savable Data page is called in Flow Action. And Post processing we have one Activity which is saving detail using Save DataPage Method.

@AbhishekC1725

LookUp - is similar to Obj-Open, if you are passing primary key of Work-Object (or) data instance as an input to data page, it will pull all the data related to primary key and hold it in data page cache.

@Gunasekaran Baskaran

Thanks for response. Can you clear

Data save options Save Type = Database Save And Class = A-B-C-Data-Details

In case of Savable Data page.

And one doubt I have, why some developers use Data source = Lookup in case of Savable Data page.

As they are using this Data page to save records. In my case Developer is saving record to

A-B-C-Data-Details class/Table.

Hi @AbhishekC1725: Purpose of savable data page is to fetch data from SOR which can be updated by your business logic and update it back to the SOR. If you remove the data source, there is no option for the data page to fetch data. If you remove the save plan, there is no option for the data page to save the data back to SOR.

Please see this for details about savable data page.

Hope this helps.

Thanks.

@ArulDevan Thanks for your response and sharing the link.