View
213
Download
0
Tags:
Embed Size (px)
Citation preview
Salesforce Developer Group
Bilbao, 27de marzo, 2015
AgendaBienvenidos 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 RespuestasQ: Is Lightning an MVC framework? A: No, it’s a component-based framework. Q: Why am I not seeing Lightning Components in my Org? A: It’s being rolled as we speak. Currently new Orgs and few others have it. Q: When will Lightning Components be GA? A: We’re not commenting publicly about our release timeline.
Q: What’s 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: It’s being rolled as we speak. Currently new Orgs and few others have it. Q: When will Lightning Components be GA? A: We’re not commenting publicly about our release timeline.
Q: What’s 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 RespuestasQ: 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: We’re 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 orgCreación 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 componenteFile > New > Lightning Component
Nombre del componente -> QuickContacts
Creamos la fichaCreate > Tabs
Añadimos 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
Añadimos el componente dentro del comp. anterior
Añadimos estilo
Creamos el evento SearchKeyChange
File > New > Lightning Event.
Este evento servirá para comunicar los 2 componentes
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
Añadimos SearchBar al componenete inicial
¿Preguntas?@[email protected]
Salesforce 1 Components
Lightning Process Builder
Crear una org e instalción paquete
Creación 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
Intalación paquete:
http://bit.ly/TripApprovalPackage
Modificación Quick ActionSetup | Create | Global Actions | Publisher
Layouts
Seleccionamos New Trip y guardamos
Creación campo FórmulaSetup | App Setup | Create | Objects | Trip
Request
Nuevo UsuarioSetup | Administration Setup | Manage Users |
Users Usuario que aprobará los gastos
Creación Approval ProcessSetup | 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 - NewSetup | Build | Workflow and Approvals | Process
Builder
Process Builder – Añadir objeto
Process Builder – Añadir objeto
Process Builder – Definir norma
Process Builder – Nueva Acción
Crear entrada en Chatter
Process Builder – Nueva Acción
Process Builder – Nueva Acción
Crear registro Evento
Process Builder – Nueva Acción
Enviar aprobación
Process Builder –Activación
Para activarlo es necesario:Al menos una norma definidaAl menos una acción (inmediata ó programada)
No se puede editar después de activar!!!
Process Builder –Prueba
¿Dónde?Simular Salesforce1 app en el navegardor
https://<instancia>.salesforce.com/one/one.appSalesforce1 appEn el entorno
Process Builder –Prueba
1. Selecciona la Quick Action
2. Introducimos la información
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 Aprobación
Lightning App Builder
Crear una orgCreación 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
¡¡GRACIAS!!Nos vemos en el
próximo SGD