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 / Components |Defining f...
Power Apps
Unanswered

Components |Defining function parameters using records/tables |Error messages

(0) ShareShare
ReportReport
Posted on by 109

In components (authoring version 3.23072.7) the error display is inconsistent. eg. output function below doesnt show an error, but in the advanced panel each of its parameters is in error. Even though the parameters are in error the formula using those parameters is error free and intellisense works. I am still debugging after component changes so havent tested if functioning correctly.

App scope turned on.

I think it is to do with using app data to define the type (schema) of a record and/or table using Defaults(...) or a table name. Problems dont occur if use {....} as default for a record/table.

 

PeterCBell_au_0-1689032544119.png

PeterCBell_au_1-1689033025326.png

PeterCBell_au_2-1689033146039.png

 

PeterCBell_au_3-1689033378249.png

 

 
Categories:
  • JorisdG Profile Picture
    Microsoft Employee on at

    For the time being, functions don't have access to variables/collections/tables etc. So Defaults(TableName) wouldn't work as "TableName" is not allowed.

    We're working on re-enabling this along with data flow for functions.

  • PeterCBell_au Profile Picture
    109 on at

    Hi Joris

     I use screens as fields in tables/records and pass those to custom navigation components used through out my apps (eg. Table( {actioncode:"home",screenobj:HomeScreen,......},{actioncode:"editpatient",screenobj:PatientEditScreen,.....}). Now broken.

     I have made extensive use of sharepoint lists (records and tables) as parameters and/or custom properties in components. Now broken.

     

     I am somewhat surprised there isnt more noise on this forum about the loss of functionality and restrictions  associated with the recent release- perhaps others were smart enough not to enable experimental features?

     

     I am unable to work around the new restrictions imposed (the background reasoning I still dont follow)..

     

     I would really appreciate knowing a time frame for the above issues be addressed, or the implementation of UDF's that will probably/hopefully allow reusable coding to be restored.

    Many thanks

    Peter

  • HardBreakZer Profile Picture
    6 on at

    I also present the same problems, I have been aware of these threads to see the progress towards the solution. Most likely there are more users investigating and falling into these threads where it is understood that a solution is already being worked on.

    At the moment I have output functions that require the use of global variables and/or referencing component input properties. I understand from what they have said that for now referencing external elements from the function is not possible. I am also waiting for a solution to this very important detail.

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

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard