We have a custom connector using this logic:
[DataSource.Kind="xxxAUTH", Publish="xxxAUTH.Publish"] shared xxxAUTH.Contents = Value.ReplaceTyp