Browse By Tags

  • Blog Post: Useful Date Functions

    Occasionally you will need to fetch a date from either the CRM database or perhaps from an external system that is then needs to be formatted so it looks like a CRM date. All users are able to set their date preferences. The are other articles that discuss handling dates Add/Subtract...
  • Blog Post: Example Code to Generate a Pseudo-Random Password

    A Customer had a need as part of a Case Workflow to generate a Self Service username and password for their contacts. They were using an ASP page to do this and asked whether I had any code to generate a password for Self Service. This is a simple little script and you may find this useful for your...
  • Blog Post: How to filter a pipeline object based on filter screen values

    We know that a LIST block can be filtered based on a standard filter screen block via var filter = eWare.GetBlock("MyFilterBoxName"); var list = eWare.GetBlock("MyListName"); list.ArgObj = filter; Can we filter a pipeline object in a similar fashion? Unfortunately you cannot...
  • Blog Post: Adding a Button that Passes Contextual Information to an External Webpage

    You can add a button In a custom ASP page In a the code of a .NET assembly In a an existing system screen Buttons in an ASP Page If this is in an ASP page then the code for a simple button to call an external ASP page looks like var strCallASPButton = CRM.Button("ASP"...
  • Wiki Page: 536-17173 - Missing vertical scrollbar in custom ASP page

    Summary: On a custom ASP page that contained an iframe there were issues with the scrollbars on the iframe because of the javascript in the asp page was attached to the window.onload event. Cause: For example if you bind to the onLoad event using javascript: window.onload = function() { doLoad(); } It...
  • Blog Post: The eWareQuery Object: A warning.

    I was going to call this a 'warning from history' but as you read the rest of the article you may realise that the 'updateddate' may never have been filled in. The eWareQuery object is a fantastically useful tool for on-premise developers to use in ASP pages, table level scripts and...
  • Media: Sage CRM 2017 R2: JavaScript, HTML and C# snippets for Visual Studio 2015

    This download contains 243 snippet files for use within Visual Studio 2015. The snippets have been revised for Sage CRM 2017 R2. Several minor defects in the examples have been address and a new set of JavaScript snippets that demonstrate techniques for use with the Self Service API has been included...
  • Blog Post: Sage CRM 2017 R1: Revised and new Visual Studio snippets available for partners to download

    If you work with Visual Studio then you will be interested to know that an updated library of revised and new snippets has been added to the General Development Resources folder that is available to all partners within the community. This is a resource that will prove very useful for you when customising...
  • Blog Post: Sage CRM 2017 R1: Using a Website gadget to include a custom script page in an Interactive Dashboard

    Sage CRM has a wide range of different gadget types that can be included in the Interactive Dashboard. Below you can see that I have created a custom Dashboard which includes List Gadgets, Chart Gadgets and a Record Summary Gadget. There is also a custom gadget in the top left of the dashboard. ...