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 / Create Check In Check ...
Power Apps
Answered

Create Check In Check Out on Inventory - Toggle Switch

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

To provide some context. I am transporting equipment for an event. This equipment is collected from either the office or storage. To ensure the equipment is loaded onto the van, we decided we should create an inventory list where we can view all our equipment, and to determine if it is on the van or if it is somewhere else. 

 

I have managed to set up a sharepoint list, and I've used the Power Apps default template which works fine.

 

However I want to create a form of check in check out functionality. I have found a toggle switch, so I've included this. 

 

But when I toggle the switch to on or off, it immediately takes me to the page of the item, which I don't want it to do. I just want it simply to toggle on or off and not take me to another page.

 

Is there a way around this. 

 

Also, any suggestions with regards to this, would be much appreciated.

 

BTW I am a total noob to this, so would appreciate it a non-technical response!

 

Thanks!

 

Toggle Switches:

 

Capture1.PNG

 

When I toggle on/off, then it takes me to this page (the details page):

Capture2.PNG

 

Additional screenshot that may help?

 

Capture3.PNG

Categories:
I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    Yes, the default configuration when placing a new control in a gallery is that, "Select(Parent)" is included in the OnSelect property of the control. This is helpful in some situations, but not yours, because it triggers the OnSelect property of the gallery itself which is to Navigate() to the other screen.

     

    Remove "Select(Parent)" from the OnSelect property of the toggle and it should stop doing that.

     

    BTW, welcome and I encourage you to use the search function on this forum when you have questions. We all start somewhere and this is a precious resource for answers

     

    Hope that helps,

    Bryan

  • UF_EC Profile Picture
    14 on at

    Thank you, this did solve the problem.

     

    However I've discovered another issue following this. Once I toggle it 'on', if I were to refresh the app / close it, it would reset the toggle status to 'off'. How would I go about ensure it only switches back to off if manually done by a person

  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    @UF_EC wrote:

    Thank you, this did solve the problem.

     

    However I've discovered another issue following this. Once I toggle it 'on', if I were to refresh the app / close it, it would reset the toggle status to 'off'. How would I go about ensure it only switches back to off if manually done by a person


    To do this, you will need to add a "yes/no" column to your SharePoint list and save any changes to the toggle back to the list so that you can recall the value another time. There are lots of posts on here about updating datasources, but here are the basic steps:

    • Add the new yes/no column to the list
    • Open your app for editing, or refresh the SharePoint list in the data sources if you already had it open
    • Set the Default property of the toggle to "ThisItem.myNewColumnName"
    • In the OnChange property of the toggle put: 
    Patch(myDatasource, //put in the proper name of your list
     LookUp(myDatasource, ID = ThisItem.ID), //identifies which row to update
     {myNewColumnName: Self.Value} //put in the proper name of your column
    )

    This will save the last value of the toggle back to the list each time it is changed.

     

    Bryan

  • UF_EC Profile Picture
    14 on at

    Wow, it worked! Thank You! 

  • oyepanky Profile Picture
    563 on at

    Hi Bro,

     

    if you need any help with attendance related help, I already developed this application you can check out my videos on youtube.

     

    link is here - Time IN And Out Button Create with Formula In PowerApps || Part-14
    https://youtu.be/sFbAlSRD_qc

     

    in this application these options

     

    Check In - Check Out

    Break options 
    Selfie option 

    location option

    20+ option for employees & Manager login 

     

    please check out all parts 

    i hope this video help you. 

     

    8d8aa3d7-d002-43ed-829f-3a3d88c80db0.jpeg

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 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard