Triggering Fixlets through web-reports

(imported topic written by miteshvasa91)

I am new to BigFix. After reading little bit about web-reports and platform API, I had this question:

Can I create a custom html web-report which allows user to trigger actions such as running a task/fixlet through the browser ?

These tasks/fixlets can be stored as *.bes in the wwwroot folder on the server and a perl file that launches this task using COM objects of the API can reside in the same folder as well. The html/javascript of the custom report has to then simply invoke the perl file, upon the click of a form button by the user. Is this possible ?

Thanks.

(imported comment written by Lee Wei)

Yes, this is possible, and your PERL code with the platform API has to be invoked from the server side.

This means that you need to have a web application to call the PERL program.

So a mere HTML page will not work because it is client side only and a web browser is sandboxed and cannot call an external program.

There are exceptions, such as using an ActiveX control though.

Lee Wei

(imported comment written by miteshvasa91)

Ok…the reason I wanted to do this through a web-app is because (a) the user needs to be trained on how to use the console and (b) there is an upper limit on multiple simultaneous user console sessions.

Can I invoke the COM-based platform API through Java as well ? The online examples on the wiki were using Perl and C#. Is there any sample for java ?

(imported comment written by Lee Wei)

miteshvasa

Can I invoke the COM-based platform API through Java as well ?

Yes, it is possible to invoke Microsoft COM from Java.

You would search online for “Java COM bridge”.

I have not seen an example specific to the TEM platform API.

Lee Wei