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 / Screen Navigation Issu...
Power Apps
Answered

Screen Navigation Issue with Canvas PowerApps

(0) ShareShare
ReportReport
Posted on by 559

Hi,

My App is Items and Each Item has Tasks,

On Home Screen, I have two Galleries representing Items on the left and related Tasks on the right. (See Attached Screen shot).

My Items are from Data Source SP list and Tasks are from the Data Source SP list. Each Task has an ItemID as one of the field to relate to the Item it belongs to.

When my Task is completed (using a Form), it directs me automatically to my Home Screen.

If I place Navigate(ScrCopyTaskCT) code on the Submit button, it will show the Copy Task Screen for a split second and then comes back to Home Screen.

My code on Yes, Submit button for On Select property on my Pop up Screen is:

SubmitForm(frmNewTaskNT);

DataCardValue12.DisplayMode.View;

UpdateContext({varShowTaskSubmitScreen: false });
Navigate(scrCopyTaskCT);

 

Is there a way to go to the designated Navigate to Screen (for my specific case it is a Copy Screen titled: screCopyTaskCT?

I am a newbie. Any help is appreciated.

Thanks,
SueA.

Screenshot 2023-09-12 110338.jpg
Screenshot 2023-09-12 110905.jpg
Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,810 Super User 2026 Season 1 on at

    Hi @SueA,

     

    Do you have anything in the OnVisible property of scrCopyTaskCT that may cause this? Please share the formula for this property.

  • SueA Profile Picture
    559 on at

    Hi @BCBuizer 

    I have the below Code:

    Set(varShowMenu,true);Set(varShowMenu,false);

    Not sure why I have this code there to begin with.... I do not remember...

    I started this App beginning of last year. This was the very first App I ever did and then in the middle of it I was pulled out for other projects and I am now getting back to it and trying make sense of it all...

    I am using this Copy task screen from two different places. From the Home screen and from the Dashboard Board Screen. Two different Galleries. (See attached).

    Even if I comment it out this code on On Visible property, I am still not being directed to the Copy Screen.

    Any thoughts?

    Screenshot 2023-09-12 120655.jpg
  • Verified answer
    BCBuizer Profile Picture
    22,810 Super User 2026 Season 1 on at

    Hi @SueA ,

     

    Instead of looking for a needle in a haystack, let's do some debugging using Monitor to see what is causing this. More information on how to use Monitor can be found here: https://learn.microsoft.com/en-us/power-apps/maker/monitor-canvasapps

  • Verified answer
    SueA Profile Picture
    559 on at

    Hi @BCBuizer:

    I was new to the Monitor tool and once I got it, I truly appreciated its workings. Thank you so much for the pointer. I was able to find an error (not related to the above issue and some delegation warnings!). Thus, it definitely helped.

    I was able to resolve this issue. Here is what I did to fix. Listed below for anyone having similar issue....

    So, finally, I figured out that since I am unable to halt the system going to the Home screen as soon as I click the Submit button and the Current Task Form is submitted, I simply I delayed Submitting the Task Form till my Copy option is completed.

    At the Submit button click, instead of submitting the Form, I went to a Pop up screen where I asked using three buttons:

    Do you want to "Just Submit", "Copy and Submit" or "Cancel"?

    For Copy and Submit button's On Select I navigated to the Copy Screen.

     Where I populated the copy of the current Task.

    On Click of the Submit button of the Copy Screen, I submitted both the Current Task Form and the Copy Task Form.

    On Click of the Cancel button of the Copy Screen, I submitted the Current Task Form.

    Thus, in either case it then directed me to the Home screen after the Copy action option is being looked at.

    Thank you for the moral support to review it step by step and the guidance.

    Regards,

    SueA.

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard