Jenkins - Add custom webpage to Jenkins - mongodb

Management has given me a task to add a link(ex. under "People" link) and display a table w/ data from a DB(MongoDB). The user will be then able to insert/update the table and have it saved to the DB.
Using HTML/CSS/JS I am capable to doing it but I don't know how to modify jenkins to do so. I've looked for plugins like "Simple Theme" but from what I saw it only updates CSS and JS of Jenkins UI. I'm new to Jenkins and really have not idea where to start.
Any suggestions?
Thanks!

To customize a jenkins plugin of your own is a graceful solution but complicated for someone who is new to jenkins.
create a new jenkins-plugin project and need to be familiar with java/maven before.
create a java subclass which implements hudson.model.RootAction.
create index.jelly which display the table data from the DB and need to learn jelly before.

Related

CRM365 On Prem - Document Templates: how to hook the select event in the form menu

The CRM365 Form displays a convenient document template dropdown button where a number of actions could be initiated. Additionally, it displays the list of already existing document templates. The user can select one template in the list and it is downloaded locally by your browser. So far all good.
Our goal is actually to select the template, retrieve it, and create it in a Document Management repository. We have a working solution for this but it involves too many pieces and steps so we are looking for some better ideas.
Ideally we are looking for a solution where we can:
"intercept" the click on the template item and run a JavaScript function
If we find a solution to this, the rest would be just calling our custom workflow to do the rest of the job.
So, is there any way to hook that "select/click" event from the form menu?
Thank you very much for your help and advice.

Create task automatically when creating bug in Azure Devops Server

We are using Azure Devops Server. When a bug is created, I would like to create a child task automatically. The task does not need to have any particular properties, it just need to be created with default values and have a default name like "Placeholder" or something like that.
I have already encountered some different ways of doing it, but neither of them seems to be well suited for me:
The extension 1-click-child-links could be used to create a child task by clicking a button in the context menu after creating the bug. This will of course work, but it would be even better if it could be done in the background ensuring the task to be created even if the user forgets to click the button.
As I understand it, using the Microsoft Flow software tasks can be created in the background when creating a bug which would be exactly what I'm looking for, but it would be nice to find a simpler way of doing it without installing a complete software tool.
I've learned that it is possible to hook into different events by using service hooks (https://learn.microsoft.com/en-us/azure/devops/service-hooks/events?view=azure-devops). There are a couple of standard integrations, but neither of them can be used to solve my case. So using this method, I guess I need to develop a custom service creating the task?
Is there a simpler solution to achieve my gool or do I need to stick with one of the solutions above?
As a workaround , we can set Azure Logic App, select When a work item is created"as trigger, and then select Create a work item as action.
Make sure to set the Link URL to the “When a work item is created” URL and set the Link Type to Hierarchy-reverse to create the Task as a child of the Bug item. Please refer to the settings below:
Save the Logic Apps Designer, and then when the bug item is created, the child task named Placeholder will be automatically created.

How to create a list of users on in Alfresco Activiti?

so I have this simple question that I would love to get anwserd.
I am new to BPM an Alfresco Activiti and I am workng on with the trial version of Alfresco Activiti to create a sample project for our company.
I decided to work with the Step editor to se what it can do and if it's as powerfull as a normal BPMN 2.0 editor.
Now I am working on a form where one user would need to select the user for the next task. I was wondering if it's possible to use the single select component to display all the users on the server from which the asignee for the next task could be selected. How can this be done?
I know it is not the bes pracitce to show all the users on the server but this is a test project and your help would be really appreciated.
If any more info is required I will gladly edit the post.
Thnak you.
There is a user picker form control in there, that allows searching the whole system. See the third entry:
you can create a dropdown whose options are populated from a rest call which is provided below.
GET api/enterprise/admin/users
This will return list of all users available in JSON format.
Hope it helped.

Start Alfresco Workflow on outside Alfresco Content

I am newbie in Alfresco. I was just going through the Alfresco documents here. I have gone through it, but didn't get the answer of my question as described below.
Is it possible to start workflow(/task) on the content outside of the Alfresco Content (i.e. Our Local System File/Folder)? If yes, how can I achieve the same?
I agree with Younes that you can configure a rule to launch a workflow. In order to do that, you'll want to take a look at the JavaScript workflow API.
Using a rule on a folder will require something to trigger the rule, such as a document being added to the folder. But your question asks if a workflow can be triggered external to Alfresco. To do that, you might consider using a Web Script.
A Web Script is simply a way to extend Alfresco's RESTful API with your own logic. So you could create a web script called "startMyWorkflow" that includes a JavaScript controller leveraging the same API I referenced earlier to kick off the workflow. With that in place, you'd be able to launch the workflow externally using anything that can speak REST over HTTP.
You can setup a rule action to start a workflow if certain conditions are met (files added to some folder, file metadata changed, a new revision has been uploaded ...).
To learn how to create new rules in alfresco follow this tutorial
Update : I may have forgotten to mention that -as the op suggested- he could then setup a cifs/ftp/webdav folder locally to point to some location in the repo having that rule action I was talking about.... So for example adding files to that folder would automatically start a workflow....

Dynamics crm 2011 online - how to create a custom code that is run once?

I want to create a dynamics crm solution that will be imported by the customer.
After import, the user must complete some settings in a custom entity. After this, a specific code must run for these new settings, but only once. I cannot use custom workflows because it has to work in the online crm too.
The best would have been to have a synchronous plugin that is registered to execute when the settings are saved. I cannot do this because plugins can be registered for a limited set of entities, custom entities are not supported (am I right on this?).
What alternatives do I have?
Using a Configuration Page for your solution might make it easier for the user to configure. Instead of making the user manually set up a configuration entity, use Javascript in the Configuration Page web resource to hit the REST endpoint and do the setup for you. You might also be able to run your custom setup code using Javascript (or use a plugin on the configuration entity as ckeller has confirmed). Here's a link about the special Configuration Page:
http://mahenderpal.wordpress.com/2011/07/26/step-by-step-adding-configuration-page-in-solution-ms-crm-2011/