Namespace: Lisa.Core.Domain.Interfaces
Users can paste content into the search-field which is at the top of the Add Content dialog when they are adding content to pages in Veva.
When users paste data into that field, Veva passes that data through all registered content resolvers to determine if the pasted content can be recognized as a certain type of content, and if so, which components should be suggested for the user.
For example, if you paste a generic URL into the field, Veva will recognize it's a URL and will suggest the Link component. Furthermore, if the URL is a certain type of URL, such as a Youtube video URL, Veva will also recognize that and in addition to suggesting the Link component, the user will be given the option to insert the Youtube component and the video ID will be extracted from the URL and the component will be configured to show that video.
This functionality is implemented using content resolvers. Each content resolver needs to be able to tell if it supports the pasted data, which is the CanResolve() method and if it returns true, the GetContentMeta() method will be called which returns a ContentResolverResult which tells Veva which component(s) to insert and with which property values, among other things.
If you have a specific scenario where if users paste a certain type of content into the search field and you want a specific component to be suggested, you can implement your own content resolver.