Ion Auth is a simple and lightweight authentication library for the CodeIgniter framework. Installation Download the latest version: Copy the files from this package to the correspoding folder in your application folder. For example, copy Ion_auth/config/ion_auth.php to system/application/config/ion_auth.php. You can also copy the entire directory structure into your third_party/ folder. For...
Lightning Pages vs VF Pages
Lightning is available in GA from this release .You can ofcourse approach via lightning .Some of the things you need to be extra careful are here 1)No router support in lightning yet and hence its extremely difficult designing navigation at this point .You will end up writing lot of code just to achieve navigations 2)Custom lookups you can get from developerforce blogs 3)Toggling visibility is...
How to get Chatter Feeds using ConnectApi in Apex Salesforce
public List<ConnectApi.FeedItem> getFeedItems() { List<ConnectApi.FeedItem> lst = new List<ConnectApi.FeedItem>(); if(!istest) { try { lst = ConnectApi.ChatterFeeds.getFeedItemsFromFeed(communityId, ConnectApi.FeedType.Record, chatterGroupId).items; } catch(Exception ex) { } } return lst; } ...
Closures in c#
What are closures? To put it very simply, closures allow you to encapsulate some behaviour, pass it around like any other object, and still have access to the context in which they were first declared. This allows you to separate out control structures, logical operators etc from the details of how they’re going to be used. The ability to access the original context is what separates...
Mixed DML Exception in salesforce
Hi All, Many times we face this “Mixed DML Exception” in salesforce error while updating records. This error means you are updating setup and non-setup objects simultaneously. Here you will get details about all setup objects which cannot be inserted/updated with non-setup objects. How can you avoid this? To Avoid this type of error you use @future methods. Since future methods runs...
JIT compiler in c#
In the .NET Framework, all the Microsoft .NET languages use a Common Language Runtime, which solves the problem of installing separate runtimes for each of the programming languages. When the Microsoft .NET Common Language Runtime is installed on a computer then it can run any language that is Microsoft .NET compatible. Before the Microsoft Intermediate Language (MSIL) can be executed, it must be...
Paypal REST API – How does Tokens work.
At the very first User Login: 1. Obtain an Authorization Code { “response_type”: “authorization_code”, “response”: { “code”: “EBYhRW3ncivudQn8UopLp4A28xIlqPDpAoqd7biDLpeGCPvORHjP1Fh4CbFPgKMGCHejdDwe9w1uDWnjPCp1lkaFBjVmjvjpFtnr6z1YeBbmfZYqa9faQT_71dmgZhMIFVkbi4yO7hk0LBHXt_wtdsw”, }, “client”: {...
Show/Hide fields as Picklist value changes using Deluge script in Zoho
Sometimes we need to show/hide certain fields as picklist value changes for example there is field called ‘Reason’ and we want to hide this field as picklist ‘Product type’ changes to ‘Research’. We can achieve this by configuring fields action in deluge script. steps Go to the field on which you want to add action ,in above example ‘Product type’. Field Deluge Name is the name of the field...
How to Create a subform in Zoho
A subform is a form that is inserted into another form. In a one-to-many relationship, each parent record associates itself with multiple children. Using Subforms, users can display the parent and child records in one place without having to switch between forms. Zoho have field type ‘subform’ which you can insert blank form /existing form in the main form. To add the subform in the main form...
Converting Normal to Stateless Form in Zoho
Regular Form By default, when a Form is created, Zoho Creator will have a table generated at the back-end to store data submitted through the Form. These Forms are called Regular/Normal Forms. For example, when you create a Form ‘Order Details’, a table named ‘Order Details’ is created and all data submitted through the form will be stored in this table. The ‘Order Details’ will display the...