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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Service Desk app conne...
Power Apps
Answered

Service Desk app connected to a ShareList instead of the Collection

(0) ShareShare
ReportReport
Posted on by

I use the Service Desk Sample app to create a new app.  In this new app I am using a SharePoint List for the main data as opposed to a Collection.  My problem is, on the Create a Ticket menu.  The Create button is not doing anything, I am assuming this is because my fields on the form do to not reference the SharePoint List.  

 

My question is, do I have to re-create the form using the SharePoint List?  I do not see any where in the fields where I can have them point to the SharePoint List.

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @NaChristian ,

    Do you want to use sharepoint list instead of collection as data source in Service Desk Sample app?

    If so, you need to make a lot of change on this sample app.

    Firstly, please check the columns in TicketsCollect1. You need to create the same columns in your sharepoint list.

    Then connect your list with your app.

     

    Secondly, you need to change all the controls and properties about TicketsCollect1, change their data source to your sharepoint list.

    For example, in CreatenewticketPage you need to change:

    1)textbox1_25,textbox1_26,textbox1_27,textbox1_28,textbox1_29

    Text: CountRows(yourlistname)    //please replace with your list name

    CountRows(Filter(yourlistname,Status="New"))

    CountRows(Filter(yourlistname,Status="In progress"))

    CountRows(Filter(yourlistname,Status="Closed"))

    CountRows(Filter(yourlistname,Status="On hold"))

    4105.PNG

    2)Button1_1's OnSelect:

    If(CreatedBy.Text="" || Dropdown_Priority.SelectedText.Priority="Select a priority" ||Dropdown_Area.SelectedText.'Account Name'="Select an area" || Subject.Text="" || Description.Text="",
     UpdateContext({msg_visible:false});UpdateContext({msg_visible:true}),
     Collect(yourlistname,Status,{ID:Text(CountRows(TicketsCollect1)+1),Owner:CreatedBy.Text,AccountName:Dropdown_Area.SelectedText.'Account Name',Priority:Dropdown_Priority.SelectedText.Priority,Subject:Subject.Text,Description:Description.Text,Status:"New", DateCreated:Text(Today())});
     
    Navigate(DashboardPage, ScreenTransition.None))

     //please replace with your list name

    4106.PNG

     

    What's more, since all the columns in the original collection are all text type, you'd better set all the columns to text type in your list too. Or else you will need to change your original formulas a lot.

     

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard