Hi Paul,

 

Thanks for that ... Actually the workflows we are developing are in VS, and
we're getting most of the features of the custom content types for tasks
working, just this remaining one of the "Content Type" column being visible
when we don't want it remains.

 

The key gotchas we came across when creating tasks based upon these custom
content types included:

.         Using the CreateTaskWithContentType activity in the workflow
instead of CreateTask,

.         Ensuring you have the content type specified associated with the
task list you're creating them in,

.         Ensuring when you re-release your content type again, that you
disassociate the old version from the task list, and associate the new
version, otherwise tasks using the earlier version of the content type will
keep getting created, and

.         All the usual stuff about getting correlation tokens straight etc
etc

 

Not sure whether this is relevant to the problems you experienced, as it
sounds like your workflows are designer built workflows.

 

But as I said it's just this one remaining stumbling block the "hiding" of
this "Content Type" column when editing the task ...

 

Cheers,

Trevor

 

From: Paul Noone [mailto:[EMAIL PROTECTED] 
Sent: Monday, 28 July 2008 10:50 AM
To: Trevor Andrew
Subject: RE: [OzMOSS] Custom Task Content Types - can I hide the "Content
Type" column when editing task

 

Hi Trevor,

 

I've run into the same issue with the custom task columns appearing
unbidden. It's a right pain.

 

I would have thought that creating a custom content type on a task list
meant that when you targeted that list with a workflow which creates a new
task, it would display the custom columns within the edit form for that
item. Alas, no.

 

Seems the built-in "Create task" function is hard-wired to use the Task
content type and not the columns or custom content types associated with
your list.

 

Looks like VS is the only solution for developing real custom workflows
without having to resort to K-2 or some other horrendously expensive
solution.

 

We've had to go down the event handler path to try to automate this
workflow, especially with regards to querying AD for the user's manager etc.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Trevor Andrew
Sent: Monday, 28 July 2008 10:33 AM
To: [email protected]
Subject: [OzMOSS] Custom Task Content Types - can I hide the "Content Type"
column when editing task

 

Hi All,

 

I've created a number of custom content types that inherit from the Workflow
Task, and hence also Task, content types. We've done this to accommodate
some task type specific outcomes for each of these different custom task
content types.

 

When *editing* these tasks however, a column "Content Type" is displayed,
which is a drop-down containing the content type hierarchy (e.g. My Task
Content Type, Workflow Task and Task). If you select one of the parent
content types, the columns displayed for our task change to those associated
for that parent task. We'd like to avoid the Content Type column being
displayed in the standard edit form.

 

I've already suppressed a number of other standard columns from the parent
content types by referencing them in the custom content type definition, and
setting the column Hidden attribute to true, but this doesn't seem to apply
the Content Type drop-down column.

 

Any advice on how I can do this would be most appreciated.

 

Cheers,

Trevor Andrew

 

-------------------------------------------------------------------
OzMOSS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject.
Powered by mailenable.com 




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to