Error :The provided uri did not return any Service Endpoints! with Plugin Registrattion tool CRM 2011

Hi ,

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.

Details:

The service cannot accept control messages at this time. (Exception from HRESULT: 0x80070425)
—————————
OK
—————————

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.

Thank you,

Sreeni Pavalla

Advertisement

Customization issues with Chrome v37 CRM 2013

Hi,

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.

Chrome Version

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..!

Thank you,

Sreeni

Command(Ribbon) button Enable rules behavior in CRM 2013

Hi Guys,

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.

Recently i have created a ribbon button through Ribbon-work bench and used Custom JavaScript enable rule on form level.

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..!

Thanks,

Sreeni Pavalla

 

Persist CRM 2013 Recently viewed items on closing browser

Hi,

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..!

 

 

UnHide or restore “Save and New” button in CRM 2013.

Hi Guys,

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.

ribbon

4. Select Save & new , right click on it and click customize Command.

customize

5.  in commands select button command which is used for Save & New.

command

6. Click on Display rules in right side. It will open a popup with display rules.

display7. Select HideOnCommand Bar and click on Remove. This is how you click once you remove.

display2

8. Click ok and Publish the solution.

9. You should be able to see Save & New button on your entity.

button

Happy Customizing..!

Hope it helps some one.

Thank you,

Sreeni Pavalla

Limitations of different CRM Concepts(CRM Online Vs On Premises , FetchXML, OData EndPoint and Advanced Find)

Hi Guys,

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.

Limitations of Dynamics CRM Online Vs On Premises

Limitations of Dynamics CRM Online Vs On Premises

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:

  • There is a limitation to maximum number of custom entities that can be created. Looking at the brighter side, this limitation is practically very high. Rarely can any of the enterprise level CRM 2011 projects max out this limit of custom entities.
  • You have to pay for every GB of database usage.  If your CRM 2011 has significant file attachment requirements then the database size could go in terabytes. To minimise these costs, companies can use a document storage solution such as SharePoint 2010 along with Online Dynamics CRM 2011.
  • Dynamics CRM online doesn’t support custom workflow activity assemblies. The business rules and the functionality which you intend to run should be put inside a plugin. (Custom workflows have been added as ofupdate rollup 12  )
  • Fully trusted plugins are not supported. Whenever you create plugins for Dynamics CRM online always test your plugins in sandbox mode. Dynamics CRM online only support plugins to run in sandbox mode.
  • Custom ASPX pages are not supported for customising Dynamics CRM online.
  • Custom SSRS reports which are based on “TSQL and filtered views” data sets are not supported. Dynamics CRM 2011 online only supports Fetch XML based custom reports. TSQL gives you much more flexibility as compared to Fetch XML.
  • A normal On-premise user CAL can be used in multiple environments, ex. QA, production, training, staging, development. In CRM-Online, a separate user access has to be bought for each organization. [Update: Additional lnstance licensing  has now been added to Dynamics CRM Online where a single user license can be used across multiple instances   without the need to purchase separate CALs.]
  • Report snapshots are not supported and/or access to create report subscriptions through the SQL Server Reporting Services Manager is not available.
  • There is a limit of 300 custom entities with Dynamics CRM Online.
  • You are limited to 200 Workflows and Dialogs in Dynamics CRM Online.

Source: http://social.technet.microsoft.com/wiki/contents/articles/9675.microsoft-dynamics-crm-2011-limitations-of-dynamics-crm-online-vs-on-premises.aspx

Limitations with CRM FetchXML

  1. RIGHT OUTER JOIN is not supported.
  2. You can’t compare two fields directly. For instance, you won’t be able to find an equivalent query for the following SQL script:
    SELECT * FROM account 
    WHERE telephone1 <> telephone2

    The right side of the comparison has to be a constant value.

  3. You can’t have OR condition across entities. For instance, the following SQL query is not supported by FetchXML.
    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.

  4. You can’t use SQL functions in FetchXML query. CRM has support for some built-in functions, but any additional SQL functions are not supported.
  5. When you issue a FetchXML query, the maximum number of records you get back from CRM server is 5,000 each time. If you want to get more records from CRM server, you would have to use paging cookie.
  6. You can’t have more than 10 linked entities in a FetchXML query. It is possible to overcome this limit by creating or updating a QueryLinkEntityLimit setting, however this is generally not recommended. If you ever run into this situation, you would definitely want to re-visit your CRM data model or re-engineer your query.
  7. When you perform an aggregation, the maximum number that will participate in the aggregation will be 50,000 records. For instance, if you do a COUNT aggregation, the maximum value you can get back from CRM is 50,000 even though that you might have more records in the system. This is a by-design behavior which is for performance reason. This can be overcome by updating “AggregateQueryRecordLimit” setting, however it is generally not recommended.
  8. There is no way to use subquery.
  9. There is a wacky limitation that you can’t have more than 2097 conditions per filter, according to Daniel Halan.

This is what I have got so far. Please let me know if I have missed anything.

Source: http://www.kingswaysoft.com/blog/2013/06/18/Limitations-with-CRM-FetchXML

Limitations of OData EndPoint in CRM 2011

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.

Source: http://ankit.inkeysolutions.com/2012/03/limitations-of-odata-endpoint-in-crm.html

Three Limitations of Using Advanced Find

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.

Outer Joins

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

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.

image

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.

Grouping Conditions Across Entities

Let us say we want to know ‘All Accounts where the Account is in Sydney OR the Account has a Contact in Sydney’

image

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.

Conclusions

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.

Source: http://leontribe.blogspot.in/2013/04/three-limitations-of-using-advanced-find.html

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.

Thank you,


Sreeni Pavalla

%d bloggers like this: