Salesforce: Dynamic Related List and their associated filters
Dynamic Related List Dynamic Related Lists in Salesforce offer a flexible way to display related records on a record detail page based on specific criteria. Unlike traditional related lists that show all related records by default, dynamic related lists dynamically
Java | Check if domain of an email address is valid or not
To Check if the domain of an email address is valid or not, pass the email address to the below method as an argument and execute it, it will return true or false by checking if the email id you
Issues of UTF-8 Encode Keyword
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <?php echo utf8_decode(“selecciona una categoría”);?> Above two lines are used to decode the special characters properly. We use the meta tag in section of the page to decode the whole page and second line of PHP
jQuery | How to hide all right siblings
If you want to hide all following siblings of an element with jQuery then you can use next() function. This function is used to get following siblings (means siblings that occur after selected element) of matched element. If a selector
How to write CSS hacks for IE 11 and Safari
In one of our projects we were working on, website page’s styling was not uniform when viewed on different browsers. To solve this problem, we used CSS hacks for Safari and IE 11. Tag for CSS hacks in IE 11:
Eclipse | Ctrl+click doesn’t redirect to parent function or class
While working in eclipse, we faced a problem in which Ctrl+click was not redirecting to the parent function or class. Solution: To solve this problem, we followed the below steps : 1. Exit Eclipse 2. Go to Workspace 3. Open
PHP | Sorting Complex Multidimensional Array
Suppose we have a complex array like below: $products = array( array( ‘product’ => array(‘id’ => 1, ‘name’ => ‘Jquery tutorial book’), ‘product_details’ => array(‘cost’ => 10, ‘edition’ => ‘first’) ), array( ‘product’ => array(‘id’ => 2, ‘name’ => ‘javascript
iOS | How to get installed app package names
Here is the code to get names of app package installed on iOS devices: include objc/ runtime.h in your viewController.m include <objc/runtime.h> – (void)GetInstalledApps { Class LSApplicationWorkspace_class = objc_getClass(“LSApplicationWorkspace”); NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; NSArray *array = [workspace performSelector:@selector(allApplications)]; NSMutableString
How to load webpage faster having large number of images
If your webpage has a lot of images it may load really slowly. We can use jQuery method lazyLoad to load the page faster. Lazy Load delays loading of images in long web pages. Images outside of viewport (means part
Moodle/Totara | How to install a new theme
A theme can be installed in Moodle/Totara by two different methods: A) Installing theme via FTP 1. Login to your FTP client server where your Moodle/Totara is installed 2. Go to Moodle “Theme” directory and place the theme folder which
