Hi all, i hope someone can help me.
Im developing an application with different fields such as project name, project area and project risks,
the problem is that I don't know how to save the risks, this has 2 fields, name of the risk and consequences of the risk,
so I need to have these 2 fields for the user to fill in and put a button to add a new risk if it is necessary
example of what i want to do :
(all this is filled by the user)
name of project: Project 1
area of project: Mantainment area
(button)Add a new risk
and save it in a sharepoint list
but I do not know how to do it, and I do not find how to store it in sharepoint, will it be necessary to make 2 lists?
one for all project data and one for risks only
sorry for my gramaticals errors i use google translator
I'm new in this community I don't know if I break any rules or post in the wrong forum.
You are definitely in the correct forum. Welcome to the PowerApps community!
Let's start with building your Sharepoint List. Make sure you have the following columns and they are Text data type.
Risk1, Consquences1, Risk2, Consquences2, Risk3, Consquences3, Risk4, Consquences4, Risk5, Consquences5, Risk6, Consquences6, Risk7, Consquences7, Risk8, Consquences8, Risk9, Consquences9, Risk10, Consquences10
Now open PowerApps. Put this code in the OnStart property of your app
Next, create an Edit form based on your Sharepoint datasource. Input the following code in the Visible control for each DataCard.
Risk1, Consquences1: If(showLines>=1,true,false) Risk2, Consquences2: If(showLines>=2,true,false) Risk3, Consquences3: If(showLines>=3,true,false) Risk4, Consquences4: If(showLines>=4,true,false) Risk5, Consquences5: If(showLines>=5,true,false) Risk6, Consquences6: If(showLines>=6,true,false) Risk7, Consquences7: If(showLines>=7,true,false) Risk8, Consquences8: If(showLines>=8,true,false) Risk9, Consquences9: If(showLines>=9,true,false) Risk10, Consquences10: If(showLines>=10,true,false)
Finally put this code in the button for "Add A New Risk" within the OnSelect property
Test by clicking the button. Additional rows will appear with each click. Please let me know if you have any questions.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
hi so much thanks for the quickly answer,i guess that I was wrong to express what i need to do sorry , i find that what i need is use collections but i dont know how to save a collection in a column from sharepoint it is posible or i need to do other table to save risk and consecuences?
Check out these cool Power Apps & vote on your favorite!
Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!