Method Community

 

Searchable Item List for Mobile

Last post 03-07-2011 2:02 PM by Method_Michael. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-02-2011 10:55 AM

    Searchable Item List for Mobile

    Is it possible to add a searchable item list for the mobile screen?  I didn't know if there was good reason to avoid this as it's obviously been avoided by Method. 

    If this is possible and ok to do, can someone give me a hint as to how to make this happen? 

  • 03-02-2011 11:16 AM In reply to

    Re: Searchable Item List for Mobile

    More specificallym, how do I get my new items list to show up in the mobile dropdown list currently occupied by customers, invoices and estimates?  When I add it as a tabbed link, it shows up as a tab instead of in the dropdown menu.

  • 03-02-2011 12:35 PM In reply to

    Re: Searchable Item List for Mobile

    pdirect,

    When you created the screen did you optimize it for mobile? If not to do this edit the Screen and click Advanced you should see a check box for Optimize for mobile device, make sure that is checked.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 03-02-2011 3:22 PM In reply to

    Re: Searchable Item List for Mobile

    Yes, that allowed the item list to be added to the dropdown list instead of a tab. 

    Now I'm trying to get numerical fields to display.  I got the following code to work in the grid view custom SQL:

    '<b>' + FullName + '</b><br />' + SalesDesc

    BUT it won't work when I add QuantityOnHand and/or SalesPrice into the code.  I assume this is because they are numerical fields.  Is there something special I need to do in the code for numerical fields?

  • 03-03-2011 10:03 AM In reply to

    Re: Searchable Item List for Mobile

    pdirect,

    Since they are numeric values you will need to cast them to varchars an example of casting would be CAST( EmployeeID as varchar(5) ).

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 03-03-2011 4:12 PM In reply to

    Re: Searchable Item List for Mobile

     Ok, what about IncomeAccount.  This won’t display either in a grid.  Is there special code for this as well?

  • 03-04-2011 8:22 AM In reply to

    Re: Searchable Item List for Mobile

     pdirect,

    I will have to look into this further. The IncomeAccount field is a drop down type field that references FullName in the Account table, I will need to verify if drop down fields are a special case. Do you mind posting the SQL you have at the moment or emailing it to me?

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 03-07-2011 2:02 PM In reply to

    Re: Searchable Item List for Mobile

    Answer

    pdirect,

    I would try something along the lines of:

    FieldName1 + Fieldname2 + (CASE WHEN [FieldName3] IS NULL OR [FieldName3] = '' THEN '' ELSE [FieldName3] END)

    Where FieldName represents the fields you are trying to use. The Case helps prevent potential issues caused by null or blank values.

    You may also have to add all the field used into the Filter fields section.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
Page 1 of 1 (8 items)