Hello Community,
when a new column is created in the SP it should automatically show in the Power apps as a Data card (with data card key and value) without adding it in the power apps manually in the edit mode.
Is it possible to automate the above process?
Thanks in Advance!!
Hi @TheRobRush ,Thank you so much 🙏
Blessed to be part of the Community and All the credit goes to you people who always try their best and help Junior folks enrich their skills.
Have a wonderful day !
Thanks Many 🙂
There is no workaround, sorry. PowerApps cannot edit itself and add code then republish itself.
As an example, here is how you can see that a column name must be a text literal (exact reference to a column)
In this app example i placed a button that has on its onselect UpdateContext({showColumnName:"Title"})
Now even though I have set a variable to the name of the column I want , the gallery can not reference this because it is a string, not an actual column. Easiest way I know how to demonstrate this honestly.
Unless you add it, it won't be there same applies to the datacards forms etc
Hey @TheRobRush , Thank you for your Immediate replies and helping out the community!!..
Sorry, Don't mind me asking , I am just new to Power Apps.
Could you please elaborate what you said in the previous reply?
and also, Is there any work around to automate the process[when a new col is created in SP , Power apps should automatically show it as a Data Card (with key and value)] in the form or even on the screen
Column (All Aspects of the Structure of your Datasource In General) are static references in Powerapps. Unless you add a control in to your app specifically referencing the column you want to reference it will not show you data from said column etc.
Hey @TheRobRush
Thanks for replying, May I Know the reason ?
Is it because the Microsoft Power Apps / Power Automate platform don't have that kind of feature or what ?
Also, is there any work around to do this since it's my given requirement.?
Thanks Again 😊
No, it is not.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional