Skip to main content

Posts

APEX Introduction

 APEX Introduction It is Object oriented programming language that is used to provide custom code to create business logic and database operation. APEX is also used to create salesforce triggers that will work automatically , before and after database operation(Insert, Update, Delete). Apex provide SOQL and SOSL to manage database operation. SOQL means salesforce Object Query Language and SOSL means salesforce  object search language, APEX language syntax is similar to Java programming language, it will compile and execute code using Apex cloud compiler. Salesforce provide developer option to create APEX class and execute option to execute APEX Code. Syntax of Apex public class Classname{    public static retuntype Methodname() {   }   public retuntype Methodname() {   } } Execute Apex code:- Classname ref = new Classname(); ref.methodname(); Static method means it will store data under class memory that's why it would be call by Classname. Instance ...

Most important Salesforce Admin Interview Question?

   Salesforce Admin Interview Questions Here is a list of some Top 55 Salesforce Admin Interview Questions: What is cloud Computing? What is Paas, Saas, Iaas? What is Sandbox and the Type of Sandbox in Salesforce? What is Object in Salesforce? What are the different types of object relations in Salesforce. What is a Master–Detail relationship in Salesforce? What is a junction object in Salesforce? How many LR(lookup relationship) fields can be created in an object? What is a Roll-up Summary field How many way to create What is a Roll-up Summary field What is field dependency What is the difference between role and profile What are Permission sets? What is use of muting permission set in permission set group How many ways we can share a record? What are Audit Fields in Salesforce? What is an Audit trail? What is a Queue in Salesforce? What is a Public Group Difference between static and dynamic dashboards in Salesforce? What are the different types of reports available in Sales...

How to upload file in ASP.NET Core MVC, File uploading concept in .net core MVC

 How to  upload file in  ASP.NET Core MVC, File uploading concept in .NET  core MVC:- It is used to upload any external content such as audio, video, text and doc file under project. Microsoft provide IFormFile class to handle file uploading operation Step by Step Implementation 1)  Create Project 2)  Create FileUpload.cs class under Models folder public class FileUpload     {         public IFormFile FormFile { set; get; }     } 3)  Create FileUploadingController Class using Microsoft.AspNetCore.Mvc; using CodeFirstExample.Models; using Microsoft.Extensions.Hosting.Internal; namespace CodeFirstExample.Controllers {     public class FileUploadController : Controller     {         private IWebHostEnvironment Environment;         public FileUploadController(IWebHostEnvironment _environment)         {         ...

Code First Approach in ASP.NET CORE MVC

 How to implement Code First Approach in ASP.NET CORE MVC:- Code First Approach is best for light-weight and smaller project in ASP.NET MVC Core, it is basically created to those developer who is not know about SQL. without SQL Server or any database package developer can create complete project. Step 1 New Project Once you have installed the Visual Studio 2019 and .Net Core 3.1 SDK, you can start building a new ASP.NET Core Application. Step 2nd:- Create a web app and From the Visual Studio select Create a new project. Select ASP.NET Core Web Application > Next. Step 3rd:- Give your project a name i.e. SampleCodeFirstExample and give your project a location where it’ll be saved and click Create. Step4th:-  Install the NuGet Packages From the Solution right click on dependency, select Manage NuGet Packages and Select the Browse tab, and then enter Microsoft.EntityFrameworkCore.SqlServer in the search box, select Latest Stable Version and Install. Step5h:- Now, install ...

Salesforce Crud Operation in separate Update and Delete page using Apex class

Salesforce Crud Operation in New Page  Create Apex class First:- public class StuEditOperation { public List<stu__c> allRec{get;set;} public stu__c coll;            // Property to store the parameter value passed from the Visualforce page     public String paramValue { get; set; }     public string value { get; set;}  public StuEditOperation()     {         allRec = [select Id,Name,fees__c from stu__c];              //   System.debug('Value is in constructor '+paramValue);            }      public void testdirect(){         system.debug(value);     }     public PageReference editstu() {          system.debug('inside method');         paramValue=ApexPages.currentPage().getParameters().get('paramValue');    ...

What is Salesforce? What is Apps and Object?

What is Salesforce? What is Apps and Object?   It is dynamic CRM that is used to create complete web software to manage the any organization internal activity based on sales, service, marketing, community, etc., it also provide customized solution, data integrity and custom app development using multiple salesforce org. Salesforce is a cloud based platform that provide SFDC based product to create and customized complete application under force.com cloud server. It is based on SAAS and PAAS based cloud services.  SAAS means Software as a service and PAAS means Process as a Service. How to create Account on SFDC 1)  developer.salesforce.com/signup create account using this  2)  login.salesforce.com using this write proper userid and password to manage the account login process .................................................................................................... What is App in salesforce:- App means application, salesforce provide two different type...

Salesforce APEX VISUAL FORCE CRUD OPERATION

Salesforce APEX VISUAL FORCE CRUD OPERATION:- public class StuEditOperation { public List<stu__c> allRec{get;set;} public stu__c coll;  public StuEditOperation()     {         allRec = [select Id,Name,fees__c from stu__c];            }     public PageReference editstu() {         //string idParam = apexpages.currentpage().getparameters().get('id');         coll = [SELECT Id, Name, fees__c FROM stu__c WHERE Id = 'a0F5i00000KbR4j'];         PageReference pageRef = Page.stufindoperation;         pageRef.getParameters().put('sid',coll.ID);         pageRef.getParameters().put('sname',coll.Name);         pageRef.getParameters().put('fees',String.valueOf(coll.fees__c));         return PageRef;         //return Page.stufindoperation;     } } Visual...