Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230656

Re: Orchestrator Read from Local Data File

$
0
0

I think this would work for him if you could load up the mime attachment programatically. I just tried but it doesn't seem to work.  I did the following:

 

var file = new File("/some/file/here.txt");

var mimeAttachment = new MimeAttachment(file);

 

System.log(mimeAttachment.content);

System.log(mimeAttachment.mimeType);

 

It seems like this should work but it doesn't.  There is no content.  The mimeType does show as text/plain but I can't get any content to be displayed.  If I use the same file as an input and manually select it then it works.  Bug or design?

 

Paul


Viewing all articles
Browse latest Browse all 230656

Trending Articles



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