Skip to content

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

    • About
    • DEV Tools
  • USD

    ‘http://event’ pop-ups with hosted controls of Hosting type ‘IE Process’ – USD

    Published by

    Rajeev Pentyala

    on

    July 28, 2016

    In my USD, I have a hosted control of type “IE Process”. Whenever it gets loaded, I was getting “http://event” IE pop-up and its blocking configured events of Hosted control to be triggered. Reason: These popups occur in IE 11 When the protected mode of IE set to ‘Off’ for…

    Continue reading →: ‘http://event’ pop-ups with hosted controls of Hosting type ‘IE Process’ – USD
  • CRM 2016

    Retrieve and Update record with alternate key using Web API – CRM 2016

    Published by

    Rajeev Pentyala

    on

    July 1, 2016

    Alternative Keys are useful to retrieve or update the records without the need of GUID. It avoids the overhead of retrieving record’s GUID while update operation. In conventional way, to update an Account record from external web application, you would need to get the GUID first and then update. With alternate key, you…

    Continue reading →: Retrieve and Update record with alternate key using Web API – CRM 2016
  • CRM 2016

    JScript to Create record and its related record using Web API – CRM 2016

    Published by

    Rajeev Pentyala

    on

    July 1, 2016

    Below is the script snippet to create ‘Account’ record using Web API. function createAccount() { var clientUrl = Xrm.Page.context.getClientUrl(); var req = new XMLHttpRequest() req.open(“POST”, encodeURI(clientUrl + “/api/data/v8.0/accounts”), true); req.setRequestHeader(“Accept”, “application/json”); req.setRequestHeader(“Content-Type”, “application/json; charset=utf-8”); req.setRequestHeader(“OData-MaxVersion”, “4.0”); req.setRequestHeader(“OData-Version”, “4.0”); req.setRequestHeader(“Prefer”, “odata.include-annotations=*”); // Set Account Object var objAccount = {}; objAccount.name = “Rajeev…

    Continue reading →: JScript to Create record and its related record using Web API – CRM 2016
  • CRM 2016

    JScript to retrieve and execute view (Predefined Query) using Web API – CRM 2016

    Published by

    Rajeev Pentyala

    on

    June 29, 2016

    Assume you would need to retrieve ‘Active Accounts’ from your script, you can either retrieve by building FetchXML from scratch or simply use Web API to execute existing ‘Active Accounts’ view query with no need of writing Fetch XML. Using Web API we can retrieve and execute predefined queries (i.e., System…

    Continue reading →: JScript to retrieve and execute view (Predefined Query) using Web API – CRM 2016
  • Misc

    ‘Duplicate record execution’ issue with System.Timer Elapsed event – Windows Service

    Published by

    Rajeev Pentyala

    on

    May 3, 2016

    We have a window service with System.Timer control ‘timerExecuteQuery’, which periodically polls the records from Data Base and process. this.timerExecuteQuery= new System.Timers.Timer(3) { AutoReset = true }; this.timerExecuteQuery.Start(); this.timerExecuteQuery.Elapsed += this.TimerExecuteQuery_Elapsed; Everything seems working fine until we noticed few records executing twice causing inconsistency. The issue was random and unable to reproduce…

    Continue reading →: ‘Duplicate record execution’ issue with System.Timer Elapsed event – Windows Service
  • CRM, Uncategorized

    Switch Business Process Flow using Jscript based on CRM form’s field value

    Published by

    Rajeev Pentyala

    on

    April 30, 2016

    Recently we got a requirement to switch the Business process on Case form based on ‘Case Origin’. Its easily achievable using Jscript “setActiveProcess” method. Xrm.Page.data.process.setActiveProcess(processId, callbackFunction); ‘processId‘ is the GUID of the ‘Business Process Flow’. You can copy the GUID from URL. Go to ‘Settings –> Processes’ open the ‘Business Process…

    Continue reading →: Switch Business Process Flow using Jscript based on CRM form’s field value
  • CRM 2016

    Build Auto Complete Text Box using Jscript – CRM 2016

    Published by

    Rajeev Pentyala

    on

    April 20, 2016

    In CRM 2016, we got showAutoComplete and hideAutoComplete methods to configure the auto-completion experience in text controls in forms. In this article, I am going to configure “Auto Complete” feature for my “Locality” text box on my Account form. JScript: function suggestLocality() { // List of sample Locality names to suggest accounts…

    Continue reading →: Build Auto Complete Text Box using Jscript – CRM 2016
  • CRM 2016

    Task Flow – CRM 2016

    Published by

    Rajeev Pentyala

    on

    April 16, 2016

    “Task Flow” is a new feature available with CRM 2016 online update and is currently on preview mode. Task flows are targeted for phones or tablets. You can configure set of steps, where user perform day to day and package that as a ‘Task Flow’. “Task Flows” are somewhat similar to…

    Continue reading →: Task Flow – CRM 2016
  • CRM

    System.Web.HttpUnhandledException – While opening a CRM record

    Published by

    Rajeev Pentyala

    on

    April 10, 2016

    Other day we were getting “Unexpected” exception while opening a ‘Contact’ record. There were no error details to check at application level. When I verified my CRM application server’s Event viewer, there was below error log Exception of type ‘System.Web.HttpUnhandledException’ was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)…

    Continue reading →: System.Web.HttpUnhandledException – While opening a CRM record
  • CRM 2016

    CRM 2016 – Voice of customer’s survey

    Published by

    Rajeev Pentyala

    on

    March 31, 2016

    Capturing customer feedback is crucial in any Service industry to serve Customer better. In Dynamics CRM, Survey feature was the ask from many customers across the world. It has been addressed in the latest release of CRM 2016. “Voice of the Customer survey” is a new feature which is in preview…

    Continue reading →: CRM 2016 – Voice of customer’s survey
Previous Page Next Page
Visitors

2,149,087 hits

Top Posts
Claude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeClaude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeFebruary 5, 2026Rajeev Pentyala
Getting Started: Build Your First Power Apps Code AppGetting Started: Build Your First Power Apps Code AppAugust 27, 2025Rajeev Pentyala
[Step by Step] Beginner : Create a PCF control and add it to a custom page[Step by Step] Beginner : Create a PCF control and add it to a custom pageDecember 2, 2024Rajeev Pentyala

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

  • Pinterest
  • Instagram
  • Facebook
  • Mail
    • About
    • DEV Tools

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
 

Loading Comments...
 

    • Subscribe Subscribed
      • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
      • Join 478 other subscribers
      • Already have a WordPress.com account? Log in now.
      • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar

    Notifications