sushant ujlayan
IndividualForum Replies Created
-
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
MemberJanuary 9, 2017 at 1:24 pm in reply to: difference between deserializeStrict and deserialize in Salesforce ApexHi Vikas,
Follow this link ,it may help you
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_System_Json.htm
Thanks
-
Hi Kumar,
You can use workflows or process builders for automation on field modification.
Follow this link for more info:
Thanks
-
sushant
MemberJanuary 9, 2017 at 1:12 pm in reply to: How to partially refresh a page on a field update in a Salesforce Visualforce page?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
MemberJanuary 9, 2017 at 1:08 pm in reply to: Generic streaming in Salesforce Streaming APIFollow this link .This may help you.
https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/intro_stream.htm
-
sushant
MemberJanuary 6, 2017 at 1:11 pm in reply to: Getting Error of FIELD_INTEGRITY_EXCEPTION while Executing Batch Class in salesforceHi 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
MemberJanuary 6, 2017 at 1:06 pm in reply to: Advantages of Jitterbit over Apex Data Loader in salesforceHi 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
MemberJanuary 6, 2017 at 1:01 pm in reply to: Difference between actionFunction and actionSupport in Salesforce Apex?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
MemberJanuary 6, 2017 at 12:58 pm in reply to: Difference between Json parsing and Json deserialization in salesforce?Thanks
-
sushant
MemberJanuary 6, 2017 at 12:58 pm in reply to: What are the benefits of using Salesforce Lightning experience?Thanks
-
sushant
MemberJanuary 6, 2017 at 12:57 pm in reply to: What is the use of marketing cloud in salesforce?Thank you
-
sushant
MemberJanuary 6, 2017 at 12:57 pm in reply to: In salesforce can we include more than one app in a package?Thanks
-
sushant
MemberJanuary 6, 2017 at 12:55 pm in reply to: How can we call Batch Classes from Triggers in salesforceHi,
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
MemberJanuary 5, 2017 at 11:47 am in reply to: What is WSDL and how can we trim WSDL in salesforceHi 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
-
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 productsHope this helps you.
-
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
-
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
MemberJanuary 5, 2017 at 5:50 am in reply to: What is the init() function in Salesforce Lightning?Thanks
-
sushant
MemberJanuary 5, 2017 at 5:49 am in reply to: What is the best way to rename salesforce lightning components?Thanks
-
sushant
MemberJanuary 4, 2017 at 1:30 pm in reply to: How to write test class for Document object in Salesforce?Thanks
-
sushant
MemberJanuary 4, 2017 at 1:29 pm in reply to: How can I use SVG icons in Salesforce Lightning Component?Thanks
-
sushant
MemberJanuary 4, 2017 at 1:29 pm in reply to: What is wrapper class? where can we use it in salesforce?Thanks
-
sushant
MemberJanuary 3, 2017 at 1:59 pm in reply to: How can we hide/show a component on click in salesforce lightning?Thanks
-
sushant
MemberDecember 19, 2016 at 1:43 pm in reply to: What are the things that SOAP UI can do in salesforce?Thanks
-
sushant
MemberDecember 13, 2016 at 2:00 pm in reply to: What is Difference between Salesforce Triggers and Workflows?Thanks Kumar