web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting work item details
Power Apps
Unanswered

Getting work item details

(0) ShareShare
ReportReport
Posted on 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? 

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @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.

  • ChainCargo Profile Picture
    15 on at

    @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

  • jinx Profile Picture
    Microsoft Employee on at

    great 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @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.   

  • Verified answer
    ChainCargo Profile Picture
    15 on at

    @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...

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard