• Save
Intro to AppExchange - Building Composite Apps
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
7,728
On Slideshare
7,674
From Embeds
54
Number of Embeds
6

Actions

Shares
Downloads
0
Comments
0
Likes
6

Embeds 54

http://www.salesforce.com 24
http://blogs.salesforce.com 14
http://www.techgig.com 7
http://www.opengreenmap.org 6
http://www.slideshare.net 2
http://vintageflock.blogspot.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Intro to AppExchange: Building Composite Apps Sarah T. Whitlock, salesforce.com Sr. Program Manager, AppExchange Education Track: New AppExchange Developer
  • 2. Safe Harbor Statement
    • “ Safe harbor” statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements the achievement of which involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions proves incorrect, our results could differ materially from the results expressed or implied by the forward-looking statements we make.  All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
    • The risks and uncertainties referred to above include - but are not limited to - risks associated with the integration of Sendia Corporation’s technology, operations, infrastructure and personnel with ours; unexpected costs or delays incurred in integrating Sendia with salesforce.com, which could adversely affect our operating results and rate of growth; any unknown errors or limitations in the Sendia technology; any third party intellectual property claims arising from the Sendia technology; customer and partner acceptance and deployment of the AppExchange and AppExchange Mobile platforms; interruptions or delays in our service or our Web hosting; our new business model; breach of our security measures; possible fluctuations in our operating results and rate of growth; the emerging market in which we operate; our relatively limited operating history; our ability to hire, retain and motivate our employees and manage our growth; competition; our ability to continue to release and gain customer acceptance of new and improved versions of our CRM service; unanticipated changes in our effective tax rate; fluctuations in the number of shares outstanding; the price of such shares; foreign currency exchange rates and interest rates.
    • Further information on these and other factors that could affect our financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings we make with the Securities and Exchange Commission from time to time, including our Form 10-K for the fiscal year ended January 31, 2006. These documents are available on the SEC Filings section of the Investor Information section of our website at www.salesforce.com/investor .
    • Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all.  Customers who purchase our services should make purchase decisions based upon features that are currently available.  Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements, except as required by law.
  • 3. Agenda
    • What is a Composite App?
    • AppExchange Web Services API
      • Characteristics and Features of the Web Service
      • Supported Operations and Objects
      • The “Pieces” of the Solution
      • End-to-End Development Process
    • Demo: Console App to List Competitor Accounts
    • Resources for Further Study
  • 4. Topic 1 What Is a Composite App?
  • 5. Types of AppExchange Apps Native Composite Client User Interface Metadata, Layouts Business Logic Workflow Data Custom Objects User Interface S-Controls, Web links Business Logic Code + scripts Data Web services, local DBs Client Specific .NET forms, J2ME, Blackberry, etc Configure Code Code Simplicity + Speed Control + Flexibility
  • 6. Composite Features & Patterns: Hooks & Targets Web Tab allows arbitrary HTML to be inserted with Salesforce UI Custom Link allows external sites & apps to be launched with Salesforce UI Image Field allows local or external image to be displayed in line with form A composite app is a combination of a hook and a target
    • Hooks
    • Custom Links
    • Web Tabs
    • Image Fields
    • Targets
    • Web Controls
    • S-Controls
  • 7. Topic 2 AppExchange Web Services API
  • 8. How Does the Web Service Work?
    • Characteristics of the Web Service
    • Request-response model
    • Synchronous
    • Write Operations Committed Automatically
    • Http(s) POST’s
    • Conforms to SOAP and WSDL Standards
    Client Service request (xml) response (xml) Internet
  • 9. Features of the Web Service
    • 25 Operations (Methods) Supported
      • These are the “verbs” of the Web service
    • Numerous Entities (Objects) Supported
      • These are the “nouns” of the Web service
      • Includes ~100 Standard and All Custom Objects
    • Sforce Object Query Language (SOQL)
      • SQL-like query language
    • Sforce Object Search Language (SOSL)
      • Search language for programmatic text searches
  • 10. Supported Operations The “Verbs”
  • 11.
    • login – logs in to the single sign-on server and starts a client session
    Login/Client Session na0 na1 … www salesforce.com 2. sessionId, serverURL on success: https//na1.salesforce.com 1. login - https://www.salesforce.com 3. query, create, update, delete, etc
  • 12.
    • query – executes a query against the specified object (SOQL)
    • queryAll – executes a query and returns data from objects even if they have been deleted
    • queryMore – retrieves the next batch of objects from a query
    • SOQL Example: Find the First Name of all Contacts in CA with the Last Name = Smith and whose First Name isn’t Jim
    • binding.query(“Select FirstName from Contact where LastName = ‘Smith’ and MailingState = ‘CA’ and not FirstName = ‘Jim’”);
    Query Data
  • 13.
    • retrieve - retrieves one or more objects based on the specified object IDs
    • search - executes a text search in your org's data (SOSL)
    • SOSL Example: Search for the name Joe Smith or Joe Smythe in Leads and Contacts and return the Name and Phone Number
    • Find {“Joe Smith” or “Joe Smythe”} In All Fields
    • Returning Lead {Name, Phone}, Contact {Name, Phone}
    Search and Retrieval
  • 14.
    • create – adds one or more new individual objects to your organization's data
    • update – updates one or more existing objects in your organization's data
    • upsert – performs a create or an update of an object based on match of an ExternalId field
    • delete – deletes one or more individual objects from your organization's data
    • undelete - undeletes eligible records from the recycle bin
    Modify Data
  • 15.
    • describeGlobal – retrieves a list of available objects for your organization's data
    • describeSObjects / describeSObject – retrieves metadata (field list and object properties) for the specified object type(s)
    • describeLayout – retrieves information about the layout (presentation of data to users) of a given object type
    • describeTabs – retrieves information about the apps and tabs configured for the user
    Object Metadata
  • 16.
    • getDeleted - retrieves the IDs of specified individual objects that have been deleted since the specified time
    • getUpdated - retrieves the IDs of specified individual objects that have been updated since the specified time
    Data Replication
  • 17.
    • convertLead – converts a Lead into an Account, Contact, and (optionally) an Opportunity
    • merge - merge up to three records of type Account, Contact, or Lead into one
    • process - submits an array of workflow process instances for approval, or processes an array of workflow process instances (to be approved, rejected, or removed)
    Business Process
  • 18.
    • getServerTimeStamp – retrieves the current system timestamp (GMT) from the Web service
    • getUserInfo – retrieves personal information for the user associated with the current session
    • resetPassword – changes a user's password to a server-generated value
    • setPassword – sets the specified user's password to the specified value
    Utilities
  • 19. What “responses” Do You Get?
  • 20. Most calls return an array of “Results” objects
    • login : LoginResult
    • create, update: SaveResult[]
    • query: QueryResult[]
    • delete: DeleteResult[]
    • Create, Update, and Delete “Results” arrays also return an array of Error objects
    • Errors can be examined to see why a call failed
  • 21. How Do We Understand Each Other?
  • 22.
    • Define message format with WSDL
      • W eb S ervice D escription L anguage
      • Server defined
      • What operations and objects are allowed to the client
      • XML format
    • Format messages using SOAP
      • S imple O bject A ccess P rotocol
      • Messages contained in an “envelope”
      • XML format
    • Exchange messages via Http(s)
      • H yper t ext T ransfer P rotocol
      • Permits access through firewalls
      • Secure – encryption with ssl
    Message Formats and Protocols
  • 23. WSDL
  • 24.
    • WSDL is an XML format for describing network services as a set of endpoints operating on messages
    • WSDL is, basically, the interface that describes the format of messages you send to and receive from the Web service
    • Salesforce.com supports 2 versions of the WSDL
      • Enterprise WSDL
      • Partner WSDL
    Web Service Definition Language (WSDL)
  • 25. Which WSDL Is Right for Me?
    • Enterprise WSDL
    • Strongly typed
    • Tied to a specific configuration of Salesforce
    • Changes if custom fields or custom objects are added to your organization's Salesforce configuration
    • Primarily for Customers
    • Partner WSDL
    • Loosely typed
    • Useful for any configuration of Salesforce
    • Does NOT change if custom fields or custom objects are added to an organization's Salesforce configuration
    • Primarily for Partners
  • 26. SOAP
  • 27. Simplified SOAP Message
    • <soapenv: Envelope>
    • <soapenv: Header>
    • … some header stuff…
    • </soapenv: Header>
    • <soapenv: Body>
    • <create>
    • <sObjects>
    • <Name>Very Important Account</Name>
    • <AccountNumber>12345</AccountNumber>
    • </sObjects>
    • </create>
    • </soapenv: Body>
    • </soapenv: Envelope>
  • 28. How Do I Get Started?
    • Select a development language
      • VB.Net
      • C#.Net
      • Java
    • Obtain a SOAP client
      • .Net platform
      • Apache Axis for Java
    • Get access to an Enterprise or Unlimited Edition Salesforce account
      • Developer Edition is available for learning
    • Generate the WSDL
      • Enterprise WSDL
      • Partner WSDL
  • 29. End-to-End Development Process
  • 30.
    • Generate the WSDL
    • Import WSDL into your development environment
    • Generate Proxies from the WSDL
    • Code your client application
    • Remember : if you use the Enterprise WSDL, you MUST re-generate the WSDL and associated proxies if custom fields or custom objects are modified in your app
    Basic Steps
  • 31. Demo: Simple Console Application to Display Competitor Accounts
  • 32. Need More Information or Help?
  • 33. Resources
    • AppExchange Developer Network (ADN)
      • Comprehensive web site for AppExchange Developers
      • Documentation & Samples (API, AJAX)
      • Developer community forum
      • www.salesforce.com/developer
    • AppExchange Developer Support (ADS)
      • Per-incident, code-level support for developers creating solutions on the AppExchange platform
      • Support for Custom apps, Custom integrations, S-Controls
      • 4 hour response time for logged cases
      • More info: devsupport@salesforce.com
  • 34. Resources, cont’d
    • Creating On-Demand Applications with AppExchange
      • Salesforce.com publication
      • Illustrates technologies and concepts required to develop AppExchange apps
    • AppExchange Laboratory (AppLab)
      • 5-day Hands-On Instructor Led Course
      • Instruction for how to build, deploy, and install native and composite AppExchange apps
      • For Developers, IT Managers and Power Users
      • More info and to register: http://www.salesforce.com/trainingsupport/workshops.jsp
  • 35. Q & A
  • 36. Session Feedback Let us know how we’re doing!
    • Please score the session from 5 to 1 (5=excellent,1=needs improvement) on the following categories:
      • Overall rating of the session
      • Quality of content
      • Strength of presentation delivery
      • Relevance of the session to your organization
    Save time! Use your cell phone or mobile device to send Feedback via SMS/Text Messaging! Send a message to 26335 In the message body: Session 228, #### For example, “ Session 123, 5555 ” Session ID: 228 Session ID # Scores for 4 categories SMS Voting powered by: