Look at this nice article from Nishant Rana
Look at this nice article from Nishant Rana
As i need to register my Custom workflow with plugin registration tool , I have opened it , provided all the details and entered password.
I got a strange error…
The provided uri did not return any Service Endpoints!
Then i found solution for this on web ..
Simply recycle the CRMAppPool.
I have logged into server to recycle app pool, But i stopped app pool, Instead of Recycle.
My bad.. Then when i tried starting the same app pool… I got the below error..
Cannot Start Application Pool
There was an error while performing this operation.
The service cannot accept control messages at this time. (Exception from HRESULT: 0x80070425)
The above error was because app pool STOP was not completely done before i click on start..
Waited for sometime and started app pool. Opened plugin registration tool.. I could see All Is Wel…
Hope this helps somebody.
Recently i was trying to add Quick view on my form. I do not see that quick view is being added.
Then i have tried the same in my colleagues machine, i see the same issue. I tried the same in IE, It worked.
Later i checked the version of Chrome. It is v37.
Most of the customization will not work in chrome v37 version. Just to make sure this i have tried in other machine which has different version of chrome than v37, it worked perfectly. I have wasted lots of time trying to make things working on chrome v37.
Better use IE for all customizations..
For more information : http://xrmrocks.com/2014/09/08/chrome-37-breaks-crm-2011-functionality/
Hope this helps..!
Here is an interesting fact about ribbon behavior in CRM 2013.
With the command bar, commands that are disabled are hidden. With the ribbon, commands that are disabled are visible but do not respond to events.
And observed that ribbon button will be visible when my JS returns true but if it returns false it is hidden.
I have waste lots of time debugging the script and finally found this MSDN artcile. This is by design of CRM 2013.
Hope it helps..!
This article talks about persisting recently viewed items after you log in.
As we know that , we will loose recently viewed items history on closing of browser, here is a small setting which will persist them.
If it is IE, uncheck “Delete browser history on exit”. So that it will not delete the history and items can be seen once you re log in.
Internet Options –> General –> “Delete browser history on exit”
Hope it helps..!
You might be wondering why MS have deprecated Save & new in CRM 2013? Do you?
Well, Here is some information about it.
Save and New is not deprecated in 2013, But it is hided in CRM 2013. And it very easy to bring it back by customizing ribbon enable rules.
1. Open Ribbon work bench. And open the solution which contains the entity for which you want to bring back Save & New.
2. After opening select the entity from Entities.
3. Click on ribbon and Select Form.
4. Select Save & new , right click on it and click customize Command.
5. in commands select button command which is used for Save & New.
6. Click on Display rules in right side. It will open a popup with display rules.
8. Click ok and Publish the solution.
9. You should be able to see Save & New button on your entity.
Hope it helps some one.
I have been going through few articles, I can see limitations of most of the concepts.
Came up with an idea to incorporate all the limitations of CRM concepts which may help people who are new to CRM.
The information is being grabbed from different resources.
There are few limitations of Dynamics CRM 2011 Online. Many of them are due to the nature of being on Cloud. In my opinion the advantages of being on Cloud far outweigh the small number of limitations it possesses. These limitations are:
SELECT * FROM account WHERE telephone1 <> telephone2
The right side of the comparison has to be a constant value.
SELECT a.* FRM entity1 a INNER JOIN entity2 b ON a.entity1id = b.entity1id WHERE a.name = '123' OR b.name = '123'
If you ever have to do so, you would have to break the query into two, and get the results by issuing two queries against CRM server separately, then merge the result set.
This is what I have got so far. Please let me know if I have missed anything.
1) The $format and $inlinecount operators are not supported. $filter, $select, $top, $skip, $orderby are supported.
2) Maximum 6 expansions are allowed using $expand operator. Querying a multi-level relationship property is not supported i.e. One level of navigation property selection is allowed.
3) Page size is fixed to max 50 records however it can be changed by doing changes in advanced configuration settings but it is not recommended.
4) When using with distinct queries, we are limited to the total (skip + top) record size = 5000. In CRM the distinct queries does not use paging cookie and so we are limited by the CRM platform limitation to the 5000 record.
5) Conditions on only one group of attributes are allowed. A group of attribute refers to a set of conditions joined by And/Or clause.
6) Arithmetic, datetime and math operators are not supported.
7) Order by clause is only allowed on the root entity.
8) Only Create, Retrieve, Update and Delete actions can be performed on entity records.
Messages that require the Execute method cannot be performed.
Associate and Disassociate actions are performed as updates.
9) Authentication is only possible within the application; Use of the REST endpoint is effectively limited to JScript libraries or Silverlight Web Resources.
10) The OData protocol is not fully implemented in CRM 2011. Some system query options are not available.
I got asked a couple of days ago if I knew of a blog which listed the limitations of using an Advanced Find query. I knew of a couple of the limitations off of the top of my head but could not find a blog summarising them. So here it is.
In my opinion, other than being able to do aggregate calculations, this is the biggest limitation of Advanced Finds. So what is an ‘Outer Join’?
Let us say we have two tables in a database, the Account and Contact table. Advanced Find allows to ask questions like ‘Show me all Accounts which have a Contact whose first name is John’ or ‘Show me all Contacts where their Account is in the Mining industry’. In these cases a record exists in both tables e.g. an Account record linked to a Contact record whose name is John. This is called an ‘Inner Join query’.
However, if we ask ‘Show me all Account with no Contacts’ we cannot do it. In other words, if we ask questions where there is a record in one table and none in the other table we will find it impossible with Advanced Find. This is an ‘Outer Join query’. Other examples are reports showing neglected leads (leads with no activity for six months) which cannot be done with Advanced Find.
In the case of Accounts, Contacts and Leads, we can get around the problem using a Marketing List. In the above example, we can add all Accounts to the Marketing List and then remove those with a Contact, leaving behind the desired list. For other types of records, the only option is to have a flag field to help us. For example, we can have a ‘Contact Flag’ field on the Account which is populated when there is an active Contact associated to the Account. We can then use this flag to return ‘All Accounts with an unticked Contact Flag’, satisfying our Outer Join query.
Titles are NOT restricted to just the search entity. For example, if we are searching for all Contacts in a certain industry, we can bring in fields from the Account entity, by dropping down the entity selection when adding columns.
However, we can only go one level up. So, for example, if we want to ask ‘Show me all Appointments regarding Opportunities where the Account is in the mining industry’, we can display Appointment fields as columns and Opportunity fields as columns but we cannot browse up to the Opportunity’s associated Account and show their fields. In this case, the only workaround available is to replicate the key fields from the Account onto the Opportunity and then reference these copied-fields.
Let us say we want to know ‘All Accounts where the Account is in Sydney OR the Account has a Contact in Sydney’
We can write the above query but this asks for Accounts which are in Sydney AND has a Contact in Sydney. Normally we would use the ‘Group OR’ button at the top but this can only apply to conditions within the same entity and therefore we cannot group them. In this case the best we can do is run the query twice (once for the Account rule and once for the Contact rule), export to Excel and combine manually.
Advanced Find is one of the most powerful and accessible features of Dynamics CRM and any site not making full use of this function is missing out. Even those sites using it every day may not discover the limitations listed above. However, now you are aware of them, if you do find yourself coming up against one of them, you have some workarounds or the opportunity to rethink to see if you can gain insight through an alternative, supported, query.
Field Level Security
you need to be aware of following limitations.
1. For the System entities, such as Account, Contact, Lead etc., only the custom fields can be setup to have field-level security.
2. For Customer entities, all fields can be setup to have field-level security.
Please add your points if you think that any other concept has limitations.