Category: Mobile
How To get list of all system defined properties in java
Just write below line in your main java program and it will show you all System defined properties. System.out.println(System.getProperties()); Some of the important properties that we can use generally: 1. user.dir will give project root directory location. 2. java.class.path will
Salesforce | How to edit salesforce Created Date and Last Modified Date field values?
Created Date and Last Modified Date fields in Salesforce objects are audit fields and we can’t edit or change these field directly or through code. You have to contact salesforce support team for them to grant permissions to you to
Moodle | Fetch activities in same order in which they are listed on Course Page
There is a functionality on Moodle course page that activities can be dragged up and down to change their order after turning on the edit button. If in the code you need to pull the activities in same order for
Salesforce | Using Javascript to set value in parent Visualforce page field
Suppose you have a Visualforce page with a form and you have a link to open a popup. The page loaded in popup needs to set a value back into a textbox in the parent page. Here is how you
SFTP to server using FileZilla without password
We can connect to a remote server via SFTP without password, using PEM file of server. The PEM file is public key certificate file of the server to which we have to connect. We’ll need to have following details in
Salesforce | Field Visibility Issue
If you want to programmatically read values of certain fields, those field must be visible in the layout. To change field visibility follow these steps: 1. Login and click on setup link. 2. Click Security Controls in Administrator menu. 3.
Mysql | How to drop table having dot (.) in the table name in MySQL
We had a table in our database having dot in the table name as below: Table name – kpc.product_categories On trying to delete kpc.product_categories using below command: drop table kpc.product_categories It used to give error that no such table exists.
Eclipse | How to change or recover Secure Storage Password for Eclipse Kepler
When we add Salesforce project to Eclipse sometimes it asks for ‘Secure Storage Password’. You can try to enter your system password. If it doesn’t works you can change or recover ‘Secure Storage Password’. According to office eclipse documentation. The
Salesforce | Overriding Standard button functionality
We needed to extend a default functionality of standard salesforce page and buttons on this page. That is we needed to display some custom buttons and fields on the standard page and perform our own logic for these. The Object