scope of loop in DSP

Hi All,

I have a DSP page where am doing a loop of a document list and inside the loop showing the variables in DSP output page, the variables are under each document of that document list. Now I want to access/show some other variables which are not under the document list but available in the service output. Since I am looping over the document list the scope switches to each document of that list and can’t show other variables in DSP output.
Is there anyway I can access other variables (which are outside of the document list ) from the inside of a loop?

I would appreciate if you can provide any thoughts to resolve this.


All you have to do is precede the variable name with a slash (’/’) to have it reference the ‘root’ scope, just as would be done with a file reference.

e.g. %value /msgCount%