How to Add Description Attribute to Tasks

Started by Dean, February 10, 2016, 09:08:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dean

I made my own task stencil but want to add a property where I can assign a task description to a task block without writing it on the diagram. I do this so that when I pull reports, I can see the description in a table.

The way I do this is to assign a property called "description" to the task.

The problem is that when I create this attribute, the only type which will allow me to write a description is the "string" type. This is way too basic. I cant write a paragraph with new line characters let alone complex formatting such as indentation and bulleting. Is there any way I can add in newline descriptions to a task block? I just cant seem to do it.

Yacine

Hi Dean,
You're asking for a lot.
What you may try is to add this formatted text to a sub-shape, then put its text value into the value of a custom field of the parent shape.
Not sure if this will work ... just a first thought.

Regards,
Y.
Yacine

Dean

Any idea on what the VBA code would look like? Or what steps to I macro record to try and give me hints on what the code will look like.