VMware {code} Community
emscroger
Contributor
Contributor

Example code for adding to Recent Tasks


I would like to track action progress using the Recent Tasks view.   I can't seem to find any sample code to help.   I saw some other threads that suggested looking at the WSSDK, but I didn't find anything there either.


I see there are objects such as TaskManager and TaskInfo, but I can't figure out how to createTask properly.  Also, it looks like I would need to register my custom task, and I don't know how to do that either.


Suggestions?


-E

3 Replies
emscroger
Contributor
Contributor


Ok, I found some sample code in some other forum.  I was able to register an extension for my task.  I also was able to create a task using the TaskManager.   Now my custom task shows up as queued, but I don't know how to update the task to say it is complete.


Help?

Reply
0 Kudos
laurentsd
VMware Employee
VMware Employee

This is a vSphere Management API question, not a Web Client SDK question. So I am moving your thread to that forum for others to answer.

Reply
0 Kudos
acwang27
Contributor
Contributor

Hi. I have the same question here.

Could I ask where do you find the sample code? You mentioned you have found another community somewhere.

Thanks in advance!

Reply
0 Kudos