Programming learning
-
A few weeks back I posted a question about how to make a maintenance ticket in spiceworks. Well, it brought me to a new question in that I cannot find anything on how to accomplish this so I thought maybe I could learn to write plugins for Spiceworks. In order to do so, where should I start? I know PHP and MySQL. I took a few classes in C#.
Thanks,
Jeff
-
SpiceWorks plugins are JQuery JavaScript, that's all that SW supports.
-
SW has a guide for getting started: https://community.spiceworks.com/support/desktop/docs/creating-plugins
-
You can't really do anything advanced with SW plugins, you are limited to writing client side view scripts on top of the application. You can't access the database, extend functionality, or anything like that.
-
@scottalanmiller said in Programming learning:
You can't really do anything advanced with SW plugins, you are limited to writing client side view scripts on top of the application. You can't access the database, extend functionality, or anything like that.
Well, POOP ON A STICK!
-
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
You can't really do anything advanced with SW plugins, you are limited to writing client side view scripts on top of the application. You can't access the database, extend functionality, or anything like that.
Well, POOP ON A STICK!
What is your end goal? What do you want to accomplish?
-
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
-
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
-
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
-
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
-
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
-
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
SW already does the machine assignment, we were using that even six or seven years ago.
As to comparing software, not sure about that. I know that SodiumSuite is working on creating a system for that, though.
-
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
SW already does the machine assignment, we were using that even six or seven years ago.
As to comparing software, not sure about that. I know that SodiumSuite is working on creating a system for that, though.
Is SodiumSuite the one that you were talking about before, in development?
-
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller said in Programming learning:
@wls-itguy said in Programming learning:
@scottalanmiller I'd like to have a ticket created for each machine I do maintenance on. Checkbox for updates to software, pull version installed on machine, etc. There is more but I can't figure out how to explain it.
What would you be doing that would trigger the ticket creation? What would be the trigger action to watch for? Normally I make a ticket to trigger the action, rather than the other way around.
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
SW already does the machine assignment, we were using that even six or seven years ago.
As to comparing software, not sure about that. I know that SodiumSuite is working on creating a system for that, though.
Is SodiumSuite the one that you were talking about before, in development?
Yes. It already has some rudimentary update handling (very rudimentary) but more is coming. And that will get tied to logging soon (so that you have a record of the actions) and at some point after that, auto-ticket creation will be created to allow those actions to be automatically recorded as tickets.
-
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
SW already does the machine assignment, we were using that even six or seven years ago.
How? I am not seeing it that way. Unless I create the ticket from the user machine.
-
@wls-itguy said in Programming learning:
My thought was to create the ticket and then do the actions on the ticket to document the maintenance of the machines. Does that make sense?
It makes sense as to the workflow. That's how I do things already. What would the plugin do? You can do this already.
I want it officially assigned to a machine and user. Also to be able to pull from inventory certain software to compare what I need to update and what hasn't been updated in a long time.
SW already does the machine assignment, we were using that even six or seven years ago.
How? I am not seeing it that way. Unless I create the ticket from the user machine.
Why not make it from there? Or just assign it to the asset from the ticket screen.
-
@scottalanmiller I could but I was hoping to somehow have a form type ticket that I would be able to use from my ipad.
-
@wls-itguy said in Programming learning:
@scottalanmiller I could but I was hoping to somehow have a form type ticket that I would be able to use from my ipad.
You could do that, I would assume. That's really just a ticket view. You can even do that from a normal form and just send an email with that info to open the ticket.
-
@scottalanmiller I was trying to build it through the portal but that is limited as well.
-
@wls-itguy said in Programming learning:
@scottalanmiller I was trying to build it through the portal but that is limited as well.
Yeah, I've never played around with that.