AutoContacts Group field

Discussion in 'AutoApps' started by jfeldredge, Jul 10, 2019.

  1. jfeldredge

    jfeldredge New Member

    Joined:
    Jul 10, 2019
    Messages:
    5
    Likes Received:
    0
    What comtact field does the Group field (used in filtering, and returned in %acgroups() correspond to? It does not bring back the contents of the Contact Label field.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,332
    Likes Received:
    711
    What action are you using exactly?
     
  3. jfeldredge

    jfeldredge New Member

    Joined:
    Jul 10, 2019
    Messages:
    5
    Likes Received:
    0
    I am using the Query 2.0 function of AutoContacts, and one of the fields I am telling it to return is the group. Android 8.0.0 does not have a contact field named Group, but it does have a field named Label, which serves the same purpose.

    Sent from my XT1710-02 using Tapatalk
     
  4. jfeldredge

    jfeldredge New Member

    Joined:
    Jul 10, 2019
    Messages:
    5
    Likes Received:
    0
    Since my previous reply didn't go through, I will reply again. I am searching using Query 2.0, with the email address as the search criterion. I am telling Query to retrieve the Name and Group fields. Name is populated, meaning that it found the contact, but the %acgroup_label() is not populated. I am running Android 8.0.0. The contacts editing dialog has a field named Label, but not one named Group.

    Sent from my XT1710-02 using Tapatalk
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,332
    Likes Received:
    711
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  6. jfeldredge

    jfeldredge New Member

    Joined:
    Jul 10, 2019
    Messages:
    5
    Likes Received:
    0
    Contacts Test (11)
    A1: AutoContacts Query 2.0 [ Configuration:Email Addresses: support@joaoapps.com
    Sort Direction: Ascending
    Fields to Get: Id,Name,Email Address,Email Address Type,Group Label
    Joiner: =:= Timeout (Seconds):60 Continue Task After Error:On ]
    A2: Flash [ Text:%acname()|%acemail()|%acgroup_label() Long:Off ]

    The name and email is fetched, but not the group.

    Oh, by the way, the email address query is case-sensitive. You might want to make it ignore case, or have this as an option.

    Sent from my XT1710-02 using Tapatalk
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,332
    Likes Received:
    711
    Can you try just fetching the id, name and group and see if that works?
     
  8. jfeldredge

    jfeldredge New Member

    Joined:
    Jul 10, 2019
    Messages:
    5
    Likes Received:
    0
    This fetches the group ID, in the group label variable, but not the actual group label


    Contacts Test (11)
    A1: AutoContacts Query 2.0 [ Configuration:Names: Joaoapps
    Sort Direction: Ascending
    Fields to Get: Id,Name,Group Label
    Joiner: =:= Timeout (Seconds):60 Continue Task After Error:On ]
    A2: Flash [ Text:%acname()|%acemail()|%acgroup_label() Long:Off ]


    Sent from my XT1710-02 using Tapatalk
     
: Contacts, Groups

Share This Page