Assign resources

Q

question

Hi,

I have a requirement of assigning tasks to resources dynamically. If the
value selected for custom dropdown field in say "testvalue" then I need to
assign this task to say "testuser" who is an enterprise user. I have to do
this at the time of publishing.

Any pointers will be helpful.

Thanks,
Sreeja
 
Q

question

what I am planning to do is create a common user which is not a active
directory user,and will assign this user if the below condition is met. This
is for reporting purposes.
can you please help me with the custom code.
 
Q

question

One question. This has to be a VBA macro?...or a PSI code. If PSI which event
handler?


Thanks.
 
Q

question

Thanks, That works.
But how will I deploy it for all the projects in my project server.
Also, can I run this automatically, whenevr a project is published.

Thanks.
 
Q

question

Thanks.
But I dont want the user to run the macro, it should automatically run when
the user publish the project.

Is there any way I can achieve this.

Thanks.
 
Q

question

Thanks Paul.
I actually wrote this piece fo code in before_save event of project and
deployed it in egobal file. So that solved my problem

Another issue I am facing is When I say in VBA username ="test user" it
actually gets published only after the 2nd save. After first save, I can see
the values getting assigned in my resource column but not ctually coming in
my report. So I have to do save/publishs 2 times to get this into report.

Another issue is whnever I assign a resource through VBA it takes the user
as a local resource, and I have a enterprise resource with the same name. So
while saving, it asks me whther you want to replace your local resource with
e.resource.
Can I savoid this message, by refering to the enterprise resource in VBA.

Please help me.

Thanks again for all your help.
 

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