Theoretical Update Assigned Task

W

Wayneb

I have had a requirement land on my desk to allow certain users the ability
to edit tak they have already assigned. Now we all know that this can't be
done out of the box so I've put in some thought and come up with a possible
solution that may (hope!) work. I just wanted to run in past you guys.

1. Create a COM Add-in that adds a simple 'Update' button to an assigned
task.
2. Once clicked a new task is created but copying over the details of the
assigned one.
3. Keep the PR_STORE_ENTRYID of the original task and pass it in one of the
hidden fields (yet to be decided) on the new task.
4. At the receivers end...
5. Once a task is received, look for the hidden field and if it contains a
PR_STORE_ENTRYID delete the existing record and automatically accept the new
one.

Sounds simple but it cant be that easy. Can it? Personally I'd just give
the person Editor permission on my tasks folder but some people like the
power.

The PR_STORE_ENTRYID seems to be the only decent id that is common to both
the assignee and assigned task item.

Comments would be greatly received.
 
K

Ken Slovak - [MVP - Outlook]

How would you tell if the same manager assigned 3 tasks to a person and then
updated all of them? They'd all have identical StoreID properties.

StoreID is based on the mailbox of the person assigning the task, so your
algorithm needs to account for multiple items from the same mailbox. You
need another GUID that is added to the TaskRequest before it's sent out and
preserved on the copy of the task in the mailbox of the person who assigned
the task. That way you can isolate on each task based on not only the
originating mailbox but also the specific item.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top