Tip

Response document

You Can View User Feedback To This Tip

Use this tip to intimate the user if a response document has been created against his parent document in the Discussion Database
Open the Response Form & do the following:

1)create a field called "parent" Put the following Code in it:

@DbLookup("":"NoCache";@Subset(@DbName;1):@Subset(@DbName;-1);"parent child";MainID;"AltFrom")

Note: AltFrom is an already existing field in the "Main Topic Form"

2) Create a view called "parentchild", create the first categorized column & name it as Main ID, map the column value with the already available field called "MainID"
Note: MainID is an already existing field in the "Main Topic Form"

3) Create a save & close (delete the default shared action "save & close" ) button on the , & write the below code on it:

@Do(@Command([FileSave]);@Command([FileCloseWindow]);
@MailSend(parent;"";"";"A response has been posted against your document
in Discussion Database by "+" " + @Name([CN];@Author);"";"Please
click at the doclink to access the Response
Document-->";[IncludeDoclink]))

Open the "Response to Response" Form & do the following:

1)Copy this parent field from Response doc

2)Repeat step 3 in this form also.

USER FEEDBACK TO THIS TIP

  • Regarding the tip for sending an email to the poster of a main topic in a discussion database, the poster includes the following formula: @DbLookup("":"NoCache";@Subset(@DbName;1):@Subset(@DbName;-1);"parent child";MainID;"AltFrom") This formula relies upon a view that sorts the documents upon the field "MainID". A couple of comments about this formula: 1) The expression "@Subset(@DbName;1):@Subset(@DbName;-1)" is the hard way to specify which database to use. The author can simply use "@DbName" instead. 2) The purpose of the formula seems to be to obtain Notes ID of the person who posted the parent document. To do this, it does a lookup on a field called "MainID." However, the author never tells us what formula to put in the "MainID" field, or that the "AltFrom" field, which is the value returned by the lookup, should be set to the Notes ID of the poster of the document. —Anthony Vitabile

This was first published in May 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.