Help with default status --All-- on search screen

Hoping someone can assist me with the Lead List that appears on the screen if a user sets their Log Me In To: Lead List in user preferences. I am wondering where this Lead List is controlled. When they login, the status defaults to --All--. However, I need to change this to In Progress.

I noticed when you go to My CRM and choose Leads from the drop down menu, the Status defaults to In Progress here. (It appears this screen gets its definitions from LeadListFilter. Although, I see nothing on the definitions that appears to tell the system to default to "In Progress".

If I go to System Menus for MyCRM (User), I can see the lead menu item is set to the system action leadlist.

It seems to me that this is not the same "Lead List" that was set in preferences because it behaves differently.

I have tried adding a crm.ready function to the custom content area for the LeadListFilter screen. (I also tried it on the Lead Grid and Lead List...even though I didn't really think it belonged there.) This is what I did...

<script>
crm.ready(function(){
var mystatus = crm.fields("lead_status");
if (mystatus.getMode()=="View")
{
mystatus.value("In Progress")
}
})
</script>

Am I on the right track? Or way over in left field. If anyone can assist me with how to set the lead status to "In Progress" for the Lead List that is used as a login in user preferences. I would greatly appreciate it! (It will also help me to avoid hitting my head repeatedly on my desk! :-))

Thank you!!

  • 0

    Michele

    There is some behaviour that is driven by the DLL - it is designed like this.

    The simplest this you can do here - especially if you always want the LeadList to be automatically filtered by the user is to add the following script

    DefaultValue = "In Progress";

    To the lead_status field in the LeadListFilter screen in the admin area

    Administration -> Customisation -> Lead

  • 0

    Hi Jeff:

    Thanks! Hmmm...this is the first thing that I tried (before going to the custom content)..the result was to display a message in red on the screen of what I typed. However, I think I did not put the ; on the end. Therefore, I will go back and try it again.

    When it works..I will bang my head on my desk a couple of times but then I will rejoice that Jeff has saved me once again!

    Your awesome! Thanks!

  • 0

    Jeff..this resolved my issue....thank you! thank you! thank you!

    I either did not enter it correctly (syntax) or entered it on the wrong screen. I need to work on my javascript!

    As always...thank you for your assistance!