M
Michael H.
Hello everyone. I am using Office 2007, Sharepoint 2007, and have set up a
Document Library with a default template, and have defined a new content type
with a handful of metadata which I want to interact with in Word docs in this
DocLib. So far, the metadata is behaving correctly between Sharepoint and new
Word docs in the library. I have a problem though, I am trying to create one
of the classic show/hide text functions via a Field, but using metadata
values to determine the conditions.
eg. Let's say I have a metadata field that I have defined, called "Workflow
Status", which is set manually (either in Sharepoint or the doc itself). I
can DISPLAY this by simply doing the usual Insert -> Quick Part -> Document
Property -> Workflow Status. What I want to do is EVALUATE "Workflow Status"
in order to show or hide some text within a field, as below:
{ IF {DocProperty "Workflow Status"} = "Draft" "Show this text for true"
"Show this text for false" }
I have tried many variations of syntax but in all cases, Word can't find
this metadata property. Is there a way to do this? Is it just syntax? Is it
actually possible, or are we restricted to display-only
QuickParts->DocProperty?
Thanks in advance
Michael
Document Library with a default template, and have defined a new content type
with a handful of metadata which I want to interact with in Word docs in this
DocLib. So far, the metadata is behaving correctly between Sharepoint and new
Word docs in the library. I have a problem though, I am trying to create one
of the classic show/hide text functions via a Field, but using metadata
values to determine the conditions.
eg. Let's say I have a metadata field that I have defined, called "Workflow
Status", which is set manually (either in Sharepoint or the doc itself). I
can DISPLAY this by simply doing the usual Insert -> Quick Part -> Document
Property -> Workflow Status. What I want to do is EVALUATE "Workflow Status"
in order to show or hide some text within a field, as below:
{ IF {DocProperty "Workflow Status"} = "Draft" "Show this text for true"
"Show this text for false" }
I have tried many variations of syntax but in all cases, Word can't find
this metadata property. Is there a way to do this? Is it just syntax? Is it
actually possible, or are we restricted to display-only
QuickParts->DocProperty?
Thanks in advance
Michael