Using document criteria on Zen Mojo - BootStrap plugin

Hi All, 

I am providing support to an AP about using document criteria on Multiple Templates (Explicit Dispatch).

I am trying to set the  criteria value from:

view.setDocumentKey('initial-search',{patirntId:tPatId});

 However it is not possible to get the criteria value on %GetJSONContent through pCriteria parameter object.

How can I do this with Multiple Templates on bootstrap plugin?

Thanks.

  • 0
  • 0
  • 147
  • 0
  • 1

Answers

This should work in general unless you are switching your template after you set the key with the criteria. Can you provide the code section where you set the key and request the refresh?