tag:blogger.com,1999:blog-339632802018-08-04T15:27:06.685+05:30Salesforce Development and AdministrationThis blog is about Salesforce Development and Administration. We will provide Salesforce training blog post on salesforce, salesforce administration. We will cover development topics on apex, visualforce, process builder and new upcoming topics like salesforce dx, vscode, salesforce Einstein and Platform events.Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-33963280.post-72210586665790290052018-04-25T21:59:00.000+05:302018-04-25T22:00:01.750+05:30Autoscratcher tool by Mick Wheeler<div dir="ltr" style="text-align: left;" trbidi="on">Mick Wheeler (<a href="http://www.mickwheelz.net/">http://www.mickwheelz.net</a>) recently announce on twitter about an interesting tool he created to fetch the source code from git, spin up a new scratch org and push the source code into this newly created scratch org. In addition to this, you can run an apex class in this org using this tool after the source code is pushed. The tool is built using node.js. People having knowledge of node.js can have a peek at the source code in github at&nbsp;https://github.com/mickwheelz/AutoScratcher.<br /><br />Ofcourse the tool can be enhanced to perform more sfdx supported operations like running test classes, loading data etc.<br /><br />Original link to the tweet -&nbsp;<span style="background-color: #e6ecf0; color: #14171a; font-family: &quot;segoe ui&quot; , &quot;arial&quot; , sans-serif; font-size: 14px;"><a href="https://twitter.com/mickwheelz_/status/988769142068137984">https://twitter.com/mickwheelz_/status/988769142068137984</a></span></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com1tag:blogger.com,1999:blog-33963280.post-51906946691378158782017-10-18T16:36:00.002+05:302017-10-18T20:52:18.271+05:30Salesforce DX is now Generally Available(GA)<div dir="ltr" style="text-align: left;" trbidi="on"><b style="font-family: inherit;">Wade Wegner</b><span style="font-family: inherit;"> who is Vice President Salesforce DX/Salesforce today(17th Oct 2017) announced that Salesforce DX is now Generally Available for all. He announced this on Twitter through this pinned tweet </span><b style="font-family: inherit;"><i style="background-color: yellow;">"<span style="color: #14171a; font-size: 14px; white-space: pre-wrap;">I'm incredibly excited to share that </span><a class="twitter-hashtag pretty-link js-nav" data-query-source="hashtag_click" dir="ltr" href="https://twitter.com/hashtag/SalesforceDX?src=hash" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #1f98c7; font-size: 14px; text-decoration-line: none; white-space: pre-wrap;">#SalesforceDX</a></i></b><b style="color: #14171a; font-family: inherit; font-size: 14px; white-space: pre-wrap;"><i style="background-color: yellow;"> is now GA. Congrats to an amazing team &amp; thanks to all of you!" </i></b><span style="background-color: #f5f8fa;"><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;">and </span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">through</span></span><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;"> the Salesforce Developer Blog </span></span></span><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;">https://developer.salesforce.com/blogs/2017/10/salesforce-dx-is-now-generally-available.html.</span></span><br /><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;">Please note that the Salesforce DX was previously in Open Pilot for some time and then through last few months it was in Beta. Even in Beta phase it was quite stable. </span></span><br /><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a; font-family: inherit;"><span style="font-size: 14px; white-space: pre-wrap;">Customers can enable Dev Hub on their production org or if they want to try Salesforce DX, they can register for a trial dev hub org through this link</span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><a href="https://developer.salesforce.com/promotions/orgs/dx-signup">https://developer.salesforce.com/promotions/orgs/dx-signup</a></span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">Once registered the users can download the CLI tool (<a href="https://developer.salesforce.com/tools/sfdxcli">https://developer.salesforce.com/tools/sfdxcli</a> </span></span><span style="color: #14171a; font-size: 14px; white-space: pre-wrap;">)and use it to do development, create scratch orgs, push and pull source code from these scratch orgs.</span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">Developers can also use it to deploy and retrieve metadata from Sandbox and Production orgs. They can even use it for destructive deployments for deleting metadata from the orgs.</span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">Visual Studio Code is now officially supported Text Editor instead of Force.com IDE which is not very surprising for most developers as Force.com IDE which is eclipse based in very challenging to work with.</span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">The Visual Studio Code editor has nice code completion feature implemented using Apex Language Services. Syntax highlighting for Visualforce and HTML code is supported.</span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">Since Salesforce DX CLI tool can output json it is very useful for chaining of tasks and scripting in CI/CD Tools like Jenkins.</span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;">We have created several videos on Salesforce DX. Please visit our channel to find out more.Here is the link </span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><a href="https://www.youtube.com/channel/UCg8_QWMEUaCavDmJTVLl-aQ">https://www.youtube.com/channel/UCg8_QWMEUaCavDmJTVLl-aQ</a></span></span><br /><span style="color: #14171a;"><span style="font-size: 14px; white-space: pre-wrap;"><br /></span></span>Some important videos from our channel<br /><b><br /></b><b>Destructive Deployment using Salesforce DX CLI</b><br /><a href="https://www.youtube.com/watch?v=PNwzTFz3-4M">https://www.youtube.com/watch?v=PNwzTFz3-4M</a><br /><br /><br /><b>How to use GIT and Salesforce DX commands in VSCode</b><br /><a href="https://www.youtube.com/watch?v=4Ge7QzIOtN4">https://www.youtube.com/watch?v=4Ge7QzIOtN4</a><br /><br /><br /><b>Salesforce DX Secret - Where does Salesforce DX store changes in the org</b><br /><a href="https://www.youtube.com/watch?v=re08CHIItgM">https://www.youtube.com/watch?v=re08CHIItgM</a><br /><br /><br /><b>Bulk Data Load using Salesforce DX CLI</b><br /><a href="https://www.youtube.com/watch?v=5RI6g-1eLCQ">https://www.youtube.com/watch?v=5RI6g-1eLCQ</a><br /><br /><b><br /></b><b>How to install and configure VSCode with Salesforce DX</b><br /><a href="https://www.youtube.com/watch?v=k1olmglk0nI">https://www.youtube.com/watch?v=k1olmglk0nI</a><br /><br /><b>Salesforce DX and Jenkins Series</b><br /><a href="https://www.youtube.com/watch?v=9n80aLasotY">https://www.youtube.com/watch?v=9n80aLasotY</a><br /><a href="https://www.youtube.com/watch?v=D1Gf93oZFDE">https://www.youtube.com/watch?v=D1Gf93oZFDE</a><br /><a href="https://www.youtube.com/watch?v=p0bsUeOtbU8">https://www.youtube.com/watch?v=p0bsUeOtbU8</a><br /><br /><br /><br /></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com0tag:blogger.com,1999:blog-33963280.post-10769239063674998052017-09-26T22:11:00.001+05:302017-10-18T16:02:51.574+05:30Salesforce lightning Interview Question and Answers<div dir="ltr" style="text-align: left;" trbidi="on"><b>What is Salesforce Lightning?</b><br /><ul style="text-align: left;"><li>Lightning is the umbrella term for the collection of tools and technologies e.g. Lightning component framework, lightning experience, lightning app builder etc.</li><li>Lightning&nbsp; became available in October 2015 with the release of Winter ‘16</li></ul><br /><div><b>What are Lightning components?</b></div><div><ul style="text-align: left;"><li>Components are the self contained source and reusable units of an app.</li><li>UI Framework - Built on Open Aura Framework.</li><li>It is used for developing web apps - For mobile and desktop devices.</li><li>It is a client server framework.</li><li>It helps to accelerate the development.</li><li>It helps to improve application peformance. It has stateful client and stateless server.</li><li>It has several reusable out of the box components.</li><li>A Component can contain other components, JS, HTML and CSS.</li><li>Encapsulated, configured through attributes and communicate through events.</li><li>LC are device aware and have cross browser compatibility.</li></ul><div><br /></div><div><div><b>What is Aura? What is the relation of Aura with Salesforce Lightning?</b></div><div><ul style="text-align: left;"><li>It is a UI Framework for developing dynamic web apps for mobile and desktop devices.</li><li>It is totally independent of Salesforce.</li><li>It has several out of the box components like button,checkbox,datagrid etc.</li><li>It is available at https://github.com/forcedotcom/aura</li><li>The aura namespace contains components to simplify your app logic, and the ui namespace contains components for user interface elements like buttons and input fields.</li><li>The Lightning Component framework is built on the open source Aura framework.</li></ul></div></div></div><div><br /></div><div><br /></div><div><div><b>What is Lightning Experience</b></div><div><ul style="text-align: left;"><li>Lightning Experience is the new, modern user experience and interface for using Salesforce.</li><li>It has a modern and responsive design. It is optimized for users so that they can work very fast and easily on records so that they are more productive.</li><li>Not every feature of Salesforce is supported in Lightning Experience yet. Because of this, Salesforce Classic – is still available, and users can switch between Lightning Experience and Salesforce Classic with ease.</li><li>It is not necessary for the entire org to move to Lightning Experience at the same time. Certain users can enable Lightning Experience, while others can continue using Salesforce Classic.</li><li>Admins can enable Lightning Experience access at the user, profile, and organization level.</li></ul><div><br /></div></div></div><div><div><b>What are Lightning Apps?</b></div><div><br /></div><div>Lightning Apps are made of Lightning components.</div><div><ul style="text-align: left;"><li>Lightning App&nbsp; is a special top-level component whose markup is in a .app resource.</li><li>You can Access app using url of this pattern https://<mydomain>.lightning.force.com/<namespace>/<appname>.app</appname></namespace></mydomain></li><li>Mark up starts with <aura:application></aura:application></li><li>Types</li><ul><li>Standalone – can be hosted outside SF1 and LE, like lightning out and VF pages</li><li>Lightning Experience and SF1 – Can take advantage of record create and edit pages, among other benefits</li></ul></ul><div><br /></div><div><div><b>What is pre-requisite for learning Lightning component development?</b></div><div><ul style="text-align: left;"><li>Learn JavaScript. You must have intermediate level of JavaScript knowledge.</li><li>Learn concept of web components like google polymer, react,etc</li><li>Learn Single page app concept.</li><li>CSS3 Knowledge.</li><li>JavaScript debugging.</li><li>Apex knowledge for server side logic coding.</li></ul></div></div></div></div><div><b><br /></b></div><div><b>What is a Lightning Component Bundle? OR What is a Lightning component made up of?</b></div><div><b><br /></b></div><div>A component bundle contains a component or an app and all its related resources.</div><div><ul style="text-align: left;"><li>CSS Styles</li><li>Controller</li><li>Design</li><li>Documentation</li><li>Renderer</li><li>Helper</li><li>SVG File</li></ul><div><div><br /></div><div><b>What are the types of events in Lightning?</b></div><div><ul style="text-align: left;"><li>Component events are handled by the&nbsp;</li><ul><li>component itself or&nbsp;</li><li>a component that instantiates or contains the component.</li></ul><li>Application events are handled by&nbsp;</li><ul><li>all components that are listening to the event. These events are essentially a traditional publish-subscribe model.</li></ul></ul></div></div></div><div><div><b><br /></b></div><div><b>What is @AuraEnabled annotation used for?</b></div><div><ul style="text-align: left;"><li>The @AuraEnabled annotation enables client side access to an Apex controller method.</li><li>Providing this annotation makes your methods available to your Lightning components.</li><li>Only methods with this annotation are exposed.&nbsp;</li></ul></div></div><div><div><b><br /></b></div><div><b>What is Lightning Design System (SLDS)?</b></div><div><ul style="text-align: left;"><li>The Salesforce Lightning Design System includes the resources to create user interfaces consistent with the Salesforce Lightning principles, design language, and best practices.&nbsp;</li><li>It helps to create an intuitive UI with less number of clicks which is modern and beautiful.</li></ul></div></div><div><div><b><br /></b></div><div><b>What is the use of access=“global”?</b></div><div><ul style="text-align: left;"><li>Mark your resources, such as a component, with access="global" to make the resource usable outside of your own org. For example, if you want a component to be usable in an installed package or by a Lightning App Builder user or a Community Builder user in another org.</li></ul></div><div><br /></div></div><div><div><b>What are Component Attributes?</b></div><div><ul style="text-align: left;"><li>Component attributes are like member variables on a class in Apex.</li><li>They are typed fields that are set on a specific instance of a component, and can be referenced from within the component's markup using an expression syntax.&nbsp;</li><li>Attributes enable you to make components more dynamic.</li><li>Use the <aura:attribute> tag to add an attribute to the component or app.</aura:attribute></li><li>All attributes have a name and a type.</li><li>Attributes may be marked as required by specifying required="true", and may also specify a default value.</li></ul></div><div style="text-align: justify;"><aura:application>&nbsp;&nbsp;</aura:application></div></div><div style="text-align: justify;"><div><b>What is Lightning Data Services?</b></div><div><ul><li>It is data Layer for Lightning</li><li>Can be equated to Standard Controllers in Visualforce</li><li>Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code.</li><li>No SOQL required.</li><li>Lightning Data Service handles sharing rules and field-level security automatically.</li><li>Declarative CRUD operations</li><li>Auto notify on record changes</li><li>Offline Access for Salesforce1</li><li>Lightning Data Service improves performance and user interface consistency.</li></ul><div><br /></div></div><div><div><b>What is Salesforce Lightning CLI?</b></div><div><ul><li>It is part of&nbsp; Salesforce DX CLI Command that lets you scan your code for general JavaScript coding issues and Lightning-specific issues.</li><li>Useful for preparing your Lightning components code for LockerService enablement.</li><li>Based on ESLint project.</li></ul></div></div><div><div><b><br /></b></div><div><b>Is Namespace required for lightning component creation?</b></div><div><ul><li>If you’re not creating managed packages for distribution then registering a namespace prefix isn’t required, but it’s a best practice for all but the smallest organisations.</li></ul></div></div><div><br /></div><div><b><br /></b></div></div><div style="text-align: justify;"><div><b>What are Local and Global ids with respect to lightning component?</b></div><div><ul><li>A component has two types of IDs: a local ID and a global ID.&nbsp;</li><li>You can retrieve a component using its local ID in your JavaScript code.&nbsp;</li><li>A global ID can be useful to differentiate between multiple instances of a component or for debugging purposes.</li><li>Local ID is created by using the aura:id attribute.</li><li>example <lightning:button aura:id="button1" label="button1"></lightning:button></li><li>To find the local ID for a component in JavaScript, use cmp.getLocalId()</li><li>Every component has a unique globalId, which is the generated runtime-unique ID of the component instance.</li><li>A global ID&nbsp; is not guaranteed to be the same beyond the lifetime of a component, so it should never be relied on.</li></ul></div></div><div><div><b><br /></b></div><div><b>What is the requirement for a component to be used in a custom tab in lightning experience or Salesforce1?</b></div><div><br /></div><div><ul style="text-align: left;"><li>Add the force:appHostable interface to a Lightning component to allow it to be used as a custom tab in Lightning Experience or Salesforce1.</li><li>Components that implement this interface can be used to create tabs in both Lightning Experience and Salesforce1.</li></ul></div></div><div><div><b><br /></b></div><div><b>What is FlexiPage?</b></div><div><ul style="text-align: left;"><li>FlexiPage Represents the metadata associated with a Lightning page.&nbsp;</li><li>A Lightning page represents a customizable screen made up of regions containing Lightning components.</li></ul></div></div><div><br /></div><div><br /></div><div>Watch it in video format https://goo.gl/zDTPt4 </div></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com1tag:blogger.com,1999:blog-33963280.post-69269505689392707232017-09-24T22:34:00.002+05:302017-09-24T22:37:26.080+05:30Salesforce Dreamforce 2017<div dir="ltr" style="text-align: left;" trbidi="on"><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;">Dreamforce is the learning event of the year and the largest software conference in the world. It is hosted by Salesforce in California USA. It started 15 years back and Salesforce has been hosting this every year since then.</span><br /><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;"><br /></span><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;">People from all around the world attend this event. It is a dream of every developer to attend this event once. There is lot of learning in this event as all the who's who of Salesforce and World give sessions in this event. The sessions are on variety of topic. Salesforce customers and partners showcase their solutions and products in this event.&nbsp;</span><br /><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;"><br /></span><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;">For 2017,&nbsp;</span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="font-size: 15px;">Full Conference pass is already sold out<span style="background-color: white;">. It will be a 4 day event with more than 2700+ sessions on varied topics. It will be starting&nbsp;</span></span></span><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;">Monday, November 6, 2017 and will end on Thursday, November 9, 2017.&nbsp;</span><br /><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;"><br /></span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white; font-size: 15px;">Here are some important links for 2017</span></span><br /><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white; font-size: 15px;"><br /></span></span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white; font-size: 15px;"><br /></span></span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white; font-size: 15px;"><b>Schedule</b></span></span><br /><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><a href="https://www.salesforce.com/dreamforce/schedule/">https://www.salesforce.com/dreamforce/schedule/</a></span></span><br /><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><br /></span></span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white; font-size: 15px;"><br /></span></span><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><span style="background-color: white;"><span style="font-size: 15px;"><b>List of finalised&nbsp;sessions</b></span></span></span><br /><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><a href="https://success.salesforce.com/sessions?eventId=a1Q3A00000stRRuUAM">https://success.salesforce.com/sessions?eventId=a1Q3A00000stRRuUAM</a></span></span><br /><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><br /></span></span><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><br /></span></span><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><b>Registration link</b></span></span><br /><span style="background-color: white; color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif; font-size: 15px;"><a href="https://www.salesforce.com/dreamforce/register/">https://www.salesforce.com/dreamforce/register/</a></span><br /><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><br /></span></span><span style="background-color: white; font-size: 15px;"><span style="color: #222222; font-family: &quot;salesforcesansregular&quot; , &quot;helvetica&quot; , &quot;arial&quot; , sans-serif;"><br /></span></span></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com0tag:blogger.com,1999:blog-33963280.post-2834777961808386652017-09-19T20:50:00.000+05:302017-10-18T16:39:15.888+05:30Salesforce Integration Interview Question and Answers<div dir="ltr" style="text-align: left;" trbidi="on"><b>1. What is XML?</b><br /><ul style="text-align: left;"><li>XML is Extensible Markup Language (XML)</li><li>It is similar to HTML. HTML is used to display data, XML is designed for carrying data.</li><li>It's main purpose is to transport and store data.</li><li>Unlike HTML, XML tags are not predefined. You must define your own tags.</li><li>XML is self describing.</li><li>XML uses a DTD (Document Type Definition) or XML Schema to formally describe the data.</li></ul><div><br /></div><div><b>2. What is an API?</b></div><div><ul style="text-align: left;"><li>Stands for Application Programming Interface.</li><li>It defines how the software systems must interact.</li><li>Salesforce provides programmatic access to information using simple, powerful, and secure APIs.</li><li>Allows one piece of software to make use of the functionality or data available to another system.</li><li>Examples in Salesforce</li><li>Bulk API</li><li>Metadata API</li><li>Streaming API</li></ul><div><b><br /></b></div><div><b>3. What is Remote Site Settings used for?</b></div><div><ul style="text-align: left;"><li>Before any Visualforce page, Apex callout, or JavaScript code using XmlHttpRequest in an s-control or custom button can call an external site, that site must be registered in the Remote Site Settings page, or the call fails.&nbsp;</li><li>In this setting, You need to specify the URL that you want to access.&nbsp;</li><li>You can deactivate the setting if needed.</li></ul><div><br /></div></div></div><div><b>4. What is Oauth?</b></div><div><ul style="text-align: left;"><li>OAuth (Open Authorization) is an open standard for token-based authentication and authorization on the Internet.</li><li>It is a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords.</li><li>It is used by companies such as Google, Facebook, Microsoft and Twitter to permit the users to share information about their accounts with third party applications or websites.</li></ul><div><br /></div></div><div><b>5. What is JSON?</b></div><div><ul style="text-align: left;"><li>JSON or JavaScript object notation is an open standard that uses human readable text to transmit data consisting of key-values and arrays.</li><li>It is a lightweight data-interchange format.</li><li>It is very easy to read and write. It is concise and lightweight.</li><li>It is a very common data format used for asynchronous browser/server communication, including as a replacement for XML in some AJAX-style systems.</li><li>JSON is a language-independent data format</li><li>JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server.</li><li>We can also convert any JSON received from the server into JavaScript objects.</li></ul><div><b><br /></b></div><div><b>6. What is cURL used for?</b></div><div><ul style="text-align: left;"><li>cURL is a command line tool for getting or sending files using URL syntax.</li><li>It supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP.</li><li>Example usage in of cURL tool related to Salesforce is to send HTTP requests to access, create, and manipulate REST resources on the Force.com platform.</li></ul><div><br /></div><div><b>7. What is WSDL?</b></div><div><ul style="text-align: left;"><li>A WSDL is an XML document that describes a web service. It contains a standardized description on how to communicate using a web service&nbsp;</li><li>It actually stands for Web Services Description Language.</li><li>Salesforce offers two types of WSDL</li><ul><li>Enterprise</li><li>Partner</li></ul></ul></div></div></div><div><br /></div><div><br /></div><div><b>8. What is the use of Enterprise WSDL?</b></div><div><ul style="text-align: left;"><li>The Enterprise WSDL is strongly typed.</li><li>The Enterprise WSDL is tied (bound) to a specific configuration of Salesforce (ie. a specific organization's Salesforce configuration). It is optimized for a single org.</li><li>The Enterprise WSDL changes if modifications (e.g custom fields or custom objects) are made to an organization's Salesforce configuration.</li><li>Ideal for integration with single Salesforce org.</li></ul><div><br /></div></div><div><b>9. What is the use of Partner WSDL?</b></div><div><ul style="text-align: left;"><li>The Partner WSDL is loosely typed.</li><li>The Partner WSDL can be used to reflect against/interrogate any configuration of Salesforce (ie. any organization's Salesforce configuration). It is optimized for multiple Salesforce orgs.</li><li>The Partner WSDL is static, and hence does not change if modifications are made to an organization's Salesforce configuration.</li><li>Ideal for integration with multiple Salesforce orgs.</li></ul><div><br /></div></div><div><b>10. What is SOAP UI?</b></div><div><ul style="text-align: left;"><li>SoapUI is a free and open-source app for testing SOAP and REST services.</li><li>It can be used for API Functional Testing, API Performance Testing, API Security Testing, API Mocking, etc.</li><li>It is available for download from https://www.soapui.org/</li></ul><div><br /></div></div><div><div><b>11. What are Connected Apps?</b></div><div><ul style="text-align: left;"><li>A connected app integrates an application with Salesforce using APIs.&nbsp;</li><li>Connected apps use standard SAML and OAuth protocols to authenticate, provide single sign-on, and provide tokens for use with Salesforce APIs.&nbsp;</li><li>&nbsp;In addition to standard OAuth capabilities, Connected apps allow Salesforce admins to set various security policies and have explicit control over who can use the corresponding apps.</li></ul></div></div><div><br /></div><div><b>12. What is Bulk Api?</b></div><div><ul style="text-align: left;"><li>Based on REST Principles.</li><li>Can be used for querying, insert, delete, update, upsert of many records asynchronously by submitting batches. Salesforce processes batches in the background.</li><li>It is a Asynchronous API.</li><li>Has the ability to work with large data sets like 500,000 records. So, API for loading large amount of data</li><li>Can be enabled in data loader.</li></ul></div><div><br /></div><div><b>13. What is SOAP API?</b></div><div><ul style="text-align: left;"><li>SOAP is used as wrapper for API Operations.&nbsp;</li><li>It is used to create,update,retrieve and delete records.</li><li>Oldest of the APIs used in Salesforce</li><li>Mostly used in enterprise settings.</li><li>Oriented around accessing data and manipulating records.</li><li>Mostly used with XML Data.</li></ul><div><br /></div></div><div><b>14 What is REST API?</b></div><div><ul style="text-align: left;"><li>REST stands for Representational State Transfer.</li><li>Simpler than SOAP API. It is easy to develop and integrate.</li><li>Preferred for Salesforce integration with Mobile device. Preferred as Public API</li><li>Mostly used with JSON data.</li><li>Uses the HTTP build-in headers (with a variety of media-types) to carry meta information and use the GET, POST, PUT and DELETE verbs to perform CRUD operation</li></ul></div><div><br /></div><div><b>15. What is Metadata API?</b></div><div><ul style="text-align: left;"><li>Metadata means data about data.</li><li>Metadata API main focus is on accessing metadata.</li><li>Use Metadata API to retrieve, deploy, create, update, or delete customizations for your org.</li><li>The most common use is to migrate changes from a sandbox or testing org to your production environment.</li><li>It can be used to manipulated metadata elements like Page Layouts, Apex Classes, VF Pages, etc.</li><li>Tools like force.com IDE and force.com migration toolkit uses metadata API</li><li>It is SOAP based.</li></ul><div><br /></div><div><b>16. What is Streaming API?</b></div><div><ul style="text-align: left;"><li>Streaming API can be used to get a real time notification of data changes in Salesforce.</li><li>The matching data criteria( for the data for which we want to receive notification) can be defined using a SOQL query.</li><li>It is much efficient than the clients who continuously poll the server.</li><li>It internally uses Bayeux Protocol.</li></ul></div></div><div><br /></div><div><br /></div><div><b>17.What is Lightning Connect?</b></div><div><ul style="text-align: left;"><li>Salesforce Connect is a framework that enables you to view, search, and modify data that’s stored outside your Salesforce org. The data can be on premise (e.g. SQL Server) or on cloud (another Salesforce org).</li><li>It was earlier called as Lightning Connect.</li><li>Uses concept called as External Objects which are similar to custom objects.</li><li>Based on OData (Open Data Protocol) which is a modern, REST-based protocol for integrating data.</li><li>Data Integration is done in real time.</li></ul></div><div>Watch in video format</div><div><iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/_Zr7s-7_qm0" width="480"></iframe> </div></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com5tag:blogger.com,1999:blog-33963280.post-23714113253160380172017-09-19T20:16:00.003+05:302017-09-20T03:37:43.279+05:30DontStopDeploying Salesforce DX Challenge from Salesforce on Twitter <div dir="ltr" style="text-align: left;" trbidi="on">Salesforce is running Salesforce DX Challenge on twitter. Anyone can participate in this challenge. It is a 5 day program starting from 18th September and it ends on 22nd September.&nbsp; In this challenge you need to complete and earn "<b>App Development with Salesforce DX</b>" badge on Trailhead. After completing all the steps of this module you need to take the screenshot of final&nbsp;“Woohoo!” screen and tweet the image with text "<b>Game over! I completed the #DontStopDeploying Challenge!</b>".<br />After tweeting, you need to fill up a form located at&nbsp;http://go.pardot.com/l/27572/2017-09-15/7lqdqs<br />In this form, you need to enter your name, address, link to your Trialhead profile and link to the tweet that you tweeted. If you are one of the first 1000 person to complete this, you will win goodies from Salesforce.<br /><br />More details are available at&nbsp;https://developer.salesforce.com/blogs/2017/09/earn-swag-dontstopdeploying.html<br /><br />Here is the twitter link to the hashtag&nbsp;https://twitter.com/search?q=%23DontStopDeploying&amp;src=tyah and youtube video of the competition<br /><br />https://www.youtube.com/watch?v=M2awPf3yugg&amp;feature=youtu.be<br /><br /><br /><br />So, don't wait, just get the badge and win some goodies from Salesforce.<br /><br />Learn Salesforce DX from our channel&nbsp;https://www.youtube.com/channel/UCg8_QWMEUaCavDmJTVLl-aQ<br /><br /></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com1tag:blogger.com,1999:blog-33963280.post-66858236060737711912017-09-18T06:44:00.001+05:302017-09-19T08:20:05.914+05:30Salesforce Interview Question and Answers<div dir="ltr" style="text-align: left;" trbidi="on">1. What is Salesforce.com<br /><ul style="text-align: left;"><li>Salesforce.com also know as SF or SFDC is a cloud computing company located in USA. It was founded by Marc Benioff in 1999.</li><li>Salesforce provides customer relationship management software built on its platform. Using this, customers can manage acquisitation of potential customers and provide servies and support to existing customers.</li><li>It provides several applications built on top of Salesforce Platform like Sales Cloud ( for selling your products to customers), Service Cloud ( for providing service), Health Cloud ( Product built specifically for HealthCare companies), Finance Cloud ( Product built for Finance domain companies), Analytic Cloud (for Analyzing data. There are several other products.</li></ul><br /><div><br /></div><div>2. What is Cloud Computing?</div><div><br /></div><div>Cloud computing is the delivery of computing services—servers, storage, databases, networking, software, analytics and more—over the Internet ("the cloud").&nbsp;</div><div>E.g. are Salesforce, Amazon, Microsoft and Google.</div><div>Here are a few of the things you can do with the cloud:</div><div><ul style="text-align: left;"><li>&nbsp; &nbsp; Create new apps and services</li><li>&nbsp; &nbsp; Store, back up and recover data</li><li>&nbsp; &nbsp; Host websites and blogs</li><li>&nbsp; &nbsp; Stream audio and video</li><li>&nbsp; &nbsp; Deliver software on demand</li><li>&nbsp; &nbsp; Analyse data for patterns and make predictions</li></ul><div><br /></div></div><div><div>3. What is a CRM?</div><div><ul style="text-align: left;"><li>CRM means Customer Relationship management. Relationship management is done between&nbsp;</li><li>Company and the new &nbsp;customers ( for Sales).</li><li>Company and the existing customers ( for service).</li></ul><div><br /></div></div></div><div>4. To use Salesforce which software needs to be installed?<br /><ul style="text-align: left;"><li>There is no need to install any new software on your machine to access Salesforce.</li><li>All the data and application resides on Salesforce server.</li><li>You can access your application using a standard web browser like Google Chrome, Mozilla Firefox or Internet Explorer. Since these browser are available on Windows, Ubuntu, Android and Mac OS there is no dependency on OS as well.</li><li>You also do not have to maintain the application as it is maintained by Salesforce. Any new updated released by Salesforce will also be applicable to your application</li></ul><div><br /></div></div><div><div>5. What is a Lead?</div><div><ul style="text-align: left;"><li>A sales lead is a prospective consumer of a product or service, created when an individual or business shows interest and provides contact information.&nbsp;</li><li>Businesses gain access to sales leads through advertising, trade shows, direct mailings and other marketing efforts.&nbsp;</li><li>They can also purchase sales leads from third-party companies.</li></ul><div><br /></div></div></div>6. What is a Campaign in Salesforce<br /><ul style="text-align: left;"><li>Campaign is planned set of activities that people carry out over a period of time to achieve an objective.</li><li>It can be a direct mail program, seminar, print advertisement, email, or other type of marketing initiative.</li><li>Campaign in Salesforce is a Standard Object which is used to track, manage and plan your marketing project.</li><li>Campaigns are an excellent tool to track ROI and KPIs, optimize efforts, record marketing activity and provide accountability and visibility to the rest of the company.</li></ul><br /><div>7. What is Sales Cloud?</div><div><div><ul style="text-align: left;"><li>Sales Cloud is Sales application provided by Salesforce</li><li>It helps to grow customer base, find new customers and close the business deals faster</li><li>It includes functionality related to Account and Contact Management, Opportunity Management, Campaign Management, Product and Asset management, Forecasting, Territory Management, etc.</li></ul><div><br /></div></div></div><div>8. What is Service Cloud</div><div><ul style="text-align: left;"><li>It is Customer service and support solution provided by Salesforce.</li><li>Using this you can provide service through phone, email, social media, communities or chat.</li></ul><div><br /></div></div><div><div>9. What are the different editions offered by Salesforce?</div><div><ul style="text-align: left;"><li>Lightning Professional Edition.</li><li>Lightning Enterprise Edition</li><li>Lightning Unlimited Edition</li><li>Developer Edition</li></ul><div><br /></div><div>10. What is a Salesforce User License?</div><div><ul style="text-align: left;"><li>The license assigned to each user determines which features the user can access in Salesforce.</li><li>Each user can have only one user license.</li><li>License is assigned to the user using Profile settings in Salesforce.</li></ul><div><br /></div></div></div></div><div>11. What is Salesforce AppExchange?</div><div><ul style="text-align: left;"><li>AppExchange is Salesforce Application market place.</li><li>Apps in AppExchange are customized for Salesforce and extend Salesforce to every department and every industry.</li><li>Anyone can browse and explore AppExchange demos and test drives.</li><li>It features both free as well as paid apps.</li></ul></div><div><br />12. What is Salesforce1?</div><ul style="text-align: left;"><li>It is a mobile application which give access to Salesforce data on a mobile</li><li>It is available for android and iOS devices and mobile browsers.</li><li>It can be enabled/disabled for a salesforce organization</li></ul><div><br /></div><div>13. What is Chatter?</div><div><ul style="text-align: left;"><li>It is an enterprise collaboration platform. It can be used to exchange information, data and files between users</li><li>It is by default enabled in Salesforce organization</li><li>It can also be used for sending messages between users.</li><li>You can create public and private groups for sharing information.</li></ul></div><br /><br />&nbsp;Watch this in video format...<br /><div><iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/SGXn-wVXWNw" width="480"></iframe></div></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com30tag:blogger.com,1999:blog-33963280.post-86745985769573750302017-09-18T06:38:00.001+05:302017-10-18T16:42:32.355+05:30How to install Visual Studio Code (VSCode) with Salesforce DX - Sep 2017<div dir="ltr" style="text-align: left;" trbidi="on">In this post, we will see how to install Visual Studio Code (vscode) and install Saleforce DX CLI (SFDX CLI) as an extension in vscode text editor .Salesforce DX Development team has added Syntax highlighting for Apex, Visualforce and Lightning bundle files. Auto complete feature is provided for Apex code, which is based on Apex Language Server. <br /><br />Salesforce DX is now generally available. Visual Studio code is now officially supported with Salesforce DX instead of Force.com IDE which is not very surprising as it is very challenging to work with the Force.com IDE.<br /><br />VS code uses Java and a jar file under the hood to provide syntax highlighting and auto completion. So we need to install latest version of Java first.<br /><br />You also need SFDX CLI installed on your machine to use the Salesforce DX features in VSCode IDE.<br /><br />Install JDK from Oracle Website and set the JAVA_HOME environment variable.<br /><br />Download and install vscode from&nbsp;https://code.visualstudio.com/download. The extension name is<br />"Visual Studio Code Extension Pack for Salesforce DX"<br /><br />Visual Studio Code Extension can be downloaded from<br />https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode.<br /><br />If you have already installed the extension and are facing issue like the command not appearing in the command pallete, uninstall the extension and try reinstalling those.<br /><br /><br />See and follow the procedure given in this video.<br /><br /><iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/k1olmglk0nI" width="480"></iframe></div>Manish Gourhttp://www.blogger.com/profile/03280501050515392983noreply@blogger.com2