London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Please post on forum related to EpiServer Find https://world.episerver.com/forum/developer-forum/EPiServer-Search/
Hi Marcus,
Hope this link https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2013/4/Change-how-id-is-set/ will help
Not my question Binh - I just helped by moving to the right forum.
Thanks the for suggested link though - hopefully pk1023 finds it useful!
The easiest way is to use attribute
[Id]
But you can also do it in the setup of Find, saying that for this class, this property is the id.
Read more here:
https://world.episerver.com/documentation/developer-guides/find/NET-Client-API/Indexing/
I have an object like below. I have defined the _id field but I do NOT get the value I passed set as the ID.
How do I force it to use MY id that I pass it?