Skip to main content
A newer version of this page is available. .
Tab

FileManagerSharePointProviderSettings.SiteHostName Property

Specifies a host name where a SharePoint site is located.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("")]
public string SiteHostName { get; set; }

Property Value

Type Default Description
String String.Empty

The host name.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SiteHostName
ASP.NET Controls and MVC Extensions ASPxFileManager
.SettingsSharePoint.SiteHostName
HtmlEditorFileManager
.SettingsSharePoint.SiteHostName
RichEditFileManager
.SettingsSharePoint.SiteHostName
RichEditFolderManager
.SettingsSharePoint.SiteHostName
MVCxFileManager
.SettingsSharePoint.SiteHostName
ASP.NET Bootstrap Controls BootstrapFileManager
.SettingsSharePoint.SiteHostName

Remarks

The “myteam.sharepoint.com/sites/TestProject1” SharePoint site link contains the following parts:

  • SiteHostName - “myteam.sharepoint.com”

  • SiteName - “TestProject1”

<dx:ASPxFileManager ID="FileManager" >
    <SettingsSharePoint 
        AccountName="FileManagerOneDriveAccount" 
        TokenEndpoint="https://login.microsoftonline.com/46ec2686-1c80-4e0a-81de-57aec8e4672f/oauth2/token" 
        RedirectUri="http://localhost"
        SiteName="ASPNETDemo" 
        SiteHostName="aspnetteam.sharepoint.com" />
    //...
</dx:ASPxFileManager>
See Also