Vous êtes sur la page 1sur 53

Salesforce

Developer
Agenda
Bienvenidos a la Lightning Week
Presentaciones
Lightning Component
Lightning Process Builder
Lightning App Builder
Lightning week Bienvenidos!!
Qu es SDG? (aka DUG)

Nuevos miembros?

Lightning week
Lightning Components
Preguntas y Respuestas
Q: Is Lightning an MVC framework?
A: No, its a component-based framework.

Q: Why am I not seeing Lightning Components in my Org?


A: Its being rolled as we speak. Currently new Orgs and few others have it.

Q: When will Lightning Components be GA?


A: Were not commenting publicly about our release timeline.

Q: Whats the current release status of Lightning Components framework


and Lightning App Builder?
A: Lightning Components framework is in Beta. Lightning App Builder is in
Pilot.

Q: How do I use Lightning Components with the Salesforce1 Mobile App?


A: Either as Tabs or as Lightning Extensions.
Preguntas y Respuestas

Q: Why am I not seeing Lightning Components in my Org?


A: Its being rolled as we speak. Currently new Orgs and few others have it.

Q: When will Lightning Components be GA?


A: Were not commenting publicly about our release timeline.

Q: Whats the current release status of Lightning Components framework


and Lightning App Builder?
A: Lightning Components framework is in Beta. Lightning App Builder is in
Pilot.

Q: How do I use Lightning Components with the Salesforce1 Mobile App?


A: Either as Tabs or as Lightning Extensions.
Preguntas y Respuestas
Q: If Salesforce1 uses Lightning Components, will those Lightning
Components (for example, the calendar component, input fields, etc.) be
exposed as standard components for developers to use in the future with
standard Salesforce styling?
A: Were not commenting publicly about our release plan.

Q: Which parts of Lightning Components are server-side and which are


client-side?
A: Lightning Components can use JavaScript on the client side and Apex
on the server side.

Q: A tab with a Lightning Component only displays in the Salesforce1 UI.


Can I make a Lightning Component that shows up in both the mobile and
the desktop UIs?
A: Currently you can only use Lightning Components in the Salesforce1
Mobile App or a standalone app.
Preguntas
Q: Visualforce already has components. How are Lightning Component
different and why would I want to use them?
A: Visualforce components are page-centric and most of the work is done
on the server. Lightning is designed from the component up, rather than
having the concept of a page as its fundamental unit. Lightning
Components are client-side centric, which makes them more dynamic and
mobile friendly.

Q: Does Lightning work with Visualforce?


A: Not at this time.

Q: Will Lightning Components be replacing


Visualforce?
A: No
Crear una org
Creacin entorno desarrollo gratuita
https://developer.salesforce.com/signup
Accesso a Salesforce
https://login.salesforce.com
Material de hoy:
http://developerforce.github.io/lightning-components-tutorial/setup-
environment.html
Activar Lightning Components
Abrir la consola de
desarrollador
Si, de momento solo se pueden crear componentes desde la consola de desarrollador
Creamos el componente
File > New > Lightning Component

Nombre del componente -> QuickContacts


Creamos la ficha
Create > Tabs
Aadimos la ficha al men
Movil
Administer > Mobile Administration > Mobile Navigation
Accedemos al componente
Creamos un nuevo
componente ContactList
File > New > Lightning Component
Implementamos la parte
controladora
Aadimos el componente
dentro del comp. anterior
Aadimos estilo
Creamos el evento
SearchKeyChange
Este evento servir para comunicar los 2 componentes

File > New > Lightning Event.


Creamos el componente
SearchBar
File > New > Lightning Component
Creamos el controlador
SearchBar
Creamos el estilo para
SearchBar
Escuchamos el evento en el
componenete SearchList
Modificamos el controlador
SearchList
Aadimos SearchBar al
componenete inicial
Salesforce 1 Components

Preguntas?
@Vic_Naranja
Victor.saez@outlook.com
Lightning Process Builder
Crear una org e instalcin
paquete
Creacin entorno desarrollo gratuita
https://developer.salesforce.com/signup
Accesso a Salesforce
https://login.salesforce.com
Material de hoy:
http://leeanndroid.github.io/LightningProcessBuilder/index.html

Intalacin paquete:
http://bit.ly/TripApprovalPackage
Modificacin Quick Action
Setup | Create | Global Actions | Publisher Layouts

Seleccionamos New Trip y guardamos


Creacin campo Frmula
Setup | App Setup | Create | Objects | Trip Request
Nuevo Usuario
Setup | Administration Setup | Manage Users | Users
Usuario que aprobar los gastos
Creacin Approval Process
Setup | Create | Workflow & Approval | Approval
Process

Manage approval process for: Trip Request


Create New Appoval Process | Use Jump Start Wizard
Approval Process
Approval Process

No olvides activarla!!
Process Builder - New
Setup | Build | Workflow and Approvals | Process
Builder
Process Builder
Aadir objeto
Process Builder
Aadir objeto
Process Builder
Definir norma
Process Builder
Nueva Accin
Crear entrada en Chatter
Process Builder
Nueva Accin
Process Builder
Nueva Accin
Crear registro Evento
Process Builder
Nueva Accin
Enviar aprobacin
Process Builder
Activacin
Para activarlo es necesario:
Al menos una norma definida
Al menos una accin (inmediata programada)

No se puede editar despus de activar!!!


Process Builder
Prueba
Dnde?
Simular Salesforce1 app en el navegardor
https://<instancia>.salesforce.com/one/one.app
Salesforce1 app
En el entorno
Process Builder
Prueba
1. Selecciona la Quick Action

2. Introducimos la informacin
Process Builder
Prueba
Qu ha pasado?
Tenemos una entrada en chatter
Process Builder
Prueba
Qu ha pasado?
En el calendario tenemos un Evento
Process Builder
Prueba
Qu ha pasado?
Proceso de Aprobacin
Preguntas?
@agarciaodeian
www.agardiaodeian.com
agarcia@financialforce.com
Lightning App Builder
Crear una org
Creacin entorno desarrollo gratuita
https://developer.salesforce.com/signup
Accesso a Salesforce
https://login.salesforce.com
Material de hoy:
http://developerforce.github.io/lightning-app-builder-tutorial/
Preguntas?
@asiereiki

Vous aimerez peut-être aussi