bcolpaert / Colso.Xrm.AttributeEditor

XrmToolbox plugin to create, modify and delete entity attributes via an Excel template.
MIT License
8 stars 12 forks source link

Problem with multiple lookup fields to same Entity #18

Open easybeat opened 5 years ago

easybeat commented 5 years ago

Hi just found your very helpful attribute Editor. Thank you for that.

Now I tried to create 10 (!!) different named attributes with a lookup onto my entity salutation.

Unfortunately this failed as I think the Relationship Name is not set so that it always creates a different name. It only takes Source entity name and lookup entity name but should also add attribute name at the end.

Is it possible to add this?

Kind regards

Beat

easybeat commented 5 years ago

Hi

Just checked in code and found what to change. Please have a look in LookAttribute.cs line 53.

Change is in attached zip.

Hope this helps.

Thanks Beat

LookupAttribute.zip