Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Searching attachments script - livecycle

$
0
0

Anyone know how to run a script in livecycle that will grab the value entered by a user in, say "TextField1", and run the search against the "attachments" of the document? I'm thinking something like this perhaps, but this is not working and its running the search against the contents of the opened document, not attachment:

 

var cSearchTxt = this.getField("TextField1").value;

 

search.matchCase = false;

search.wordMatching = "MatchAnyWord";

search.bookmarks = true;

search.query(cSearchTxt, "ActiveDoc");

 

 

Thanks


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>