how to get card ids for a contact (group)
Answers
-
I am not sure I understand your question completely but if you use the following:
hm_getvalue groups name="GroupName" dataname=id
that will give you the id of the group with name GroupName.
If you want the user to select groups you could use:
*createmarkpanel groups 1
set grpList [hm_getmark groups 1]
Which would give you a list of ids selected by the user.
If you are looking for the the contact surfaces of a contact group then use something like this:
set mainSurfList [hm_getvalue groups id=1 dataname=maincontactsurflist]
set secondarySurfList [hm_getvalue groups id=1 dataname=secondarycontactsurflist]
0 -
Ben Buchanan said:
I am not sure I understand your question completely but if you use the following:
hm_getvalue groups name="GroupName" dataname=id
that will give you the id of the group with name GroupName.
If you want the user to select groups you could use:
*createmarkpanel groups 1
set grpList [hm_getmark groups 1]
Which would give you a list of ids selected by the user.
If you are looking for the the contact surfaces of a contact group then use something like this:
set mainSurfList [hm_getvalue groups id=1 dataname=maincontactsurflist]
set secondarySurfList [hm_getvalue groups id=1 dataname=secondarycontactsurflist]
Refer the attached image
I am trying to read the card.. so i need a command to read the card ..
and also to know the card id
0 -
Sachi Takalkar said:
Refer the attached image
I am trying to read the card.. so i need a command to read the card ..
and also to know the card id
You want a tcl command to open the card image?
Do you want the ids of all the contact groups or just for a specific one? If just for a specific one how are you selecting that one?
0 -
Ben Buchanan said:
You want a tcl command to open the card image?
Do you want the ids of all the contact groups or just for a specific one? If just for a specific one how are you selecting that one?
ik the group id but from there i want to read the card ... for all groups
In TCL for the command [hm_getvalue cards id=? dataname=...] I dont know what to put for card id ... it does not accept group id ...
also i want a specific command to read the card
0