In this lecture we are going to understand how to deploy metadata using four star compiler.
Actually to be on this supposed dark comedy is not an extensive admin tool because when you consider
deployment you have multiple options you can deploy using chain sets you can deploy using full throttle
maybe you can deploy using snapshots you can deploy using full track on migration to numerous options
and every project has guard data and trusses.
Some use chains it's some use snapshot defence basically and this full of dark comedy is more of a developer
tool and this is used extensively for coding compiling for comparing codes across args for running tests
for debugging troubleshooting and for all these but then knowledge is always very good right.
So that's one reason I have included this lecture in the admin program so as Edmonds even if you are
not aware of the other features of the tool at least we know how to deploy competence using full start
might be because that deployment is definitely a part of an admin task so that's a reason we are going
to his lecture.
So first let's understand what does this for a start up I.T. eclipse is a idea that is integrated development
environment that is basically a single point of contact you can see that is one single location to manage
your code and it is very much widely used in Java Sea sharp and C++.
If you have had prior work experience with all these then it have definitely known about Eclipse and
full of stock on this basically a plugin for eclipse that can interact with Salesforce like nausea focused
dot com optics it Mozilla Salesforce competence it knows how they behave.
So this full stop Almighty is a powerful client application for creating modifying and deploying follows
dot com applications.
So step one is to set up the Enlightenment for us to look for struct commodities open socially it'll
need any license for that.
And as you can see here for us we got to download eclipse and then install it star Almighty for downloading
eclipse navigated as you auto eclipse dot org to go to w w w dot eclipse dot org and a dry top planner.
You can see the option for download click on download and you have multiple options as well here.
Depending on whether it is a Mac or Windows and if it's 32 bit or 62 64 bit and go for this option eclipse
idea for Java developers and if it's a 32 bit or 64 bit and go and download the company accordingly
basically as if file gets downloaded.
Takes around 15 20 minutes one stone successfully then we got to install full historical Mighty.
So I think nobody got the concept for start going I.T. as a standalone application but eclipse is a
very standard widely used open source programming tool.
So we are using full start gone through eclipse and the work is done.
Then we got to install full dark lady.
So now let's go back to the installation steps as we can see here.
We are done with this step and next navigated navigator does you on it.
So navigator does you order and there you can find the complete information about the full historical
mighty installation follow the steps you can see the installation steps over here funnel on the steps
and complete the installation.
And this shouldn't take more than five minutes.
It's actually pretty simple.
So for one of these installation steps and completed a dark comedy installation once then opened Eclipse
and you should see something like this.
And at this point we are done with our Eclipse and full stop committee installation and let's go ahead
with deployment.
Let's first have a quick look at the requirement for the deployment let's say.
Because for chains it to be deployed.
Some validation rule and feels right.
So for full circle might.
Let's say like the are targeting to deploy it trigger from Def to Kuwait.
So that is a good guy less desperate good.
And it is with respect to the object.
And this tree is existing in the Enlightenment.
So all that objective is to use post dark mighty and to deploy this metadata off the desk trigger from
Def to do environment.
So for doing this a lot on the steps that we'd like to follow.
Step one is to create a false start on project funding.
Def set looks so what it means is that the aren't creating a false dot com project and we are including
all the relevant competence in the project from the dev sandbox because here our source organization
is def and the target organization is doing so let's be we got to create that project in dev sandbox
and then we got the tools that particular competent to be deployed.
And then you have the option of deployed to submit using that option and then we got to follow the respective
steps and finally deployed cubit.
So first let me go ahead and create a new project file new full stocked on project.
And here you go to give a project name.
Say for example let me say best to deployment and it is always advised that whenever you create a project
influenced art committee you finally upended the Enlightenment thing because at any point of time you
tried to connect to this particular project.
You always connect to that particular environment so now that we are trying to connect to that.
So we go to say best deployment in that environment just for our understanding actually and the user
name password and the security toolkit so use a name password on the security token.
Everything is related to that.
Def sandbox so your username password on the security token that you use for logging.
The Sandbox and again like the environment do you have multiple options if using production you got
to separate action.
What if you're using sandbox your guard as a sandbox.
In other scenario are def sandbox that is a sandbox slice like Def sandbox and then I given that respectively
this username password and secular detail.
So once you've given the credentials and connect to the respective environment the next step is to choose
the meditator confidence from that particular environment to include in that project and as you can
see here that our float options out here it picks and B should force selected meditators competence
contents of a package and that is a fourth option and selecting the option totally depends on which
method it a conflict that you want to basically deploy.
So if you are right on it gives a is actually good.
So let's go with the first option that is apex and we shall force by selecting this option apex and
we should force it will basically include on the classes triggers Page's competence tactic resources
the dev organization might not include something like objects feel stabbed in all those in beautifully
epics and we shall force and the second option is selected meta data competence if you go with this
option it will list on all the metadata on but as there does available in the OP and from that list
you can choose which on competence that you want to deploy.
Say for example you want to deploy one trigger and you wanted to play some taps.
Okay so you going to go for the second option and then you can select only he goes in APS contents of
a package doesn't include the packages that is there in your OD then finally does not solve what other
I scenario it does epics and we should focus.
So let me go over the first option IPv6 and we should focus.
And let me click on finish.
This takes about a couple of minutes and once it is done you can see a project that has got created
this test deployment to debt and then you expand that you have three options.
Priority Engine reference packages and yes IFC goals but as RC as I see is the source folder and that
contains all the metadata off the competence that you have selected in our case we chose apex and we
shall force.
So basically you didn't exactly girls glasses competence on the pages.
So that's a and you know we have different folders for classes competence pages and static resources
that don't exist.
So all these are dollar project no.
Perfect.
So our next task is to locate the specific competence to be deployed.
So we have created a full spectrum project giving through all the relevant competence and know for us
to select a particular competently deployed handful of others and that you'll be have to select best
to get.
So let me go to eclipse.
Expand the folder goals and look at the best three good
Buffett.
Here we can see the extra good.
So right click on best trigger and then you have multiple options then you have an option for a start
gone.
So go for full star gun deployed to survey.
So this option deployed to sever the u v use this option for basically deploying this particular meditator
from one on two under that arc.
No this organization is death.
So from dev we are deploying it kind of on.
So go I deployed to server
and know the system ask us to specify which particular target organization we are trying to clinic.
So here we go to given the username password and the security token of the QE arc because basically
other to a target organization is skewing so you know the credential should be of the QB sandbox and
again the environment will be selected as sandbox.
So let me given the details.
Once you have successfully connected to the destination are full stop them i.e. automatically take a
backup creates the archive off the destination for historical competence and this step is highly recommended
so go for it.
You have options of where those aka files to be saved.
So again it is up to you.
Very one the files to be saved and then click on Next.
No the board frames out the deployment plan for us.
He dances the channel on the competence that are migrated from the source organization to the destination
organization in other senator that is only one component that we are migrating that does at best trigger
Noland and the similar faction you can choose multiple competence aspect and the like as you validate
as you are sure about the competence to be migrated.
Then you go ahead and check on validate deployment.
It goes through the validation perfect validation of successfully so close this and then we go to click
on next and that will execute the deployment blend.
So this validation you can very much compared with the process of validation in the change it's basically
checks and it runs at best.
So once validation is done go ahead and click on Next
and this executes their deployment plan.
And as we can see here the deployment is successful.
And if you click on View logs it does.
It gives a complete history offer which is a sales organization which is our destination organization
which had all the confidence that God migrated.
And all these details.
So you couldn't finish because we have successfully done with a deployment.
And now if you log into the U.S. handbook you'll be able to access the best trick.
So let me log into the sandbox and quickly show you that I have no logged into the U.S. sandbox as you
can see here.
Let me search for a progress if extra.
Gus and he had a list don't all that because guys got available.
Go t begin see this trigger.
So the best we got which was not there previously no lake we guarded deployed from that to Kuwait.
And how did we deploy the U.S. force start the mighty for deployment of metadata from that Kuwait.
So this is the whole process of deployment of metadata from one are the to another of using full.
All righty.
But I do remember that once you do the validation it is just validation and the changes are not committed.
You got to actually execute the deployment plan or leave then the changes will be committed to the destination
arc.
All right.
So you can pretty much compare this with change sets and how do we basically go through the process
philosophical ideas on the day of deployment of metadata from one or two on that all gun says force.
So let's go back to the steps real quick.
So we did the project and we included all the relevant competence.
We selected that particular company and we chose that option deployed to somewhere and then be connected
to the destination are the we gave that particular credentials and finally use the validate option to
validate and finally deploy the cheek just so that's all it is.