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 / HelpDesk App tasklist
Power Apps
Answered

HelpDesk App tasklist

(0) ShareShare
ReportReport
Posted on by 45

Hi Guys, 
please help me to integrate/add the data on SharePoint list data with helpdesk app.

 

ClearCollect(
TicketList,
{
Id: "1",
Title: "Mouse",
Description: "Where is my mouse",
Category:"LAPTOP / PC Software",
PercentComplete: "0.9",
Priority: "HIGH",
AssignedTO: "THOMAS ANDERSEN",
TaskStatus: "COMPLETED",
Author: "ScottK@contoso.com",
Editor: "Scott Konersmann",
Created: "2/8/2018 3:29 PM",
Modified: "2/5/2018 3:29 PM"
}
);

 

how to save the data to sharepoint and call from the shasrepoint? 

I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    HI @shebeerahmmed :

    Do you want to use SharePoint as your data source instead of Office365Users?

    Could you tell me whether these fields you mentioned have any special requirements for the data type, or only need the program to run correctly.

    I’ve made a test for your reference:

    1\Add a list('SP TicketList')

    I assume that the data type is configured in the following way.

    Column (click to edit)

    Type

    Title

    Single line of text

    Description

    Single line of text

    Category

    Single line of text

    PercentComplete

    Single line of text

    Priority

    Single line of text

    AssignedTO

    Single line of text

    TaskStatus

    Single line of text

     

    In addition,ID, Author, Editor, Modified, Created, Created By, Modified By are the default fields of SharePoint list, do not need us to customize

    2\Modify the list

    I have listed as many detailed steps as possible, but the actual operation is only to replace the data source and adjust some value reference. For specific operations, you can follow the guidance of APP Checker.

    MyTicketsScreen(Screen):

    MyTicketsScreenGallery-Items: 

     

    If(isAdmin,Sort('SP TicketList',ID,Descending),Sort(Filter('SP TicketList',Author.Email = MyProfile.Mail ),ID,Descending))

     

    MyTicketsScreenGalleryId-Text: 

     

    ThisItem.ID

     

    ViewTicketScreen(Screen):

    ViewTicketScreenCanvas

     ViewTicketScreenDataCard

       ViewTicketScreenId-Text: 

     

    SelectedTicket.ID

     

       ViewTicketScreenModifiedBy-Text: 

     

    Coalesce(First(Office365Users.SearchUser({searchTerm:Text(SelectedTicket.Editor.Email)})).DisplayName, SelectedTicket.Editor.Email)

     

       ViewTicketScreenCreatedBy-Text: 

     

    Coalesce(First(Office365Users.SearchUser({searchTerm:Text(SelectedTicket.Author.Email)})).DisplayName, SelectedTicket.Author.Email)

     

    CreateTicketScreen(Screen):

     CreateTicketScreenCreateButton-Items:

     

     Patch('SP TicketList',Defaults('SP TicketList'),{
     Title:CreateTicketScreenTitleText.Text,
     Priority: CreateTicketScreenPriorityDropDown.SelectedText.Value,
     TaskStatus:"NOT STARTED",
     PercentComplete: "0",
     AssignedTO:"",
     Description:CreateTicketScreenTaskDescription.Text,
     Category:CreateTicketScreenCategoryDropDown.SelectedText.Value});
     Reset(CreateTicketScreenTitleText);
     Reset(CreateTicketScreenTaskDescription);
     Reset(CreateTicketScreenCategoryDropDown);
     Reset(CreateTicketScreenPriorityDropDown);
     Navigate(ConfirmSubmitScreen,None)

     

    ConfirmationDeleteScreen(Screen):

     ConfirmationDeleteScreenDeleteButton-OnSelect:

     

    Remove('SP TicketList',LookUp('SP TicketList',ID =TicketToDelete.ID));
    Navigate(MyTicketsScreen,ScreenTransition.None)

     

    EditTicketScreen(Screen):

    EditTicketScreenCanvas

     EditTicketScreenDataCard

       EditTicketScreenHeaderTickerNumber-Text: 

     

    SelectedTicket.ID

     

       EditTicketScreenHeaderTickerCreatedBy- Text : 

     

    Coalesce(First(Office365Users.SearchUser({searchTerm:Text(SelectedTicket.Author.Email)})).DisplayName, SelectedTicket.Author.Email)

     

       EditTicketScreenHeaderTickerModifiedBy- Text : 

     

    Coalesce(First(Office365Users.SearchUser({searchTerm:Text(SelectedTicket.Editor.Email)})).DisplayName, SelectedTicket.Editor.Email)

     

       EditTicketScreenUpdateButton-OnSelect:

     

     If(isAdmin,
     Patch(TicketList,LookUp(TicketList,Id=SelectedTicket.ID),{
     
     Priority:EditTicketScreenPriorityDropDown.SelectedText.Value,
     Category:EditTicketScreenCategoryDropDown.SelectedText.Value,
     TaskStatus:EditTicketScreenStatusDropdown.SelectedText.Value, 
     PercentComplete:EditTicketScreenCompletedSlider.Value/100,
     AssignedTO:AssignedToUserDisplayName,
     Editor:MyProfile.Mail,
     Modified:Now(),
     Description:EditTicketScreenDescriptionInput.Text
     }),
     
     Patch(TicketList,LookUp(TicketList,Id = SelectedTicket.ID),{
     Priority:EditTicketScreenPriorityDropDown.SelectedText.Value,
     Category:EditTicketScreenCategoryDropDown.SelectedText.Value,
     Editor:MyProfile.Mail,
     Modified:Now(),
     Description:EditTicketScreenDescriptionInput.Text
     }
    )); 
    Reset(EditTicketScreenCompletedSlider);
    Reset(EditTicketScreenStatusDropdown);
    Navigate(MyTicketsScreen,None)

     

     
     

    Best Regards,

    Bof

     

  • shebeerahmmed Profile Picture
    45 on at

    @v-bofeng-msft  can you please send me the zip file of the app?I am getting 56 errors after following your steps

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @shebeerahmmed :

    Sorry, I cannot do this due to internal regulations.

    I suggest you check the name of your datasource.

    The key is to replace all "TicketList" in the app with new data sources.

    Best Regards,

    Bof

  • shebeerahmmed Profile Picture
    45 on at

    I got 18 errors, 

    1. ViewTicketScreen - 8 errors

    2. CreateTicketFormScreen-  3 error

    3.EditTicketFormScreen- 7 Errors

     

    Please find the attachment 

     

    3.JPG
    1.JPG
    2.JPG
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @shebeerahmmed :

    These are all reference errors(Name isn't vaild), and I cannot judge which field reference is wrong through the screenshot.

    Could you show me a screenshot of the wrong code?It is best to have a screenshot of your SP List.

    Best Regards,

    Bof

  • shebeerahmmed Profile Picture
    45 on at

    Please see the attachmentList.JPG

    ticket form.JPG
    edit ticket.JPG
    name error.JPG
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @shebeerahmmed :

    Attachment1:

    1\I notice you use "Categary" insteard of "Catagary".But in your datasourc,the cloumn name is "Catagary".

    2\I think ".Value" is unnecessary, it caused the second error

    Try this code:

     

    SelectedTicket.Catagory

     

    Attachment2:

    1\I notice you use "Categary" insteard of "Catagary".But in your datasourc,the cloumn name is "Catagary".

    Try this code:

     

     

    SelectedTicket.Catagory

     

    Attachment3:

    1\I notice you use "PercentComplete" insteard of "%Complete".But in your datasourc,the cloumn name is "%Complete".

    Try this code:

     

    SelectedTicket.'%Complete'

     

    Best Regards,

    Bof

     

     

  • shebeerahmmed Profile Picture
    45 on at

    Thank you so much, it worked now 🙂 

     

    I have got another issue ,

    1. I added 4 categories 

    2. For admin myself, the category is showing but not for other users (dropdown is not working and there are no other errors)

    me.JPG
    dropdown.JPG
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @shebeerahmmed

    Please check if they have access to your data source.

    asd.PNG

     

    Best Regards,

    Bof

    If this post helps, then please consider Accept it as the solution to help the other members find it

  • shebeerahmmed Profile Picture
    45 on at

    Nope, the user doesn't have the access to the Sharepoint list,? 

     

    can I able to share the access as a member for the entire organisation or manually need to add one by one?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard