collaborative innovation for sustainability
DESCRIPTION
Leading corporations are creating online communities to connect, collaborate, and change the world. Join us as we track how one community, Nike's GreenXchange, successfully went from concept to prototype to launch. Find out how you can do the same! We'll show how to build an object model to support video, drive search and discovery, integrate with third-party sites, and create a stylized Web site using Force.com pages (Visualforce). You'll leave with the inspiration and tools you need to create your own idea exchange with Salesforce.TRANSCRIPT
Innovation for Sustainability with Force.com Sites, Ideas & Custom Cloud
Developers
John Wilbanks: Creative CommonsRandy Case: salesforce.comSkip Roncal: salesforce.com
Safe HarborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. 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 developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year ended January 31, 2010. This documents and others are available on the SEC Filings section of the Investor Information section of our Web site.
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 the 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.
Agenda Slide – what will people learn??
Greenxchange Collaboration Requirements & Vision
Developing Unique– Search and Discovery thru Tag Cloud
– Branding and Interactive User Interface Elements
– Capturing ‘Interest’ and Generating Workflow
Enabling Authenticated Portal
Using Ideas and Integrating with 3rd Party Networks
John Wilbanks
Creative Commons
Creative Commons
Creative Commons is a nonprofit corporation dedicated to making it easier for people to share and build upon the work of others, consistent with the rules of copyright.
We provide free licenses and other legal tools to mark creative work with the freedom the creator wants it to carry, so others can share, remix, use commercially, or any combination thereof.
GreenXchange Vision
GreenXchange Functional Requirements
GX Application Goals– Publish Patents
– Patent Licensing Methods
– Tag Patents for Discovery
– Search Patents
– Support Video
– Third Party Network Integration (Ideas)
– Branding
– Enable Sign-up and Workflow
Randy Case
salesforce.com
Technical Requirements
Non-authenticated web site– Patent search
– Tag cloud
– Hover description
– Branded
– Capture interest
– Access to Authenticated portal
Authenticated Portal– Form to express interest with patent owner
Data Model
Approach: Tag Cloud
Patent
Custom Object: Tag_Count__c
VF Page
Apex Trigger
Design: Tag Cloud
Design Steps
1. Create tag count table
2. Create Apex trigger on Patent create/update
a. Build list of words in an LIST (old and new)
b. Query for list of words from tag count table in a MAP
c. Loop though list of words incrementing and adding words when
necessary
d. Updating words in the tag count table
e. Deleting zero count words
Design: Tag CloudStep 1– Make a list of all the words
Segment your code and logic
“Bulkify” your trigger
Trigger
For updates, need to
subtract from the “old”
keywords
Design: Tag CloudStep 2 – Make MAP of all the words
Read all words at once to avoid governor limits
Trigger
Word Tag_Count__cMAP
Key Value
Design: Tag CloudStep 3 – Increment / decrement words
If word not found, then add word to
MAP
Trigger
Design: Tag CloudStep 4 – Save the word list
Trigger
Delete any words with zero count
Approach: Hover Description
Design: Hover Description
Design Steps
1. Create form/html to display abstract
2. Create JavaScript to• Expose form
• Submit form
3. JavaScript to hide form
Design: Hover Description
Form is hidden from view
Hidden field for patent ID and
button to submit form
Design: Hover Description
Call JS from VF page passing ID
Set hidden var on hidden form and click the submit button on form
Approach: Patent Portal
Approach: Patent Portal
Approach: Patent PortalForce.com Sites
SitesGuest User
UserLogs In
Browser has authentication token for Force.com
Design: Patent Portal – Login
Design : Patent Portal – Rendering Portal Link
Design: Patent Portal – Self Registration
Design: Patent Portal – Self Registration
Define portal user in Force.com
Use intrinsic classes to define
portal user and then log them on
It’s easy to build a full branded consumer portal
It’s easy to build a full branded authenticated portal
It’s even easier to provide a seamless experience between the two!
Segment your code for re-use and readability
Beware of governor limits
Key Take Aways
John Wilbanks
VP Science
Randy Case
Platform Architect
Skip Roncal
Platform Solutions Director
Question & Answer
Innovation for Sustainability with Force.com Sites, Ideas & Custom
Cloud Apps
D I S C O V E R
Visit the Developer Training and Support Booth in Force.com Zone
Discover
Developer
Learning Paths
Developer training, certification and support resources
S U C C E S SFind us in the Partner Demo Area of
Force.com Zone 2nd Floor Moscone West
that help you achieve
Learn about Developer
Certifications
Remember. . .
Check Chatter for additional session information
Get your developer Workbooks and Cheat Sheets in
the Force.com Zone
Visit for more information related
to this topicDon’t forget the survey!
How Could Dreamforce Be Better? Tell Us!
Log in to the Dreamforce app to submit
surveys for the sessions you attendedUse the
Dreamforce Mobile app to submit
surveysEvery session survey you submit is
a chance to win an iPod nano!
OR