tag:blogger.com,1999:blog-1541119677388434036.post4735188160318956265..comments2024-03-03T09:04:59.574+01:00Comments on CRM Answers: CRM 2016 Web API and plural names Guidohttp://www.blogger.com/profile/09944164687094653429noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1541119677388434036.post-71683354871415070382020-10-19T22:46:12.531+02:002020-10-19T22:46:12.531+02:00Excelent post! Just dealing with a custom entity p...Excelent post! Just dealing with a custom entity plural name. (Using an old CRM, but still a problem). Thanks Guido!Anonymoushttps://www.blogger.com/profile/12090653809250630887noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-81482393493282991492016-11-07T16:10:38.266+01:002016-11-07T16:10:38.266+01:00As 'Unknown' mentioned above, if you don&#...As 'Unknown' mentioned above, if you don't like the default-generated plural, you can fix it before you write any code. https://msdn.microsoft.com/de-de/library/mt607990.aspx#bkmk_entityTypes - so although it is somewhat annoying, and I prefer the Set notation, it can be addressed in a supported fashion, and will probably only cause a problem the first time you see it, because after that, you'll know what to do right away.Anonymoushttps://www.blogger.com/profile/13123919247848574593noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-70750827058904175642016-11-07T16:07:43.421+01:002016-11-07T16:07:43.421+01:00In a sense it's worse because after you code t...In a sense it's worse because after you code to a specific name, someone could change it. But in another sense, it means that if you don't like the name it generates by default, you can change it BEFORE you start writing code.Anonymoushttps://www.blogger.com/profile/13123919247848574593noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-54475489582774109522016-07-09T18:24:48.384+02:002016-07-09T18:24:48.384+02:00I just ran into this problem as well... what a hea...I just ran into this problem as well... what a headache! Thanks for posting this info so I can get on with the REST endpoint of my life :)Stevehttps://www.blogger.com/profile/01442712723395709592noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-80373830083075210902016-06-27T15:21:25.486+02:002016-06-27T15:21:25.486+02:00Thank you, very useful information!Thank you, very useful information!Anonymoushttps://www.blogger.com/profile/16800711710728384555noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-69324574974248872422016-05-11T17:50:44.219+02:002016-05-11T17:50:44.219+02:00I've been getting "Resource not found for...I've been getting "Resource not found for the segment xyz" and wasn't even sure how to deal with custom entities until you mentioned that it uses the plural form. This is so silly, I couldn't think something like this would be the cause of my error.<br />Thanks for the insight.Salem5https://www.blogger.com/profile/01081194906814769335noreply@blogger.comtag:blogger.com,1999:blog-1541119677388434036.post-74226799429436329972016-04-05T10:59:39.116+02:002016-04-05T10:59:39.116+02:00It gets even worse if you read that these LogicalC...It gets even worse if you read that these LogicalCollectionNames can be changed by request:<br /><br />Change the name of an entity set<br />By default, the entity set name matches the EntityMetadata EntityType LogicalCollectionName (EntityMetadataLogicalCollectionName) property value. If you have a custom entity that you want to address using a different entity set name, you can update the EntityMetadata EntityType EntitySetName (EntityMetadata.EntitySetName) property value to use a different name.<br />Source: https://msdn.microsoft.com/de-de/library/mt607990.aspx#bkmk_entityTypes<br /><br />It would be nice to have an endpoint with a small footprint to get a LogicalCollectionName for a normal LogicalName.<br />Unknownhttps://www.blogger.com/profile/02366187307011398326noreply@blogger.com