Category: Web Development
Eclipse | Force.com | Invalid Force.com plugin version for eclipse
We had successfully installed the Force.com plugin in eclipse with the latest version. We were trying to import the project for a particular org. Eclipse asked for the organisation’s credentials and the details. Even on submitting the correct details eclipse
SQL Server / MySQL | Combine data from multiple rows into a single row
We have data as below: We need output like this: Solution: For SQL server STUFF function is the key here: SELECT Id,STUFF( ( SELECT distinct ‘ ‘ + cast(Name as varchar(500)) from table1 t2 where t1.Id = t2.Id FOR XML
WordPress | Unable to access admin panel for the WordPress site
The problem was because of the plugin named “ITheme Security”. When plugin was enabled, the wp-admin panel did not work and gave the following error: 404 page not Found Error. On disabling this plugin, admin panel worked fine. But disabling
Salesforce | How to set value of input text field on parent Visualforce Page using Javascript
Description: We had a text field (inputTextF) on our parent page. We wanted to set its value from inside my child page programmatically. 1. You need to pass parent page element Id to the child page. 2. Get parent page
Selenium | Unable to find Command button using Selenium Webdriver
Problem: Unable to find the Command button using Selenium Webdriver. Solution: You can use following script code if you want to find command button on a web page and then click it: driver.findElement(By.xpath(“//button[text()='(Button name)’]”)).click(); Here is the script which we used in
Ubuntu | Rsync
Ubuntu provides a very useful command rsync that allows faster way to copy modified files from one location to another. It can work between 2 remote locations or even within local folders. First time rsync downloads all the files but
Salesforce | How to add page header image in a visualforce page?
We can add the page header image in a visualforce page using following apex tag: <apex:image id=”” value=”” width=”” height=””/> In “value” Field of tag we give the url of the image where image is located. Image may be located
Page break in PDF not working when table is created in loop
Problem: Page break in PDF was not working when table was created in loop. We wanted to have certain amount of rows on same page. If there was not enough space then next set of rows automatically shifted to the
Moodle | Flash SCORM modules not showing content on shared hosting
We faced a problem that Scorm content packages uploaded in Moodle were not displaying content correctly on shared hosting server. After entering the Quiz the page was redirecting back to the same page rather than displaying the further pages of