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 II
Super User II

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (20,639)