Skip to content

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

    • About
    • DEV Tools
  • 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 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
  • CRM 2016

    CRM 2016 Document Generation – Enable Developer Tab and Add repeated rows in word file

    Published by

    Rajeev Pentyala

    on

    March 12, 2016

    Document Generation is a new feature introduced in CRM 2016. Document Generation simplifies converting your CRM data to either Word or Excel documents. Below are the steps to Download Template Configure Template Upload Template Generate Document. Download the Document Template Navigate to ‘Settings  -> Templates’ Choose ‘Document Templates’ Click ‘New’…

    Continue reading →: CRM 2016 Document Generation – Enable Developer Tab and Add repeated rows in word file
  • Misc

    “Bad Data” Error – During Web.Config file Decryption

    Published by

    Rajeev Pentyala

    on

    February 15, 2016

    In one of my web application we are reading credentials from Web.config file’s Connection Strings section. And we are encrypting the Connection Strings using aspnet_regiis.exe tool during deployments. Below are the steps to Encrypt/Decryption of Config file using aspnet_regiis.exe tool Encryption Command Open Visual Studio Command Prompt and run below commands.…

    Continue reading →: “Bad Data” Error – During Web.Config file Decryption
  • SQL

    Login failed for user SQL Server, Error: 18456 – Troubleshoot steps

    Published by

    Rajeev Pentyala

    on

    January 23, 2016

    In my SQL server I have a Login account ‘sa’ with ‘SQL Server Authentication’. Even though all the properties provided properly, I was unable to login with below login exception. Troubleshooting steps: SQL Server Authentication: Open ‘SQL Server’ properties window Make sure SQL server’s ‘Server Authentication’ set to ‘SQL and Windows…

    Continue reading →: Login failed for user SQL Server, Error: 18456 – Troubleshoot steps
Previous Page Next Page
Visitors

2,152,501 hits

Top Posts
Getting Started: Build Your First Power Apps Code AppGetting Started: Build Your First Power Apps Code AppAugust 27, 2025Rajeev Pentyala
Claude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeClaude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeFebruary 5, 2026Rajeev Pentyala
Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'March 15, 2026Rajeev 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 480 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