Home > crm4

In my previous post about hiding fields and tabs using roles, I outlined how use roles to hide fields, etc. Here is a modification of the method to hide sections by business unit.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Do you need to hide fields or tabs based on security roles. Here is an easy way to add the functionality to your CRM, use my code example.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Sometimes you need to be able to have preset values, and have the duration auto-update. In this example, I will make the actual durations auto-update when one of the fields is changed. If the duration is changed, then the end date will be changed.

Click to continue reading
Click Here To View Post With Syntax Highlighting

By default, CRM’s quick find, the find you use on any of the standard search pages, does not let you find inactive items. Here is way to modify the system views for an entity, like the QuickFind for Cases. I modified the criteria to allow text searches to search both active and inactive cases.

Click to continue reading
Click Here To View Post With Syntax Highlighting

CRM 4.0has an endless amounts of system job logs. We perform automatic actions on a lot of entities, but we don’t need the log of those automatic actions beyond the end of that working day if it was Canceled or Completed Successfully. Now we can setup a custom bulk deletion job that won’t keep those successful entries.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Paging Limits control how many items show up on the list pages in crm. Most notably advanced finds. I like to be able to display a lot of information, and I need to be able to run operations on more than 250 items. Using the following SQL query I was able to increase my paging limit to 1000.

UPDATE UserSettings SET PagingLimit=1000 WHERE SystemUserId IN
(Select SystemUserId from SystemUserBase WHERE FullName like 'Carlton%')

Click Here To View Post With Syntax Highlighting

The CRM 4 System Administrators group does not have access to assign other people’s saved advanced finds (user queries). I have created a single aspx page that uses the CRM SDK to allow a system administrator to assign any user’s saved view to another user.

Click to continue reading
Click Here To View Post With Syntax Highlighting

© 2011 MSCRM Blogger

This site does not necessarily represent the views of Microsoft. The material posted on this blog are provided AS-IS, and you are to use the content at your own risk. Some of the code and information on this site may use unsupported methods. If you experience any problems using the information provided through this website, please post a comment and we will do our best to assist you, however, we can in no way guarantee support or resolution.

Microsoft Dynamics®, Silverlight®, Visual Studio®, and the corresponding logos are a registered trademarks owned by Microsoft Corporation. MSCRM Blogger has made every effort to supply trademark information about company names, products, and services mentioned on this blog. All third party trademarks are the property of their respective owners. Any rights not expressly granted herein are reserved.