I am new to Fixlet technology and was wondering if its possible to read the contents of a text file on an endpoint and pull few lines of the file back to console (ex: lines containing the word ‘windows’). In other words, I want to bring up a popup for the console user by using “action parameter query” and the default value of the popup should contain those few lines of the text file.
action parameter query "directories" with description "Please enter additional directories" With default ""
If I understand what it is you want to do…you can’t do it.
For the first part, yes, you can have a property or action read a text file and pull back data. However, you can’t pull that data back and then somehow insert it into part of the code of an action that you are about to run.
That is, the console can’t do something based on information it won’t have until you send an action out to do it. Even if you were able to package a small tardis-like machine along with the action to retrieve the data and pull it back, how would you know which machines you were going to target and then what data to put in the list?