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?
@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...
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.
great
@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
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.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473