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 / Navigation to 2nd scre...
Power Apps
Answered

Navigation to 2nd screen(form) issue

(0) ShareShare
ReportReport
Posted on by 14

Gents, 

To write back to SP using Power APP to connect between PBI and SP , i faced the below issue:

2022-09-18_201902.png

 

I tried to Navigate from 1st screen ( gallery- sourced from PBI visual ) to 2nd screen ( Issue Tracker Form- Sourced from SharePoint).

using the following :EditForm(IssueTrackerForm);Navigate(Screen2) ... The navigation arrow will work if the  existing item  (Name) is exist at the gallery and at SP as well, but it will not work ( show getting your data only -see below snapshot-

if the item (at gallery) does not exist at SP. 

2022-09-18_202054.png

 

Is there a way to navigate to second screen regardless the item on gallery is exist at SP or does not exist and load the name (item from gallery ) to the issue tracker form?

Thanks in advance. Please see the snaps for the model.

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @nasser_zeidi22 

    Are you wanting to create the record if it does not exist?  

  • nasser_zeidi22 Profile Picture
    14 on at

    Yes Randy, it is new record . 

  • Verified answer
    AaronKnox Profile Picture
    514 Super User 2024 Season 1 on at

    Change EditForm(IssueTrackerForm);Navigate(Screen2)  to:

     

    If(IsBlank(ThisItem.Name), NewForm(IssueTrackerForm), EditForm(IssueTrackerForm) ); Navigate(Screen2)

  • nasser_zeidi22 Profile Picture
    14 on at

    Aaron, 

    It works to navigate as new form which is good , however if it will navigate and loading the item (Name ) of the selected item it will be very helpful. I appreciate your reply on this regard.

     

    Thanks

  • Verified answer
    AaronKnox Profile Picture
    514 Super User 2024 Season 1 on at

    In the IssueTrackerForm datacard.property: Name.Default, change the formula from:

    ThisItem.Name

    to

    If(IssueTrackerForm.Mode=FormMode.New, Gallery.Selected.Name, ThisItem.Name)

     

  • nasser_zeidi22 Profile Picture
    14 on at

    It works perfect. Thank you Aaron , i appreciate it

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard