microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 341 forks source link

MS Search - External Items - property added/listed twice #4020

Open kasperbolarsen opened 1 month ago

kasperbolarsen commented 1 month ago

I have just added the property "customerName" from my external datasource, and it seems like it is added twice, once as customerName and once as resource.properties.customerName

I would expect it to be listed once, and preferably just as customerName

image

wobba commented 1 month ago

How did you add it? Issues not following the issue template will be closed.

kasperbolarsen commented 3 weeks ago

Version 4.13.1 Browser Edge

Steps 1) add Results web part to new page 2) select Microsoft Search as source 3) Set Entity type to "External Items" 4) set Content sources to "AzureSqlConnector3"
5) check the values in "Selected fields", none of the fields from the Content source is there 6) Check the schema for the Content source in the Search and Intelligence center 7) copy the Source property name for one of the field, in this case CustomerName 8) add CustomerName to Selected Fields 9) change the layout to Details List 10) select Manage columns 11) open the dropdown for Column value

image

wobba commented 2 days ago

I assume only the resource version should be kept?