You are viewing limited content. For full access, please sign in.

Question

Question

Quick Fields Global Tokens

asked on June 13, 2022 Show version history

Hi everybody,

I'm working on a Quick Fields session.  It has multiple document classes.  The first one reads a cover sheet which picks up an ID that applies to all of the document classes.  I want to read the ID and then apply it to the corresponding template field on all document classes.  How is this done?  Surely, Quick Fields has a way to save global values (in 2022).  

0 0

Answer

SELECTED ANSWER
replied on June 13, 2022

Sure, that works.

The more "official" way (and more robust way, I think) would be to use Token Collector and Token Retriever processes in the Page Processing sections of the appropriate document classes.  This is the primary mechanism to pass data between document classes.  The Token Collector essentially stores a token value as a global variable, and the Token Retriever processes create a document-class-specific token that is initialized to the value of the global token.  

0 0

Replies

replied on June 13, 2022

I think I answered my own question.

Create a global token in the "Pre-Classification Processing" step.

In the document class that reads the ID, set that global token's value in the "Post-Processing" step.

Now, the global token can be assigned in each document classes's template fields.

 

0 0
SELECTED ANSWER
replied on June 13, 2022

Sure, that works.

The more "official" way (and more robust way, I think) would be to use Token Collector and Token Retriever processes in the Page Processing sections of the appropriate document classes.  This is the primary mechanism to pass data between document classes.  The Token Collector essentially stores a token value as a global variable, and the Token Retriever processes create a document-class-specific token that is initialized to the value of the global token.  

0 0
replied on June 14, 2022

Thanks for the help Jacob.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.