Latest stories

Nanostuffs Helps Unisys/Hexaware Build Salesforce.com Partner Portal

N

In partnership with Hexaware Ltd, Nanostuffs provided an onsite based Salesforce.com Partner Portal Based Consultancy & Development to one of our Esteemed Client Unisys Inc. during the month of July 2012.The Partner Portal supported the process of Unisys working with Partners to efficiently manage sales efforts by providing integrated CRM functionality to Partners including Account and...

How to run cronjobs per second in php?

H

To run cronjob per second you have to execute crontab/cronjob per minute and then have to run task in cron file per second using PHP function time_sleep_until(). <?php $start = microtime(true); for($ii=0;$ii<60;$ii++) { //………………………. /// here is the tasks which need to run per second… //………………………. time_sleep_until($start + $ii + 1); } // end for if (!function_exists(‘time_sleep_until’)) {...

PHP Debug Log – Trace Errors

P

“Debug Log” is good sort of tool for monitoring programs. Trouble shooting is quite simple with Log Files. Log file can be used with analysis tools, it’s possible to get a good idea of where errors are coming from, how often errors return. Here you can see a simple PHP script to trace PHP programs… debugLog.php …………………. function debugLog($log, $text) { $log_dir = dirname($log); if( ...

Using URLFOR function in Apex Salesforce

U

While developing your Visualforce pages you may need to be able to obtain the URL of certain actions or your static resources. I found it personally a challenge since the documentation for “URLFOR” function is not included in “Visualforce Developer Guide” itself and instead included in the general help area of Salesforce. Generally you can use the “URLFOR”...

Image Download Function in C#.net

I

public Image DownloadImage(string _URL) { Image _tmpImage = null; try { // Open a connection System.Net.HttpWebRequest _HttpWebRequest = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(_URL); _HttpWebRequest.AllowWriteStreamBuffering = true; // You can also specify additional header values like the user agent or the referer: (Optional) _HttpWebRequest.UserAgent = “Mozilla/5.0...

Web Services with SOAP in PHP

W

The SOAP and XML-RPC extensions are packaged with the PHP 5 installation. The SOAP extension and the XML-RPC extension are not enabled by default in a PHP installation. To enable the SOAP and XML-RPC extensions add the following extension directives in the php.ini configuration file. extension=php_xmlrpc.dll extension=php_soap.dll Restart the Apache server to activate the SOAP and XML-RPC...

Using component in Visualforce

U

Some Visualforce components, such as <apex:pageBlockTable> or <apex:dataTable>, allow you to display information from multiple records at a time by iterating over a collection of records. To illustrate this concept, the following page uses the <apex:pageBlockTable> component to list the available job positions: Visual Force Code: <apex:pageblocktable value=”{...

Category