cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cadone
Helper V
Helper V

access file name

All,

 

I struggle with the parsing Json. I hope I will get it one day. Some examples I read use ? as separators and some use period (.)

 

I am looking for various ways to extract the "File name" ( see image) and assign to a string variable.

 

 

Screen Shot 2021-02-11 at 12.14.56 AM.png

 

Thanks for your help.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Paulie78
Super User III
Super User III

It should be:

outputs('json')['body']['entity']['filename']

But you need to change the outputs('json') to the action containing the JSON above.

View solution in original post

Paulie78
Super User III
Super User III

No, you have spaces in the name of the action. Put underscores in instead (or rename the action “For a selected file”.

View solution in original post

4 REPLIES 4
Paulie78
Super User III
Super User III

It should be:

outputs('json')['body']['entity']['filename']

But you need to change the outputs('json') to the action containing the JSON above.

View solution in original post

@Paulie78 

Does this look good? I am getting error.

 

Screen Shot 2021-02-11 at 4.19.24 PM.pngScreen Shot 2021-02-11 at 4.20.47 PM.png

 

 

Paulie78
Super User III
Super User III

No, you have spaces in the name of the action. Put underscores in instead (or rename the action “For a selected file”.

View solution in original post

Renamed it & worked like charm.

 I guess spaces are not accepted.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,979)