Skip to main content
Keywords Highlighted to make it more readable.
Source Link
Sumit Helaiya
  • 3.2k
  • 2
  • 12
  • 23

When overriding SitecoreFieldLinkMapperSitecoreFieldLinkMapper, I add my new custom mapper to the CreateResolverCreateResolver method so it can be ran with all the other custom mappers. 

How do I ensure that only this custom mapper is ran and not the standard glass link field mapper? I think both might be executing.

When overriding SitecoreFieldLinkMapper, I add my new custom mapper to the CreateResolver method so it can be ran with all the other custom mappers. How do I ensure that only this custom mapper is ran and not the standard glass link field mapper? I think both might be executing.

When overriding SitecoreFieldLinkMapper, I add my new custom mapper to the CreateResolver method so it can be ran with all the other custom mappers. 

How do I ensure that only this custom mapper is ran and not the standard glass link field mapper? I think both might be executing.

Source Link

I need to override the SitecoreFieldLinkMapper, how do I ensure that the mapper isn't ran twice?

When overriding SitecoreFieldLinkMapper, I add my new custom mapper to the CreateResolver method so it can be ran with all the other custom mappers. How do I ensure that only this custom mapper is ran and not the standard glass link field mapper? I think both might be executing.