CC Final Lab
CC Final Lab
oratory)
THIRD YEAR
INFORMATION TECHNOLOGY
(2019 COURSE)
LABORATORY MANUAL
FOR
LABORATORY PRACTICE - II
(CLOUD COMPUTING LABORATORY)
SEMESTER - VI
[Subject code: 314458]
Laboratory Practice – II (Cloud Computing Laboratory)
Assignment 7
Title: Design and develop custom Application (Mini Project) using Salesforce Cloud.
Problem Statement: To design and develop custom Application (Mini Project) using Salesforce
Cloud.
Theory:
Salesforce is a Cloud-Based Enterprise platform. It provides easy-to-use business applications, that can
generate relevant customer experience. Salesforce is a tool that allows staying connected with Customers,
Prospects, Partners, Sales, and Market Services globally.
Salesforce offers SaaS, PaaS, and IaaS tools. It also provides its cloud services for running applications.
The data is secure, upgraded, and scaled automatically. Salesforce Cloud is known to be very dependable
and offers benefits like Adaptability and Multitenancy over others. It also has a CRM platform. Salesforce
CRM is a product that manages a company’s relationship with Prospect Customers.
Salesforce cloud CRM software and applications are used for Sales, Service, Finance, Marketing,
Business Development, Recruiting, HR, Supply Chain Management, and other lines of business that
manage external and internal relationships. It allows storing Existing Customers and Potential Customer’s
information under a single platform, which would allow plotting a chart for Personalized Customer
Approach. It also allows to plan and monitor Sales and Marketing Campaigns, and manage services with
insightful and valuable data available.
Procedure:
Step-1: Click on Lightning Experience
Step-2: Click on Setup and select Setup for current App.
Step-3:
Click on Create an Object
So Click on Object Manager Tab next to Home TabClick on Create Custom Object
Step-4 New custom object page OpenLabel as a-Comment Plural label- comments
Step-6: For Object Select Comment For Tab Style Select Any Icon
Click-Next-Next-Save
Step-7: Search App Manager in Quick Search and select app manager
Select Profiles (System Administrator) and move to selected profile.Click on Save and
Finish.
Step-9: Click on App Launcher Symbol and Select Comment Box App
Step-10: Tour the app
To simulate the sales force mobile app in your browser, copy and paste in urlfrom previous tab. Delete
the part of the url immediately.
-Click on Left navigation bar
-Find comment object under recent and click on it
-Click new to create a comment
Conclusion: Thus, in this assignment design and development of Custom Application using SalesForce
Cloud is successfully completed.
FAQ’s:
Problem Statement: Design an Assignment to retrieve, verify, and store user credentials using
Firebase Authentication, the Google App Engine standard environment, and Google Cloud Data store.
Procedure:
Note: If you don't plan to keep the resources you create in this tutorial, create a new project
instead of selecting an existing project. After you finish, you can delete the project, removing
all resources associated with the project and tutorial.
If you have already installed and initialized the SDK to a different project, set the gcloud project
to the App Engine project ID you're using for Firenotes. See Managing Cloud SDK Configurations
for specific commands to update a project with the gcloud tool.
Alternatively, you can download the sample as a zip file and extract it.Navigate to the
directory that contains the sample code:
cd python-docs-samples/appengine/standard/firebase/firenotes
VIEW ON GITHUB
// Obtain the following from the "Add Firebase to your web app" dialogue
// Initialize Firebase
var config = {
apiKey: "<API_KEY>",
authDomain: "<PROJECT_ID>.firebaseapp.com",
databaseURL: "https://<DATABASE_NAME>.firebaseio.com",
projectId: "<PROJECT_ID>",
storageBucket: "<BUCKET>.appspot.com",
messagingSenderId: "<MESSAGING_SENDER_ID>"
};
2. Edit the backend/app.yaml file and enter your Firebase project ID in the environment
variables:
appengine/standard/firebase/firenotes/backend/app.yaml
VIEW ON GITHUB
runtime: python27
api_version: 1
threadsafe: true
service: backend
handlers:
- url: /.*
script: main.app
env_variables:
# Replace with your Firebase project ID.
FIREBASE_PROJECT_ID: '<PROJECT_ID>'
3. In the frontend/main.js file, configure the FirebaseUI login widget by selecting which
providers you want to offer your users.
appengine/standard/firebase/firenotes/frontend/main.js
VIEW ON GITHUB
// Firebase log-in widget
function configureFirebaseLoginWidget() {var
uiConfig = {
'signInSuccessUrl': '/',
'signInOptions': [
// Leave the lines as is for the providers you want to offer your
users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
firebase.auth.FacebookAuthProvider.PROVIDER_ID,
firebase.auth.TwitterAuthProvider.PROVIDER_ID,
firebase.auth.GithubAuthProvider.PROVIDER_ID,
firebase.auth.EmailAuthProvider.PROVIDER_ID
],
// Terms of service url
'tosUrl': '<your-tos-url>',
};
var ui = new firebaseui.auth.AuthUI(firebase.auth());
ui.start('#firebaseui-auth-container', uiConfig);
}
4. Enable the providers you have chosen to keep in the Firebase console by clicking
Authentication > Sign-in method. Then, under Sign-in providers, hover the cursor
over a provider and click the pencil icon.
Toggle the Enable button and, for third-party identity providers, enter the provider ID
and secret from the provider's developer site. The Firebase docs give specific
instructions in the "Before you begin" sections of theFacebook, Twitter, and GitHub
guides. After enabling a provider, click Save.
In the Firebase console, under Authorized Domains, click Add Domain and
enter thedomain of your app on App Engine in the following format:
[PROJECT_ID].appspot.com