I need a solution to load SharePoint list item in dynamically in same screen in MS PowerApps for MOC exam App.
It should be navigate next question when I press "Next” button instead of next screen.
Please help me to achive this.
Could you please share more details about what you would like to achieve in a single screen?
To load SharePoint lists, we could add a Gallery control to hold its data.
For the Next Button to navigate to the Next Question, is a question here a single item of the SharePoint list?
And when it comes to Next question, would it need to take some actions of the question passed by?
In addition, any special order that those questions need to stand with?
Of course, I need to load sharepoint list to my Powerapp screen.
Here my sample Sharepoint List.
This's PowerApps Screen which I want to load single question in dynamically from Sharepoint list.
I need to keep selected value from radio control for each question until finish the test for calculation marks for user.
Thanks for the update.
Is the Answer column a Multiple choice type?
For Choice field with Multiple selection enabled, PowerApps can't get its value. Currently only single value of the choice field is supported.
For more information about known issues when working with SharePoint list, please check:
Besides, to display items within a SharePoint list, we could take use of the workaround below:
Under the screen, add a display form control, specify the data source to the SharePoint list name, then under the Item property, specify code below:
Here Idnum is context Variable which we would use to navigate to different item.
Under the OnSelect property of the Next Arrow Icon, specify the following:
And the disabled property of the Next Arrow Icon, specify the following:
Replace the NumberofQuestion with the actual number of the items number.
Under the OnSelect property of the Back Arrow icon, specify the following:
Disabled property of the Back Arrow icon:
And the Onvisible property of the screen:
For recording the selected option, which depends on the text of the radio control, thoughts here is to create a collection, and use collection to hold the data.
But based on the field type difference, there should be different ways.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.