View more results: All Community | Partner Community
  • Blog Post: How Restrictor field works on a Search Select Advanced field

    One of the neat features in CRM is the ability to restrict a Search Select Advanced (SSA) field by another field. An example of this behavior can be seen in the Web Picker screens where the Person SSA is restricted to the people in the company that is selected in the Company SSA. You can even create...
  • Blog Post: Changing the sort order of an SSA (Search Select Advanced) field

    I was recently asked how to change the view order of the drop down in a SSA field (Advanced Search Select/Search Select Advanced). The sorting is always on the view field for the SSA field in alphabetical order. You cannot change that. But you can change which field is used for the view field. How...
  • Blog Post: Injecting javascript into system action screens with no Custom Content field

    ** Note a better technique is described in this blog post ** One of the very nice features of CRM is the Custom Content field on screens. They allow you to enhance the functionality of screens and add business logic to be processed client-side, making for a smoother user experience. But there are...
  • Blog Post: Write to the CRM logs in a server-side script

    If you are developing a server-side script such as a Create Script, Validate Script or Table Level Script, it is often useful to write debugging information to a log. Jeff has blogged about a technique for doing this using the Scripting.FileSystemObject. I'd like to share with you a very simple...
  • 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: Filing e-mails against custom entities

    * The code in this article has been updated to fix a bug that caused it not to work for any entity that did not have a prefix that matched the entity name * A while back Jeff Richards wrote a blog post about how to add a button to the communications tab of a custom entity to send an e-mail just like...
  • Blog Post: Getting around Date field limitations

    SyntaxHighlighter.config.clipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'; SyntaxHighlighter.all(); CRM has a limitation on dates in that you cannot enter dates before the 30th of December 1899. In rare cases you may need to store dates before this date, recently I helped a...
  • Blog Post: Accessing information about secondary entities with GetContextInfo

    Secondary entities are technically never in context so the GetContextInfo method doesn't work for these entities. For example if you wanted to get the current address id this would not work: GetContextInfo('address', 'addr_addressid'); However when you go into the edit screen of...
  • Blog Post: Changing Search Select Advanced display fields

    CRM allows you to change the display fields used in an Search Select Advanced (SSA) field but it does not give you control over the order of the fields displayed. The following function, placed in the custom content of the screen, will allow you to change the order of the display fields: <script>...
  • Blog Post: Modify field on another table in a workflow action

    When choosing a field for the Display Field For Amendment action, you can select fields from the view that are not on the table the rule is based on. For example you can select the comp_primaryuserid if you use the vSummaryOpportunity view to base your rule on. However this will not work by design: You...
  • Blog Post: Conditionally send e-mail on entity creation

    It is common to have CRM send out an e-mail on the creation of a new entity. For example you may have an e-mail sent to the assigned user on a new Opportunity notifying them that a the Opportunity has been created and that it is assigned to them. This is achieved by putting a Send E-mail action on the...
  • Blog Post: Pixel Perfect gadget contents with jquery

    I thought I'd share this: so I'm trying to create a custom gadget that displays a map and I want it to resize to fit the size of the gadget in a flexible layout. I needed a method of finding the height and width of the IFrame. It turns out this is very easy to do with some simple jquery. ...