Workaround: a standard workflow or advanced workflow is enough to change "Sync to mail client" to "Yes" every time a new Contact is created?
This checkbox is unique to each user. When User A checks this checkbox, it is not checked for User B. Given this, it may not be possible to use Workflow Management to check this checkbox automatically. If this option is provided in the future, then it will probably be at a system-level setting where the admin user can choose to set this option or not, because if it is set, then all users will be forced to sync to their email client.
I'm sure there's a way to customize this via the code, maybe someone has some suggestions as to how that can be accomplished.
I believe you can achieve this by leveraging the logic hooks.
I am not sure if there is a bean called contact_users but you can insert a record using a sql query.
basically when this checkbox is checked and save button is clicked this query will be ran:
INSERT INTO contacts_users (id,contact_id,user_id,date_modified,deleted) VALUES ('82cd0e07-e225-f130-68b0-5881be1e5ad5','4a335508-7672-6927-f29c-587f7add8eb0','1','2017-01-20 07:39:13','0')
what's important is the third column of that parameter which is the user_id.
you can set the user_id only for the users who created that contact or you can use a loop to cycle through all users and insert that record for all users.
obviously this is not a perfect way to approach this problem because if your company has so many users you will run into performance issues eventually.
also make sure to run this logic hooks only for new records only.
anything new about that?Facing the same issue.
Retrieving data ...