A new Javascript library is been added to Codeplex by Liger. Calling Workflow made easy by calling few lines of code than writing bunch of code. Process.callWorkflow(“4AB26754-3F2F-4B1D-9EC7-F8932331567A”, Xrm.Page.data.entity.getId(), function () { alert(“Workflow executed successfully”); }, function () { alert(“Error executing workflow”); }); Download the Library and include then call workflow simply with few lines ofContinue reading “Calling workflow from javascript library – CRM 2015”
Monthly Archives: August 2015
Sample code to read XML Data from Web Resource in Plugin in CRM 2011/2013/2015
Originally posted on Nishant Rana's Weblog:
We recently had a requirement to read xml data stored in a particular web resource in plugin. Sharing the sample code public static Dictionary<string, string> GetMarketClusterAndMarketSegment(string webresourceName, string buildingTypeValue, IOrganizationService organizationService) { Dictionary<string, string> dictionaryMarket = new Dictionary<string, string>(); // tk_et_oppline_marketingfilterpicklists // create request to retrieve Webresource ColumnSet…
Sample code to check if User is a member of a team C# CRM 2011/2013/2015
Originally posted on Nishant Rana's Weblog:
Sharing sample code to check if a user belongs to a team or not public static bool IsTeamMember(Guid teamID, Guid userID, IOrganizationService service) { QueryExpression query = new QueryExpression(“team”); query.ColumnSet = new ColumnSet(true); query.Criteria.AddCondition(new ConditionExpression(“teamid”, ConditionOperator.Equal, teamID)); LinkEntity link = query.AddLink(“teammembership”, “teamid”, “teamid”); link.LinkCriteria.AddCondition(new ConditionExpression(“systemuserid”, ConditionOperator.Equal, userID)); var…
Is Gamification in a Microsoft Dynamics CRM a gimic?
Originally posted on Hosk's Dynamic Blog:
To answer the question in the title, Microsoft certainly doesn’t think so because they have just acquired FantasySalesTeam. Microsoft Acquires FantasySalesTeam, an Innovative Sales Gamification Platform, to Help Organizations Increase Productivity CRM Gamified were the first company I had heard of using CRM and gamification and have an excellently…