I’m not using response documents, but would like a child document to be populated with a computed field with a DocLink back to the parent. I know how to transfer a value from one form to another using inherit values… is there a similarly simple way to do the same as a doclink to the parent document?
Thaks in advance
Jim Lamb
Subject: Automaticly inherit doclink from parent without response document
I think you can create a CWC text field (I know, it makes no sense, but I think it works) with a default value of @InheritedDocumentUniqueID
Subject: RE: Automaticly inherit doclink from parent without response document
That fixed it!I had it set to computed only.
Thanks Ben and Stan
Subject: Automaticly inherit doclink from parent without response document
A very simple way. Create a computed text field, with the following formula:
@InheritedDocumentUniqueID
And, as long as your form inherits from the selected document, this will create a doclink back to the parent.
Simn
Subject: RE: Automaticly inherit doclink from parent without response document
That works fine untill I save and close the document.When I reopen it, the link is dead.
Jim Lamb
Subject: RE: Automaticly inherit doclink from parent without response document
There was a small glitch in the instructions – the field needs to be “Computed when composed” so it doesn’t recalculate later. After the moment of composition, you are no longer in “inheritance” mode, and @InheritedDocumentUniqueID returns the same thing as @DocumentUniqueID – a link to the document you are looking at.
Subject: RE: Automaticly inherit doclink from parent without response document
Worked like a charm.
Thanks