Dynamics CRM 2011 update help server url

PowerShell


PS > Add-PSSnapin Microsoft.Crm.PowerShell
 PS > $web = Get-CrmSetting WebAddressSettings
 PS > $web.HelpServerUrl = ""
 PS > Set-CrmSetting $web

C#


var service = Microsoft.Xrm.Sdk.Deployment.Proxy.ProxyClientHelper.CreateClient(new System.Uri("http://crm2011:5555/XRMDeployment/2011/Deployment.svc"));

var webAddressSettings = (Microsoft.Xrm.Sdk.Deployment.WebAddressSettings)service.Retrieve(Microsoft.Xrm.Sdk.Deployment.DeploymentEntityType.WebAddressSettings, null);

webAddressSettings.HelpServerUrl = "http://crm2011:5555";

service.Update(webAddressSettings);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s