Get data out of array that has one object

Hello All,

I’m sure this is really simple but I cannot seem to figure out how to do it.

I have a page that receives navigation parameters. when I console log the nav params I get the following:

image

This is the result of console.log(this.navParams);

How do I access the data?

I have tried console.log(this.navParams.data.fileId); I get null
I have tried console.log(this.navParams.data[0].fileId); I get Cannot read property ‘fileId’ of undefined

Please help.

Thanks

I think

this.navparams.get("FileID");

or

this.navParams.get('1').value;

should work