Thursday, October 8, 2015

TIPS for solution

This is continuation for my last post. Last post we learn how to convert a managed component in to unmanaged.

Now how do you back track a specific component to identify the source solutions regarding that?

Assume you installed different versions of same component as managed or unmanaged solution in CRM.
For ex:- PluginA and JSfileB was part of solution1, Solution2, Solution3 and Solution N. How do you identify which one is latest regarding PluginA .

Here is the method for plugin Assembly
select s.FriendlyName, P.CreatedOn,P.CreatedByName from PluginAssemblyAsIfPublished  p join Solution s on p.SolutionId=s.SolutionId
where P.Name=<PluginAssemblyName> order by P.CreatedOn desc


For Other web resources
select s.FriendlyName, P.CreatedOn from WebResourceAsIfPublished  p join Solution s on p.SolutionId=s.SolutionId
where P.Name=<WebResourceName> order by P.CreatedOn desc


Enjoy!

No comments: