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 / How to search for vari...
Power Apps
Unanswered

How to search for variable in code?

(0) ShareShare
ReportReport
Posted on by

Is it possible to to search the source code in a PowerApps app?
I need to find the variable I created some time ago. 

 

Thanks in advance!

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @blabla70,

     

    You click on the (x) icon in the left-hand menu to see all your variables and collections.

     

    Or

     

    You can use the search icon and search the name of the variable.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Verified answer
    AndrewR1 Profile Picture
    1,572 Moderator on at

    Hiu @AARON_C You can use the x in the left hand menu to view variables that are with in your canvas app you can also search through these using the search box at the top of the menu. 

    AndrewR1_0-1695625960883.png

    Alternatively if you have a large piece of code and want to iterate through where that variable is you can also click in the code and press Ctrl F and this will bring up a window to search through that section of your code only showing each instance where the variable appears:

    AndrewR1_1-1695626042724.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.


    Thanks
    Andrew

  • Verified answer
    WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi  @blabla70 ,

    If you use the bottom icon, you can find all instances of the collection (or any other code) usage in the app.

    SearchApp.jpg

    Also in the icon tow above that (x), you will find the Variable list

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • blabla70 Profile Picture
    on at

    Thank you for the answers.

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