Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Submit Form Failure - Not creating new entry ticket

Posted on by 29

Hello everyone, 

 

I've been building a Tablet app to compliment the HelpDesk Ticket template linked to the same Sharepoint data lists.

 

It reads all Tickets correctly, allows me to view all fields as data cards and even allows me to edit and submit the form as an edit - and saves successfully. 

 

The million dollar question is - Why does it not allow me to create a new ticket? I have a new form linked to the SharePoint List data. 

 

I have copied most parameters (to my knowledge) side-by-side from the original template into my custom tablet equivalent. 

 

As mentioned earlier - I can even edit and save the changes correctly to existing tickets. For some reason it is making new entries in the SharePoint that seems to be the issue. 

 

NewTicketForm

DataSource - 'Service Central v2'

OnSuccess - ResetForm(NewTicketForm);Navigate(ConfirmSubmitScreen,None)

OnFailure - ResetForm(NewTicketForm);Navigate(FailureSubmitScreen,ScreenTransition.None)

FormMode - FormMode.New

 

SaveButton

OnSelect - SubmitForm(NewTicketForm)

 

NewTicketScreen (Parent Screen holding the form)

OnVisible - Set(NewTicketID,Concatenate("AH", Text(Now(),"[$-en-GB]yyyymmddhhmmss")))

NewTicketIDLabel - NewTicketID

 

 

  • Verified answer
    alexdsh Profile Picture
    alexdsh 29 on at
    Re: Submit Form Failure - Not creating new entry ticket

    Hi @WarrenBelz 

     

    Even with the NewForm(NewTicketForm);Navigate(NewTicketScreen,ScreenTransition.None) it still did not submit.

     

    I managed to get a successful result by deleting and re-adding the form from scratch as a new instance. Must've been some kind of glitch!

  • WarrenBelz Profile Picture
    WarrenBelz 142,473 on at
    Re: Submit Form Failure - Not creating new entry ticket

    Hi @alexdsh ,

    Sorry for an obvious question here, but does the control initiating the new form specify NewForm(NewTicketForm)

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,473

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,659

Leaderboard