Extraction of parent xaml file name in child xaml

Hi all,

As per the requirement we want parent xaml file name in the child xaml. For example if xaml A is the parent xaml in which we have used invoke workflow to invoke xaml B now we want that while printing message in xaml B the xaml A name should be printed which has invoked it.

Please help me with this.

Thank you

hey,
you can use Get Root Activity
Use this Nuget package,
it will give the Xaml file name in which you are working
GetParent.1.0.5.nupkg (5.3 KB)
Thanks

1 Like

Hey @Tanvi_Sharma

You know the name and can be print directly in log right ?

Thanks
#nK

Hello @Tanvi_Sharma

Plz refer to the below post.