Skip to main content
Community site session details

Community site session details

Session Id : aha/UFOFCizGCZYiP8VMvg
Power Apps - Building Power Apps
Answered

Getting work item details

Like (0) ShareShare
ReportReport
Posted on 18 May 2022 13:16:22 by 15

Hi

 

I am trying the following:

 

I have some galleries on 1 screen which show various queries results from Azure Devops. This is working.

 

When the user selects 1 of those items, they are taken to a detail screen which shows details of the work item they selected. 

 

I can't figure out how to do this. 

 

I tried adding a form on the detail screen and setting the data source as: AzureDevOps.GetWorkItemDetails(varWorkItem,"org name here","project name here","Feature"), where my varWorkItem is a variable I set on the navigate action from screen 1. The form does not seem to pick up this sadly. 

 

Any idea on how I should be doing this? 

 

  • Verified answer
    ChainCargo Profile Picture
    15 on 19 May 2022 at 06:53:00
    Re: Getting work item details

    @Drrickryp 

    I tried simplifying the whole thing and got where I needed so thanks! Seems I needed to make the datasource and the items as the same formula in the form, then it worked. 

     

    Sadly now I find the connector doesn't pass all the fields I need anyway so it was a waste of time...

     

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on 18 May 2022 at 15:43:36
    Re: Getting work item details

    @ChainCargo 

    Whatever you think is best.  A form can only apply to one record in a datasource table and it must be an actual datasource, not a collection or variable.  The Item property must be able to identify a single record in that datasource.   

  • jinx Profile Picture
    Microsoft Employee on 18 May 2022 at 14:12:43
    Re: Getting work item details

    great 

  • ChainCargo Profile Picture
    15 on 18 May 2022 at 14:11:08
    Re: Getting work item details

    @Drrickryp well one thing is I have multiple galleries on 1st screen, so a single gallery doesn't work there

     

    Also I (think I) need a new datasource because the screen 1 galleries are a different dataset. They don't have the data I need.

     

    Screen 1 is using AzureDevOps.GetQueryResultsV2(stuffgoeshere).value as the items

    Screen 2 needs to get the data from AzureDevOps.GetWorkItemDetails, as the data here is not present in the dataset in screen 1's galleries

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on 18 May 2022 at 13:28:56
    Re: Getting work item details

    @ChainCargo 

    It's not that complicated. Just set the OnSelect of the gallery to Navigate to your form screen. Set the Item property of the form to  yourgallery.Selected

    et voila!

    The datasource of the form should be the same one used in the items property of the gallery.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading complete