How to use PageDetailCollection variable type in for each

Hi All,

I extracted pdf data using amzon extract multipage activity and assigned output to variable MultiplePage with (PageDetailColletion) type and I was unable to use the variable MultiplePage in For each loop. Can someone pls help me in resolving this or arrange a call if possible.
Attached screenshots for the same.

1 Like

Hey @Naresh_Mandava,

Welcome to the community.

Try as below please,

Type argument - PageDetail

Thanks :slight_smile:

@Nithinkrishna Thank you for your response … I was unable to get any of the PDF data like forms or tables when i try to use the Multiplepage.Items in for each.
Ex : I want to use form data, but form data function is not available.

1 Like

Hey @Naresh_Mandava,

Got it.

You need to use another for-each inside and iterate the item.formfields.items

This may help.

Thanks :slight_smile:

Thanks @Nithinkrishna … I was trying to print the data which is in the form, i used form.ToString to get the data. I was getting variable type instead of data in the form.
Could you please help in this .

In attached screenshot, I want trying to get the data which is surrounded blue , but i was getting the data which is in red .

Thanks :slight_smile:

1 Like

@Naresh_Mandava, Sorry for delayed response.

Yep, Just try accessing by key values.

Form(“keyname”).ToString

Thanks :slight_smile: