Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > How to use task data in Scheduled tasks View modes: 
User avatar
Member
Member
deepanshp-gmail - 12/27/2010 3:48:46 AM
   
How to use task data in Scheduled tasks
I am unable to find any description about task data usage.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/27/2010 4:31:28 AM
   
RE:How to use task data in Scheduled tasks
Hello.

This property is some string, containing task parameters. It is stored in CMS_ScheduledTask.TaskData column.

You can put some parameters here and process them in code. "Task class name" property defines class which is executed for given task, and you can access task data within this class/code as task.TaskData property.

So, for example, you can have 2 scheduled tasks for 1 class with different parameters.

Best Regards,
Radek Macalik

User avatar
Member
Member
deepanshp-gmail - 12/27/2010 6:01:36 AM
   
RE:How to use task data in Scheduled tasks
ok Thanks