{"id":15338,"date":"2021-06-15T11:14:21","date_gmt":"2021-06-15T18:14:21","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/rename-your-power-apps-action-based-data-sources\/"},"modified":"2021-06-15T11:14:21","modified_gmt":"2021-06-15T18:14:21","slug":"rename-your-power-apps-action-based-data-sources","status":"publish","type":"power-apps","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/rename-your-power-apps-action-based-data-sources\/","title":{"rendered":"Rename your Power Apps action-based data sources"},"content":{"rendered":"
We are happy to announce that Power Apps action-based data sources can be renamed. This feature can help customers avoid an extensive rename of formula referenced data sources in a Power App.\u00a0 The feature will reach all regions by the end of this week June 18, 2021<\/p>\n
Data source names are generated from the display name of the connection they are based on. The first instance of a data source name in an app is typically exactly the same as the connection name. For instance, if I used an “AzureDevOps” connection as the basis for my data source it would be named “AzureDevOps”. And, if I add another “AzureDevOps” based data source to my same application the second data source will be named “AzureDevOps_1”.<\/p>\n
Occasionally, a connector author will change the display name of the connector.\u00a0 For instance, the author may change the display name from “OldConnector” to “NewConnector”. Your existing Power Apps will continue to work fine even though your data source names say “OldConnector” since your data sources still point (under the covers) to the correct connector type.<\/p>\n
However, if for some reason you drop your existing data source and re-add it, the new data source will be named “NewConnector” and your formulas will still reference “OldConnector”.\u00a0 This will cause formula errors where ever these data source names exist.<\/p>\n
Using the new “Rename” feature, you can rename your action-based connectors and fix up your formulas automatically.<\/p>\n
<\/p>\n
To fix this kind of problem you:<\/p>\n
This works because the data source display name and the formula referenced data sources are in sync (i.e., have exactly the same display name.)\u00a0 \u00a0This rename of the data sources in the formulas cannot work before you rename your data source back because the data source display name and the formula referenced data sources are not the same.<\/span><\/p>\n This rename capability is limited to action-based connectors.\u00a0 It does not work for tabular data sources.\u00a0 Tabular data sources use the name of the table or entity they are pointing at not the general name of the service hosting them.<\/p>\n","protected":false},"excerpt":{"rendered":" Rename of connectors<\/p>\n","protected":false},"author":105,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","power-apps-category":[1549,1569,1570,1617,1635,1664,1703],"power-apps-tag":[],"coauthors":[2056],"class_list":["post-15338","power-apps","type-power-apps","status-publish","hentry","power-apps-category-building-power-apps","power-apps-category-community","power-apps-category-connector-guidelines","power-apps-category-formulas","power-apps-category-learning","power-apps-category-uncategorized","power-apps-category-support"],"yoast_head":"\nLimitation: action-based connectors, not tabular connectors<\/h2>\n