cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SaWu
Impactful Individual
Impactful Individual

Did Global (Data Source) Name Resolution change? The disambiguation operator @ appears to be needed (more often) for Data Sources?

Hello

 

Please be so kind as to read my full post before responding.
Thank you for your consideration.

I have recently noticed that I required the global disambiguation operator @ in more places than I used to require it.
In particular, it now seems to be required for referencing my Data Sources in places it was not needed before.
Some parts of older code needed me to add this to work in newer PowerApps releases.
My last test with this was done using
Session ID: c3f74df3-269c-4924-8e33-9adbcc515534
PowerApps 3.19061.14

Two examples, where I could previously directly use

'DataSource-PluralName'

without the disambiguation operator @ , but which are currently only working with it, are:

  1. Patch inside ForAll
  2. DataSourceInfo

To give you a more complete picture, please be aware that the entity in question also might appear as LookUp in other entities in the same PowerApp(s).
Here are two screenshots of the (working versions) with disambiguation for the Data Sources where earlier versions didn't require disambiguation.
image.pngimage.png

The first case without disambiguation yields an underlined error.
The second case without disambiguation yields an empty result/nothing.

 

My questions:

  1. Has there been a change in the way that Data Source Names are handled?
  2. Is there a documentation/annoucement of this somewhere?
    I only know by trial and error that my two cases apparently required disambiguation.
    It would be good to know all cases where I have to use it now before running into this errors again.

 

Thank you,
    Sa Wu.

2 REPLIES 2
iAm_ManCat
Super User
Super User

Do you have a local and remote source with the same/similar name that then requires disambiguation?

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


SaWu
Impactful Individual
Impactful Individual

Hi @iAm_ManCat,

No, there are no tables, collections, variables, or DataSources with the same name.

The only thing coming to mind with really the same (plural name) "PowerFair-Leads" are the new Relational Data Fields in the entities that my custom entity "PowerFair-Lead" contains lookup fields to.

The thing with DataSourceInfo appears to be specific to this one entity in this one App.

For better or worse, I now always use disambiguation for my data sources as this always works.
This is only a minimal inconvenience.

Thanks,
     Sa.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,000)