NEWBIE HERE:
Looking for script or formula for creating a view of documents that do not ref documents. (no reponses) Can some one send me the script for this?
do you want to make the view using script?
I'm quite sure you can't set the property
"Show response documents in a hierarchy" by script or formula.
What is it you need to accomplish?
Last Wiki Answer Submitted: August 3, 2005 3:26 am by AndersGM0 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
The @Right function returns a string; the @Select function is expecting a number for the first parameter.
I don’t know all the specifics about your situation, but I wouldn’t recommend going about it this way. Use a field on the parent document that evaluates to true/false; set it when you save the child document. Something like @SetDocField( $REF; “MyField”; “Yes” )
The problem is almost certainly this line:
@SetDocField($Ref; “Form”;(@Select((@Right(@DocChildren;”1″));AprForm) ))| @AllDescendants;
The @Right function returns a string; the @Select function is expecting a number for the first parameter.
I don’t know all the specifics about your situation, but I wouldn’t recommend going about it this way. Use a field on the parent document that evaluates to true/false; set it when you save the child document. Something like @SetDocField( $REF; “MyField”; “Yes” )