I need to use Power Apps to customize our library form, which will be used on many sites.
There is a choice field that needs to have the default value set to the current site's title.
Is there a way to retrieve this value?
I need to use Power Apps to customize our library form, which will be used on many sites.
There is a choice field that needs to have the default value set to the current site's title.
Is there a way to retrieve this value?
If you are going to add this power app on the SharePoint site page using Power Apps web part, you can pass the site title as query string parameter to app URL while passing app URL to Power Apps web part.
Then you can read the query string parameter value in your app using Param()
function.
Documentation: Launch and Param functions in Power Apps
If you are using Power Apps customized list/library form, I don't think there is any direct way to get the site title using formulas.