Browse By Tags

  • Button to refresh the screen after save

    Is it possible to refresh the current page with a button? I know that a user can refresh the screen by clicking the refresh button up by the URL. However, is it possible to put the same functionality in a button on an ASP page. Sadly, not all users…
  • New Company and New Person buttons in a Custom Entity screen.

    A customer had a requirement for a summary screen for a custom entity to provide a new company and new person button similar to the core system entities within Sage CRM. I have assumed that the custom entity pages have been built using the classic ASP…
  • 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…
  • Controlling Button Positions in ASP pages

    A customer had a requirement to add additional buttons to a custom ASP page. These buttons had to be displayed at the bottom of the screen in a way similar to the buttons in the marketing area. But you can have the buttons appear anywhere you like…
  • Controlling Buttons in Self Service

    Self Service in Sage CRM v7.1 and earlier uses the COM API. Much of the use of the API in Self Service is very similar to the creation of ASP pages as extensions to the main user interface. I have noted in previous articles the Self Service API is…
  • Adding Extra Buttons to the Group Details Screen

    I have written another article that discusses how to add an extra button to the Saved Search Screen . That article discussed how most system screens can have additional action buttons added to them using the Buttons Group feature. But two important…
  • Adding Extra Buttons to the Saved Search Screen

    Sage CRM has a feature called Button Groups that allow a system administrator to add buttons to System Screens. I have discussed Button Groups in several articles. Adding Buttons and Customizing the Email Screens Adding Buttons and Customizing the…
  • Some thoughts on Sage CRM, FOP, PDF and Reports

    Sage CRM uses Apache FOP (Formatting Objects Processor) to generate its reports in PDF format. See http://xmlgraphics.apache.org/fop/ FOP is an example of a print formatter that uses XSL formatting objects (XSL-FO) and is in theory not tied to outputting…
  • Action buttons on Custom Entity Find Screens

    Below is a picture of the Company Find screen.. This is the standard system screen. But can this screen be duplicated for new entities such as "Project". The answer is very nearly yes. In the code for a Project Find screen that I have presented here you…
  • Changing Context when jumping between pages using the COM ASP API

    I have created a very simple page that contains a couple of buttons. The starting page is an ASP page in the context of the Opportunity. These buttons will allow me to jump to different places in the application. The first "company" button jump is built…
  • Adding Buttons to an ASP Page

    Consider the code below. This is for a simple edit screen for the Opportunity entity. var intRecordId = CRM.GetContextInfo("opportunity","oppo_opportunityid"); var myBlock = CRM.GetBlock("opportunitydetailbox"); var myRecord = CRM.FindRecord("opportunity…
  • More about Using CRM security in ASP pages

    I have previously discussed that access to buttons can be controlled by the 4 & 5 parameter of the CRM.Button() method used in Classic ASP. The entity referenced in the 4th param has to be an entity normally covered by security. The example covered…
  • Using CRM security in ASP pages

    Access to buttons can be controlled by the 4 & 5 parameter of the CRM.Button() method. The entity referenced in the 4th param has to be an entity normally covered by security. (This can also be a custom top level entity) The 5th parameter can be INSERT…
  • How to Build Buttons that call the Email Editor using the COM ASP API

    This has article has been corrected and the code reformatted 17th October 2011. I have written before about building buttons that call the inbuilt system actions. The action code for the internal email editor is 1500. We can set up a new SendEmail…
  • Guarding Access to Buttons Built in ASP Pages

    Imagine that you have created a new page that lists data from either Sage CRM or an external system. It maybe that you have classified your users into two types. The first can only view the data, so the actions buttons should be hidden, but the second…
  • More thoughts on adding Action buttons to Find Screens

    SyntaxHighlighter.config.clipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'; SyntaxHighlighter.all(); I wrote an article previously that showed how the action buttons on the system search screens set a hidden value in the form. This is the…
  • How did I get Here?

    In this post I would like to consider how you can establish whether a page has just been called via a hyperlink (from the tab) or it has been called because "Save" action button has been pressed. Pages can be called either by direct hyperlinking to them…
  • Hiding buttons when in Edit Mode

    Hoping someone can assist me with hiding a button in an ASP page. I seem to be running into a road block and I am afraid I might be making this harder than it really is. I added a few buttons to an ASP page, when the ASP page goes into "Edit" mode these…
  • Sage CRM 7.2 - Displaying searched company record without go back to Find screen

    Hi, Here's requirement I got - Select Find to search for company (result as below pic) - Select first searched result to display company summary screen - Add 'Next' button on company summary screen which will allow to navigate to next searched…
  • How to add a button to a vertical panel? ASP API

    Hi, What is the best way to add a group of buttons to a panel? Reports page has the look i am trying to achieve.
  • How to arrange buttons.

    I am trying to arrange my custom buttons so that they are all consistently in order on every single page. Please see the code below : this.EditMethod = "RunEntityDataPageEdit"; this.AddUrlButton("Delete", "Delete.gif", UrlDotNet(ThisDotNetDll, …