web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps basic setup ...
Power Apps
Unanswered

PowerApps basic setup - no OnStart() property on APP?

(0) ShareShare
ReportReport
Posted on by 288

Hello everyone,

 

I've read on forum and around that there should be an OnStart() property or such, but I don't seem to have it in my environment?

NidjoJohnny22_1-1673432399735.png

 

NidjoJohnny22_0-1673432380912.png

 

If anybody knows anything helpful, I'd be very grateful!

 

Thanks in advance.

 

- Nikola

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @NidjoJohnny22

    It has been deprecated in favor of Startscreen. See the discussion here. https://powerusers.microsoft.com/t5/Building-Power-Apps/How-do-I-properly-use-StartScreen/td-p/1360827#:~:text=1%20App.OnStart%20to%20collect%20the%20data%20%28Collect%2C%20Lookup%2C,or%20collections%20from%20App.OnStart%20since%20both%20are%20independent For now, you can reactivate it in the settings but it will be going away. 

    There is a great new option also in settings called Named Formulas to replace using the Set() function in OnStart. 

  • NidjoJohnny22 Profile Picture
    288 on at

    thank you, @Drrickryp !

    Do you maybe have knowledge on how to find possibility in PowerApps to create a variable with named object data on that same StartScreen... ?

     

    like var names = { management = {"Nikola": "nikola.nikola@mail.com"}, secondNamedObjectWithinObjectData = {Second : "Two"} } 

     

    or similar data structure and how to access the data within? with which functions?

     

    Right now I'm using the Lists for all data and this could be much faster for low-record-level and static data.

     

    - Nikola

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

    @NidjoJohnny22

    Do a search for PowerApps Named Formula. I think it is exactly what you need. You can activate it in the Settings under experimental features. 

  • NidjoJohnny22 Profile Picture
    288 on at

    great! thank you

  • NidjoJohnny22 Profile Picture
    288 on at

    hi @Drrickryp , this Named Formula is in experimental phase, I'm not so sure about it - should I use it for "production" apps? In case something goes wrong, it might be a bad idea later? what is your opinion about it?

  • NidjoJohnny22 Profile Picture
    288 on at

    Hello, I would avoid the deprecated features, as I don't have some solid replacement for it 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @NidjoJohnny22

    The official position on experimental features is not to use them in production apps. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard