Browse By Tags

  • Blog Post: Controlling Top Content

    Above is a screen shot that shows a default opportunity summary page. At the top of the page is the frame that contains the TopContent information. Sometimes this is called the context information. In this screen the TopContent brings in data from the Opportunity, the Company and the Person entities...
  • Blog Post: Access Team IDs from within ASP pages linked to Team menu

    In an ASP page to get the currentusers team or the selected users team you can access this with the normal GetContextInfo method. var intTeam = eWare.GetContextInfo("user", "user_primarychannelid"); var intSelectedTeam = eWare.GetContextInfo("selecteduser", "user_primarychannelid"...
  • Blog Post: Where am I?

    When working with CRM you may have a requirement to know the servername and install names with which you are working. System Options There are a few nice techniques that we can use in ASP pages. For example the COM API has a method that allows us to check the contents of the custom_sysparams...
  • Blog Post: Getting Hold of User Information in Code

    If you need to control the display of screen elements like buttons in ASP pages (or even client side in the browser screens) according to the identity of the CRM users then you will obviously need to be able to access the current user id. In ASP pages you can get hold of user information by using context...
  • Blog Post: Grabbing and Using Company and Person Context in Some Custom Entity ASP pages

    A little while ago I wrote an article called " Adding the Document Drop Plugin into a Custom Page ". That article provided the code to include activex plugin into a custompage to allow upload of documents to the library. The orginal article's code that the company and person records were...
  • Blog Post: More Adventures with the Library

    I have been investigating the list of documents that appears under the Company tab group. This is actually part of a set of investigations into the library entity that I am working on. So there will be a few more blogs about documents and the library in the near future. I wanted to find out how to ensure...
  • Blog Post: Using Create Script in GridColumns

    In the image below we can see the Company Name is displayed in an opportunity list that is in the context of the company and so that column is redundant and does not need to be shown. The list is created by the opportunitylist system action which is used in a number of contexts My CRM...
  • Blog Post: Understanding GetContextInfo()

    GetContextInfo() is perhaps the most commonly used method within the Sage CRM API. This is both within internal code (Create scripts, Validate scripts etc) and application extensions which maybe either COM ASP or .NET API. GetContextInfo() returns a named field from the given table based on the current...
  • Blog Post: 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 using var strCompanyButton = CRM...