Timeline for Open mail client when clicking feature in Attribute Table
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2015 at 0:29 | comment | added | dakcarto | @user25976 You will need to listActions() and iterate through them until you find if there is already an action in there that you want to delete, then removeAction(index), or add it if it doesn't exist. See QgsAttributeAction class | |
Jan 21, 2015 at 19:20 | comment | added | user25976 | @dakcarto how do you clear the action properly? i've included the addAction in a function tied to a button click. my issue is that I keep adding the same action every time this button is clicked. | |
May 1, 2014 at 6:33 | comment | added | user28233 |
Yes, I figured that out and did substitute EMAIL with my own attribute field name (in this case address ). Still, the problem persist.
|
|
May 1, 2014 at 5:14 | comment | added | dakcarto |
In this example, [% "EMAIL" %] is the (sample) attribute field name whose value will be substituted. You will need to change that to whatever your field's name is.
|
|
Apr 30, 2014 at 20:01 | vote | accept | user28233 | ||
May 1, 2014 at 7:55 | |||||
Apr 30, 2014 at 19:59 | comment | added | user28233 | Thank you for an exemplary reply. It sort of works for me. Activating the action opens Outlook with a new mail window, but the email address is not filled in. Am I missing something to pass the address along? | |
Apr 30, 2014 at 17:31 | history | answered | dakcarto | CC BY-SA 3.0 |