How to add a custom web page in Jenkins? - jenkins-plugins

I am trying to make a web-page which displays the dynamic web page - basically it displays a table comprising of Name, IP_Address, and Group Name with used check/uncheck box. This webpage can run on a different tcp socket so it can be
https://myjenkins:5909 . Next, I want to add this table information in the mongo-db and read back the data and show on the web page - that table. What are the required steps for me? First is it possible? Here is my understanding that I have to write a back hand code using Jenkins plugin. Now, how to add the front end page like my custom page in Jenkins. Also, how database can be handled by the backhand Jenkins plugin? Sorry, I am new to these things. Any idea or details will help me. Also, is it possible to use LDAP based user id and password in my form.

Related

What is the best way to integrate a small angular.js application into Wordpress?

I am working on adding a small one-page AngularJS application to my friend's Wordpress site. The application will take some user input and generate on-screen output using that input. It will also log the user input for analysis purposes.
I will need to be able to host the files for that page on my friend's site as well as create a back-end script that can capture the user input and store it to a MySQL database.
I have worked with WordPress sites before but have never customized them or written a plugin. How would you go about making this happen?
I will select the answer that leads me down the most efficient / effective path. Thanks!
After poking around for a while, I ran across the Advanced Custom Fields plugin. Using this helped me add custom JavaScript to the specific page that needed Angular support.
Here is information on how to use ACF to add JavaScript support:
https://www.godaddy.com/garage/3-ways-to-insert-javascript-into-wordpress-pages-or-posts/
Here is the plugin itself:
https://wordpress.org/plugins/advanced-custom-fields/

How to setup the Pre-Chat form for Live Agent in Salesforce?

I am newbie to the salesforce and working on the Live Agent setup and its other useful features. Now I am looking to implement the Pre-Chat form, but I dont see the option to choose form. I see the below, Could you please guide what setting needs to be done ?
I have created a custom VF page and now I want to choose that form. But I dont see that option. I created the Pre-chart form using : https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_pre_chat_forms_code_sample.htm
For that we need to register the site for your own force.com site like below and then only you will be able to see the
And Now you will be able to see
Paste the URL of the page eg. https://cs-19.salesforce.com/apex/PreChatForm in the Pre Chat Form field

mvc post list with number of record not working

I am using MVC architecture for my application.
Now, I have more than 1000 record which i am binding on Listbox.kindly check below screen shot.
Here, Left side list have more than 1000 records and my functionality is, User should select any record and move it to right side ListBox.
it;s work on my local system but when i deploy on iis6 web server it's giving me error. kindly check below image for error.
and also suppose i use less than 500 records.same functionality working properly.
so, i have to make changes on IIS or code or any limitation to post record on mvc?
Check Stack Trace
Looks like you are doing DoS attack on yourself. I think that you have 2 options:
alter web config(ref. http://geekswithblogs.net/renso/archive/2012/01/19/operation-is-not-valid-due-to-the-current-state-of.aspx):
<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="2000" /></appSettings>
dont post whole form, just the part with data you need(carriers to be added). Either using jquery, or adding only fields to be posted inside form tag.

Making a link pulled from a database active

I'm creating a social network, and in the user info section I've made it possible for the user to add there Facebook link into the database table via a input form.
Now when they add this link, it sends it to the database and then it returns and echo's out the submitted data into both the user info page and the user status stream, this enables others can see there newly updated info.
Only problem is, the link submitted is not active when it returns from the database, is there anyway either in my page, or within the database, I can tell this to be an active link, maybe even some JavaScript that detects inactive links?
Any help would be greatly appreciated.
Thanks,
What do you mean by "make the link active"?
What language are you developing in?
To use a database field to generate a clickable link in a web browser, you create the HTML framework and then insert the database output into the relevant position.
In PHP, for instance:
<?php echo $linkURL; ?>
Would create a clickable link which would direct visitors to the URL in the $linkURL variable.

How to auto generate a webpage after user submits form

I am looking for some initial direction on this one because I cannot seem to find my way with it. Let me explain...
I am developing a website wherein a logged in site member (Joomla 1.6) can fill out a simple form and attach a pdf to be uploaded upon submission. The user then clicks the submit button and the page will refresh to a new and unique web page.
User Submits data on http://www.examplesite.com and then after submission a new web page is generated that is called http://www.examplesite.com/userSubmittedValue
This newly generated web page would come from a template that is specified by the administrator and, most important, it will display all of the information that the user submitted. Also, there would be a link to download the pdf they uploaded. The user could then view a list of all the pages they have created in this manner via their profile.
I have seen this all over, but I am at a loss for how to generate this. Any help is much appreciated.
This is not something you will be able to easily do or get a detailed answer for here. If you just wanted to do the submission form with a thank you page that shows the data submitted you could use any number of form wizard type extensions - http://extensions.joomla.org/extensions/contacts-and-feedback/forms
If you just needed a way for users to upload PDfs and have access to them you could use one of the file management extensions that offer front end upload features - http://extensions.joomla.org/extensions/directory-a-documentation/downloads
If the additional data that is being submitted is simply data related to the file - title, description, etc then one of the file download components should work fine for you. The choices are limited in 1.6 at this time though so you might have to go with 1.5 to get the extension that works best for your needs.
So this probably isn't the best way to do it if your using Joomla but it just might help.
I would use PHP and inside of you're directory have a file like "template.html". Then I would create some php to handle the task of....
Opening "template.html"
Finding and replacing the values that the user passed you
Save the "template.html" under a new name (userSubmittedValue.html)
Again, I never really use Joomla. If you were to try this I'd suggest checking out php's file system functions (http://us2.php.net/manual/en/ref.filesystem.php).
Hope this helps a bit.

Resources