MscrmTools / MscrmTools.Iconator

Manage custom entities icons in a single screen
GNU General Public License v3.0
2 stars 1 forks source link

Set icon on elastic table doesn't works #13

Open neronotte opened 12 months ago

neronotte commented 12 months ago

I've created a new elastic table in my dataverse environment. I'm using Iconator to add a Vector Image to my table. On "Apply and Publish", it gives me the following error:

Error while applying images to entities: [name of the elastic entity] is a virtual entity. You can't set the DataProvider of this entity to null.


MscrmTools commented 12 months ago

@neronotte Can you test with this version?

MsCrmTools.Iconator.zip

neronotte commented 12 months ago

I've installed the new version, but I'm still getting the same error: You can't set the DataProvider of this entity to null. I think that maybe it can due to a bug in the UpdateEntityRequest, that mismatches the Elastic Entity to a Virtual Entity.

MscrmTools commented 12 months ago

What I have tried with this version is to retrieve both dataproviderid and datasourceid properties so that they are passed back when updating table, avoiding a null value. I will double check what I've done to be sure I'm using these properties correctly