List of "hostType" values
Where can I find a definitive list of "hostType" values for use when setting up viewmaps in ControlsConfig.config?
I have found the following from various threads/blogs, but where can I find the rest that relate to the widget templates in the SDK?
<
viewSettings
layoutTemplatePath
=
"~/Templates/FilesView.ascx"
hostType
=
"Telerik.Sitefinity.Modules.Files.Web.UI.FilesView"
/>
<
viewSettings
layoutTemplatePath
=
"~/Templates/LoginControl.ascx"
hostType
=
"Telerik.Sitefinity.Web.UI.PublicControls.LoginControl"
/>
Hello Robin,
Unfortunately such list does not exist. However you can get almost all widget templates in the WidgetTemplates archive which can be found in the SDK folder:
C:\Program Files (x86)\Telerik\Sitefinity 4.2\SDK\Content\Resources
You can also use our API reference for more information. Also you can explore the settings of Sitefinity to learn each modules view properties.
Greetings,
Victor Velev
the Telerik team
Hi Victor,
We have the templates from the SDK, however when we want to use any of them, it is not obvious what "hostType" to specify in the configuration to hook up the custom template.
Where can this be found if there isn't a list?
Regards,
Robin
Hi Robin,
You can use Refrector or JustDecompile to find the host type you need and use it when mapping new templates.
Kind regards,
Victor Velev
the Telerik team
I know that this post was from over a year ago so I wanted to check in and see id a host type list has become available yet?