keyongtech


  keyongtech > crm.* > crm.developer

 #1  
04-30-09, 08:00 PM
deppsan
Hi,

I am looking for a way to search for disqualified leads. I know that you can
find those leads by using advanced search. But most users just do not use
advanced search.

Any suggestions are appreciated.

Thanks in advance.

deppsan
 #2  
04-30-09, 09:43 PM
Mark Kovalcson
Create a new view with whatever search criteria you need.

Then they can just pick that view.
 #3  
05-01-09, 10:39 AM
deppsan
Thanks for your tip. But as of today there are about 4,000 disqualified leads
which are kept as simple addresses. Because of the amount of data users are
overwhelmed by using a view if they are looking for one specific disqualified
lead.

"Mark Kovalcson" wrote:
[..]
 #4  
05-01-09, 03:42 PM
Mark Kovalcson
4,000 doesn't seem like a terribly large list.

Just make sure that your search criteria for this view are good.

That way they bring up the view once and then type in a zip code, or
first name or last name, or city or whatever their favorite criteria
is to filter the view down to a more managible number.
 #5  
05-03-09, 08:10 PM
deppsan
Hi,

I published a new view that only shows leads with status equals unqualified.
But I cannot search inside the leads shown in this view. If I enter 'John'
inside the search box and execute the search I will not find any unqualified
leads. Although I know for sure that there are closed leads with first name
'John'. The same holds true for other fields of the lead entity. The CRM
search seems to be restricted to open leads.

My preferred solutions would be something as follows:

1. User enters his search criteria inside the search box.
2. User executes the search.
3. Search returns all leads matching the search criteria regardless of their
status.

Do you see any solution that would come close?



"Mark Kovalcson" wrote:
[..]
 #6  
05-06-09, 12:31 PM
Mark Kovalcson
I see your issue now.

The quick search has a default filterfor disqualified leads. What you
need to do is delete this default filter.

Here is a link for an unsupported way to remove this filter by
manually editing the customizations.xml file.
http://ryandev.com/how-to-include-in...40-quick-find/


Below is the code of something similar that I am using to remove a
condition for an associated view of a custom entity of mine.

Stage = preStage
Message = RetrieveMultiple
entity = lead
Parent Pipeline

There may be a similar way to remove a condition from the Quick Find
of a lead, but the unsupported modification above will get you to your
solution sooner.


public class AssociatedViewPlugin : IPlugin
{
// Configuration information that can be passed to a plug-in
at run-time.
private string _secureInformation;
private string _unsecureInformation;

// Related SDK topic: Writing the Plug-in Constructor
public AssociatedViewPlugin(string unsecureInfo, string
secureInfo)
{
_secureInformation = secureInfo;
_unsecureInformation = unsecureInfo;
}

public void Execute(IPluginExecutionContext context)
{
if (context.InputParameters.Contains(ParameterName.Qu ery))
{
QueryExpression qe =
context.InputParameters[ParameterName.Query] as QueryExpression;
// If it's RetrieveMultiple multiple with two
conditions
if (qe.EntityName == context.PrimaryEntityName
&& qe.Criteria != null
&& qe.Criteria.Conditions != null
&& qe.Criteria.Conditions.Count == 2)
{
// If first condition is a statecode filter for
inactive entities
ConditionExpression ce = qe.Criteria.Conditions[0]
as ConditionExpression;
if (ce != null
&& ce.AttributeName == "statecode"
&& ce.Operator == ConditionOperator.Equal
&& ((int)ce.Values[0]) == 0)
{
// Remove statecode filter
qe.Criteria.Conditions.Remove(ce);
}
}
}
}
}
Similar Threads
Changing field leads to "the search key was not found in any recor

On our Install Order form, if user changes value of combo box OrderStatus (with row source of a list table), when the user then tries to go to another record, it displays...

Search for leads that have no activities

We're using CRM 4.0 How do I search for open leads that have no activities. Seems like you can't do this with advanced find. The out of the box view for "leads : no...

Search Leads and Contacts

Ok I maybe missing something here as I can't belive MS will have designed it like this. Obvioulsy I have a mass of Leads as well as contacts within my CRM. I need staff...

Double click folders leads to "Search Results"

This just started happening. The only thing I've done lately is install iTunes 7. Clicking on any folder on the Desktop or My Documents or My Computer, etc. leads to...


All times are GMT. The time now is 06:39 PM. | Privacy Policy