Posted by: Patrick | October 29, 2007

Stamp It All In

stamp2.jpgJust a question: How do you code the part of the WQS agent which implements changes in a given field from the current document to the response documents under it?

Never realized how practical (or surprising) that question turned out to be early this month. I’m talking about Jake’s dedicated entry for a neat, single line of code he learned from a client. His initial take on the situation, (how to get Readers field changes reflect on response documents,) was how I’d handle the situation as well.

Anyway here’s the neat “trick”:

Call Web.Document.Responses.StampAll(“DocReaders”, Web.Document.DocReaders)

Just another welcome addition to my bread and butter I guess.

The image was taken from here btw.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: