We are creating a ClientWebPart that we want to be present on the Default Display Form for items on a custom list view that's part of our application.
I can't work out how to pass the Id of the selected ListItem to the WebPart so that it can adjust it's behaviour. I'm assuming it can be passed with the URL to the WebPart.
I've considered using properties on the WebPart but they seem to be hard coded when the WebPart is placed on the form.
The built in controls seem to allow this. We can display a list of related ListItems to this ListItem. That seems to use something called "Connections" which I've been unable to re-create.