microsoft / Power-Fx

Power Fx low-code programming language
MIT License
3.19k stars 321 forks source link

Connectors namespace should be able to use Display name in an expression. #2495

Open jas-valgotar opened 3 months ago

jas-valgotar commented 3 months ago

Currently if you use connectors via Dataverse Plugins, it only uses Logical Name in expression, it should also allow display name.

LucGenetier commented 3 months ago

Could you provide an example/more context where you'd see a display name being used? Notes: Action connectors should not support displaynames - we are supporting them in some places but this is incorrect - #2405 This doesn't apply to tabular connectors, like DV

jas-valgotar commented 3 months ago

{out: cr8b8_weather.CurrentWeather("Redmond","Imperial").responses.weather.current.Temperature}

here we want to use display name instead of cr8b8_weather as a namespace

jas-valgotar commented 3 months ago

After discussion with Luc, found out we define namespace here and should use displayname when creating connector settings, new ConnectorSettings(connectionReference.ConnectionReferenceLogicalName)