Forum Replies Created

Page 5 of 6
  • sushant

    Member
    January 10, 2017 at 1:46 pm

    Hi Kumar,

    JSON
    Pro:

    Simple syntax, which results in less "markup" overhead compared to XML.
    Easy to use with JavaScript as the markup is a subset of JS object literal notation and has the same basic data types as JavaScript.
    JSON Schema for description and datatype and structure validation
    JsonPath for extracting information in deeply nested structures
    Con:

    Simple syntax, only a handful of different data types are supported.

    XML
    Pro:

    Generalized markup; it is possible to create "dialects" for any kind of purpose
    XML Schema for datatype, structure validation. Makes it also possible to create new datatypes
    XSLT for transformation into different output formats
    XPath/XQuery for extracting information in deeply nested structures
    built in support for namespaces
    Con:

    Relatively wordy compared to JSON (results in more data for the same amount of information).

    Hope this helps you.

    Thanks

  • sushant

    Member
    January 9, 2017 at 1:24 pm
  • sushant

    Member
    January 9, 2017 at 1:17 pm

    Hi Kumar,

    You can use workflows or process builders for automation on field modification.

    Follow this link for more info:

    https://help.salesforce.com/articleView?id=workflow_cross_object_field_updates.htm&language=en_US&type=0

    Thanks

  • sushant

    Member
    January 9, 2017 at 1:12 pm

    Hi Kumar,

    You can use Rerender function for partially refreshing the page.

    For more info,follow this link

    https://developer.salesforce.com/forums/?id=906F000000098e9IAA

    Thanks

  • sushant

    Member
    January 9, 2017 at 1:08 pm
  • sushant

    Member
    January 6, 2017 at 1:11 pm

    Hi Vikas,

    you can check pricebook object in your salesforce org.you may have assigned any other pricebook there and you are mentioning another pricebook id in your code.

    Thanks

  • sushant

    Member
    January 6, 2017 at 1:06 pm

    Hi Kumar,

     

    Jitterbit Data Loader offers a subset of features and functionality from our core Cloud integration platform.  Included are the same performance features, including complete support for  the Bulk API.

     

    You can also edit batch sizes on a per-operation basis.   Each operation runs against a specific SFDC object.

     

    I'd highly recommend that you try Jitterbit Data Loader for yourself -- it is easy to install and configure and it offers a number of Youtube videos to help get you started --- plus it's free, so there isn't much risk, only upside when you realize how much easier it will make your job 🙂

    Thanks

  • sushant

    Member
    January 6, 2017 at 1:01 pm

    Hi Kumar,

    1. difference is in case of Action function we invoke AJAX using Java script while in case of Action support we may directly

    invoke method from controller

     

    2. other difference is Action function may be commonly used from different place on page while action support may only be used for particular single apex component.

    Thanks

  • sushant

    Member
    January 6, 2017 at 12:58 pm

    Thanks

  • sushant

    Member
    January 6, 2017 at 12:58 pm

    Thanks

  • sushant

    Member
    January 6, 2017 at 12:57 pm

    Thank you

  • sushant

    Member
    January 6, 2017 at 12:57 pm

    Thanks

  • sushant

    Member
    January 6, 2017 at 12:55 pm

    Hi,
    In this post i am trying to give an example of how to execute Batch Process from Apex Trigger. Here i am calling Batch class from the trigger.

    Trigger:

    trigger UpdateAreaInfoUser on User (after update) {
    Map<id, User> owners = new Map<id, User>();

    for (Integer i=0;i<Trigger.new.size();i++) {
    if (Trigger.new[i].Team__c!=Trigger.old[i].Team__c) {
    owners.put(Trigger.new[i].Id, Trigger.new[i]);
    }
    }

    // You can execute batch apex using trigger using below codes
    if (owners.size() > 0) {
    Database.executeBatch(new UpdateAccountArea(owners));
    }

    }

    This 'UpdateAccountArea' is a batch class.

    Hope this helps you

     

  • sushant

    Member
    January 5, 2017 at 11:47 am

    Hi Vikas

    Web Services Description Language (WSDL). This is the file that’s associated with SOAP. It provides a definition of how the Web service works, so that when you create a reference to it, the IDE can completely automate the process.

    You can either trim the WSDL or trim the resulting Apex class from the WSDL2Apex tool. I recommend the later, as the Apex compiler will warn you if you delete class that is referenced more easily. Start first by removing the static methods (representing the operations from the WSDL) you don't want. Then start by commenting out the inner classes within. Again the compiler will warn you about any types still referenced by the operations (methods) you've retained for you needs. Its a slow process.

    Hope this helps you

    Thanks

  • sushant

    Member
    January 5, 2017 at 11:42 am

    Hi Vikas,

    SOAP is definitely the heavyweight choice for Web service access. It provides the following advantages when compared to REST:

    Language, platform, and transport independent (REST requires use of HTTP)
    Works well in distributed enterprise environments (REST assumes direct point-to-point communication)
    Standardized
    Provides significant pre-build extensibility in the form of the WS* standards
    Built-in error handling
    Automation when used with certain language products

    Hope this helps you.

  • sushant

    Member
    January 5, 2017 at 11:38 am

    Hi Kumar

    View state holds the state of Visual force page.
    The view state of a web page is composed of all the data that's necessary to maintain the state of the controller during server requests (like sending or receiving data). Since the view state contributes to the overall size of your page, performance of a page can depend on efficiently managing the view state. The View State tab in the development mode footer provides information about the view state of your Visualforce page as it interacts with Salesforce.

    If your not using input tags in visual force page form is not required.Without form Viewstate is not created.

    Hope this helps you

  • sushant

    Member
    January 5, 2017 at 11:29 am

    Hello Kumar,

    you can use streaming API when you want to define events and push notifications to your client app when the events occur. You don’t have to keep an active lookout for data changes—you don’t have to constantly poll Salesforce and make unnecessary API requests.

    you can use Streaming API to broadcast notifications for events defined outside of Salesforce.

    Hope this helps you.

  • sushant

    Member
    January 5, 2017 at 5:50 am

    Thanks

  • sushant

    Member
    January 5, 2017 at 5:49 am

    Thanks

  • sushant

    Member
    January 4, 2017 at 1:30 pm

    Thanks

  • sushant

    Member
    January 4, 2017 at 1:29 pm

    Thanks

  • sushant

    Member
    January 4, 2017 at 1:29 pm

    Thanks

  • sushant

    Member
    January 3, 2017 at 1:59 pm

    Thanks

  • sushant

    Member
    December 19, 2016 at 1:43 pm

    Thanks

  • sushant

    Member
    December 13, 2016 at 2:00 pm

    Thanks Kumar

Page 5 of 6