SHARECOL Text Mode question | Community
Skip to main content
June 16, 2016
Question

SHARECOL Text Mode question

  • June 16, 2016
  • 12 replies
  • 2273 views

I've been studying a few text mode code samples that feature the SHARECOL=true command. I'm stymied now.

I can't figure out why sometimes an attribute stays in the same column and sometimes it gets its own column. I haven't misspelled the command. If I move elements of the report around (and renumber the columns), there is no discerable pattern to when WorkFront will keep the attributes in the same column and when it mystifyingly creates a new column.

I've been through the help site and training materials and haven't found an answer.

Please consider the attached sample and screen shot

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

12 replies

June 17, 2016
Eric, Looking at your code and screen shot, I am not sure what what columns you are trying to combine. Are you trying to get them all in one column? Are you placing the blank columns in between the colums you are trying to combine? If the code is correct, they should all reside in one column. Cory
EricLu2Author
June 17, 2016

Hi:

I’m trying to get all of those attributes in a single column. The format I’m using is:

· Even number column - Attribute label

· Odd number column - Attribute value

It should produce something like:

Attribute label: Attribute value

(for example) Project Manager: Eric Lucas

Each element (attribute label or value) has sharecol=true, so I thought they would always appear in the same column.

Sometimes the attributes label/value appears in the same column, sometimes it puts the label/value into a different column.

I haven’t been able to figure out why it breaks the subsequent label/attributes into separate columns. For a given set of code, it always breaks at the same (unpredictable place). If I move attributes up or down in order, it breaks in a different place.

Thanks!

Eric

June 17, 2016
some of your columns (6,8,12,14) have no width= value - have you tried changing that yet?
EricLu2Author
June 17, 2016

Oooh, no, I'll try it right now. Thanks for the tip! Eric

June 17, 2016
That wouldnt be it. The columns that disappear should not have a width.
EricLu2Author
June 17, 2016
I set the width to 1, no joy. Set the width to 30, no joy. Darn!
June 20, 2016
In an example I have, most everything matches, however, all of your code for "column.2.link...." are not in my report at all. I am also pulling the project manager/owner into my report so hopefully this is a good comparison. Also, my column.2.stretch value is 0 where yours is not. My report is returning a number of fields back vertically all into one column as well. Hope this helps!
EricLu2Author
June 20, 2016
Hi - <> thanks for the tips. Your post is spot on. I've discovered that certain text mode commands are not compatible with sharecol=true. I'm making a list of them and will post them as soon as I'm confident I've got it right. I've also figured out a sequence of events that results in it working every time. I'm documenting that too. Wooo, progress.
August 15, 2016
Hi'ya - Is the Issue Status field one of the fields that you have identified as not working in sharecol=true mode? Thanks!
August 19, 2016
Hey Eric, Are you still having the issue or was it solved? Scott