Month: January 2015

Limitations of Execute multiple request

Hi, Here are few limitations of execute multiple request. 1. Cannot invoke  execute multiple inside execute multiple. 2. Batch size limit is 1000. If you add more than 1000 it will throw a fault exception. 3. Only 2 concurrent executions can happen at a time, If you try running 3rd one, It will throw an exception

Continue reading
Advertisements

Unified Service desk – Migrate/ import configuration data from one organization/ server to other

Hi, You may need to move configuration data from your development environment to QA, QA to UAT. In that case creating all configuration data again will be little tricky. Here is a process to export from one and import it to other. Export Configuration Data: Download CRM package from http://www.microsoft.com/en-us/download/details.aspx?id=44567 Extract it, You should find a

Continue reading

Unified Service Desk – Create Sessions from Custom hosted control

Hi, To create a customer from type of custom hosted control, You need to inherit the interface IContextManager. Oncee you implement it, It should give you few methods which will be needful if you are working with sessions. GenerateSessionName // This will generate the session name , Put your logic here RenewSession SetContext // sets the context

Continue reading

Unified Service Desk – Logged in user details in Hosted controls

Hi, You may need Logged in user details for different purposes in hosted controls. Here is the way to get them from replaced parameters. // This will give you actual logged in customer var customer = (Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecord)localSession.Customer.DesktopCustomer; Dictionary<string, CRMApplicationData> userInfo = null; if (!customer.CapturedReplacementVariables.TryGetValue(“$User”, out userInfo)) return; CRMApplicationData fullname = null; if (!userInfo.TryGetValue(“fullname”, out fullname))

Continue reading