Task Form Title

May 27, 2009 at 9:59 AM

Hi,

Is there an easy way to programmaticaly change the Task Form Title from the Task Control?

Coordinator
Jun 7, 2009 at 10:14 PM

You can currently do this through two ways:

In the workflow.xml file use the <Task_<ID>_HeaderText> for a static text,

<MetaData>
  <Task_0_HeaderText>My Task</Task_0_HeaderText>
</MetaData>

In the workflow.xml file, use the <Task_<ID>_HeaderUrl> for a dynamic text

<MetaData>
  <Task_0_HeaderUrl>/_controltemplates/Sample/Sample.ascx</Task_0_HeaderUrl>
</MetaData>

Inside the control you can access details about the workflow.