HTML and Tasks

(imported topic written by CSUEB_CPPM)

Hi,

Can I have an example of html where the web page has 1 option, user clicks on it and the logic passes the command to the endpoint?; I think it should be something like so, but I’m having a hard time displaying the results from the task…

Test

Click here to check if you have BES version above 5.1

<? Version of client >= “5.1”?>

I need to push a task, but management wants to present the option in a web page format.

(imported comment written by BenKus)

Can you give a little more info on what you are looking for? I am not sure I understand which user is doing what…

Ben

(imported comment written by CSUEB_CPPM)

I want to display a web page, where logic has been embedded. In its simplest form, the user would click an option which is the result of logic. This in turn creates a tmp file that the server is actively lookin for.

for example, we can display our 1 of 3 tasks to modify the power settings at the end point. Once the user has selected the appropriate power profile, the task or fixlet creates a tmp file. Once the server sees the existance of the tmp file, it deploys the appropriate power profile.

Does that make sence?, I know we can make offers to the end users, but management feels a web page with more description of the power profile, would be more informative to the end user, than the offer route.

thanks for your help,

(imported comment written by MattBoyd)

There is no built-in way to do this that I’m aware of. Perhaps you could make a custom dashboard that would do something like that?

I agree with you, it would be nice to send customized forms/messages/questions to the end user that could be used as parameters in an action (though there are a few risks that would need to be considered). We have experimented with out own version of this by making a .HTA application that the user can enter information into. The application is launched using RunAsCurrentUser.exe and writes the results to a registry key in the HKCU hive. After the application has written to HKCU, it exits and the action continues, using relevance to query that HKCU key.

One major problem with this approach is that it won’t work in Mac or Linux… still not sure what to do there.

(imported comment written by CSUEB_CPPM)

nothing?

(imported comment written by CSUEB_CPPM)

Ok. But in the simplest format, is there a way that I can display bes logic in a html page?

Say we can construct an html page that has embedded bes logic, and when the web page is rendered, the bes logic displays the results in the web page.

Maybe an easy example of a dashboard?

(imported comment written by SystemAdmin)

Here is a cleaned up version of my _dashboard.html file. It’s stored under

C:\Program Files\BigFix Enterprise\BES Client__BESData__UISupport_dashboard.html

I believe you have to create the

UISupport

folder.

<html> <head> <link type=
"text/css" rel=
"stylesheet" href=
"offer.css"></link> <title>Computer Support Dashboard</title> </head> <body> <div class=
"header"> <div class=
"headerTitle"> <font size=
"6"><?relevance computer name ?></font></div> <div class=
"headerCategory"> <font size=
"1">(Last updated: <?relevance now ?>)</font><BR> <div><font size=
"1"> <a href=
"#">Refresh</a></font> </div> </div> </div> <div class=
"section"> <div class=
"sectionHeader">Computer Information</div> <div class=
"subsection"> <table width=
"80%" align=
"center"> <tr> <td colspan=
"2" align=
"center" valign=
"top" align=
"center">Department of Medicine Computer Support </td></tr> <tr> <td colspan=
"2" align=
"center" valign=
"top">Helpdesk Phone : (919) 000-0000</td></tr> <tr> <td colspan=
"2" align=
"center" valign=
"top"><a href=
"http://ourhelpdesk.URL.duke.edu/">Submit Support Ticket</a></td></tr> <tr> <td colspan=
"2" align=
"center" valign=
"top"><a href=
"http://ourhelpdesk.URL.duke.edu/checkticket.html">Check existing ticket</td></tr> <tr> <td colspan=
"2"> <hr> </td></tr> <tr> <td valign=
"top" align=
"right"><b>OS:</b> </td> <td><?relevance name of operating system & 
" " & csd version of operating system ?></td></tr> <tr> <td valign=
"top" align=
"right"><b>RAM:</b> </td> <td><?relevance (size of ram)/1048576 ?> MB</td></tr> <tr> <td valign=
"top" align=
"right"><b>DNS Name:</b> </td> <td><?relevance dns name ?></td></tr> <tr> <td valign=
"top"> </td></tr> </table> </div> </div> </body> </html>

(imported comment written by SystemAdmin)

I found the instructions for this a while back in the Administrators manual. I don’t think there is any way to have ask the users “questions” through the dashboard, but the idea of using another application to ask the questions and store them locally is a good one.

I think tucking the answers into an XML file might be a cross platform way of storing the answers, might even be a good place to store the questions as well so the client app could be generic in nature.

Maybe this could become a ‘Feature Request’? A system to allow the client to have a Query/Response system built into it so that the local users could be asked various questions and their answers could be stored locally for use in Relevance clauses or Analyses? Or to answer questions like “What Office is this computer in?”

(imported comment written by CSUEB_CPPM)

Thank You, this was exactly what I was looking for.

This will help me craft logic I can showcase in static web pages.

(imported comment written by CSUEB_CPPM)

One quick question, How can I add additional tabs to the Tivoli Endpoint Manager Support Center Window?, I have 3 tabs “Offers, Progress, Dashboad”.

This would solve my issue and I can include my bes logic in a static page…