Hey All,
Im new to creating apps, especially within powerapps. Im trying to use the Service desk template provided by microsoft, but i need to add a few tweaks. The problem is when i do something like edit the createnewticket page the create ticket button no longer works.
Here is the original:
If(CreatedBy.Text="" || Dropdown_Priority.Selected.Priority="Select a priority" ||Dropdown_Area.Selected.'Account Name'="Select an area" || Subject.Text="" || Description.Text="",
UpdateContext({msg_visible:false});UpdateContext({msg_visible:true}),
Collect(TicketsCollect1,{ID:Text(CountRows(TicketsCollect1)+1),Owner:CreatedBy.Text,AccountName:Dropdown_Area.Selected.'Account Name',Priority:Dropdown_Priority.Selected.Priority,Subject:Subject.Text,Description:Description.Text,Status:"New", DateCreated:Text(Today())});
Navigate(DashboardPage, ScreenTransition.None))
This is what im trying to get working:
If(Address.Text="" || Dropdown4_1="In Progress" || Phone Number.Text="" || Description.Text="",
UpdateContext({msg_visible:false});UpdateContext({msg_visible:true}),
Collect(TicketsCollect1,{ID:Text(CountRows(TicketsCollect1)+1),Phone Number:Phone Number.Text,Priority:Dropdown4_1.Selected,Address:Address.Text,Description:Description.Text,Status:"New", DateCreated:Text(Today())});
Navigate(DashboardPage, ScreenTransition.None))
I will attach an image of what the page looks like now.
Also, if you are willing to give me some one on one time, let me know. That would be impossibly helpful.
Thank you,
Dylan Chrislip
Solved! Go to Solution.
The squigglies should help. Keep hunting. 🙂 I think having In Progress as your status might be the reason?
Hi - Can you do a screenshot of the error and formula? Formulas are a pain in the backside to read on here. I am guessing there are some red squiggles that might speed up the troubleshooting process.
I see a space in Phone Number. Text I am pretty sure that shouldn't be there. And is that the name of the text input?
As for 1 on 1 time. That is exactly what PowerApps911 does if you are looking to go that route. Since you asked I thought I would mention it.
I don't see anything obviously wrong. 😞 Can you get it to put the red squilly line under the part where the error is? Maybe by clicking the yellow triangle?
well, i got that taken care of. Dropdown4_1.Selected.="In Progress" should have shown as Dropdown4_1.Selected.PriorityTypes="In Progress". all errors have been taken care of. but it still wont save the dang ticket. it thinks that not all of the fields are filled out.
Yup. Dropdown.Selected.Value should fix it.
The squigglies should help. Keep hunting. 🙂 I think having In Progress as your status might be the reason?
You are amazing thank you! Definately going to follow your youtube channel. I just need to settle down and think sometimes. It was the "in progress" selection that was the issue. now I just need to figure out how to allow in progress to be selected. but i think i can handle that. thank you again for your help.
User | Count |
---|---|
253 | |
251 | |
82 | |
45 | |
27 |
User | Count |
---|---|
350 | |
264 | |
127 | |
60 | |
58 |