• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Pushing Visualforce to the Limits, Without Apex
 

Pushing Visualforce to the Limits, Without Apex

on

  • 808 views

Prepare to be entertained! Live music, the most exciting and memorable safe harbor slide EVER, and we'll give you a toolkit of tips and tricks to get the most out of Visualforce, without writing a ...

Prepare to be entertained! Live music, the most exciting and memorable safe harbor slide EVER, and we'll give you a toolkit of tips and tricks to get the most out of Visualforce, without writing a line of Apex Code. Join us to learn how to delight your users with more useful, dynamic Visualforce pages using techniques such as JavaScript web components, Force.com Sites, and PDF output. You'll be surprised how much you can get done without reaching for Apex.

Statistics

Views

Total Views
808
Views on SlideShare
779
Embed Views
29

Actions

Likes
0
Downloads
7
Comments
0

1 Embed 29

https://twitter.com 29

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Pushing Visualforce to the Limits, Without Apex Pushing Visualforce to the Limits, Without Apex Presentation Transcript

    • Pushing Visualforce to the Limits Without Apex Joseph, Ucuzoglu, The Broad Center, Deputy Director of Information Systems
    • All about Session Goals / Agenda Provide you with some useful takeaways and entertainment! ▪ Add/Delete VF fields within the declarative interface ▪ Creating tabbed object layouts with Visualforce ▪ Embed Visualforce pages into your website
    • My #1 Challenge, Help You Avoid this….
    • I may want to show you this But your mind wants to know more about this…
    • No need to take notes! All code samples, the presentation, and more… will be posted in Chatter So relax and enjoy the show
    • Unfortunate Business of the Safe Harbor Slide Please welcome my organization’s Operations Associate
    • Safe harbor Safe 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 product or service availability, 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, new products and services, 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 any litigation, risks associated with completed and any 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 and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures 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 presentations, 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.
    • Special Guest Safe Harbor Slide Vocalist Xoichitl Flores
    • You ALWAYS need APEX to do really cool stuff… • Code Deployments • Longer to Develop • Test Coverage • Difficulty • Governor Limits That’s like saying *ALL* Safe Harbor slides are boring!
    • Problem: Use 1 We want to allow Administrators to add/delete fields from some VF pages without having to edit VF code.
    • Solution: Use 1 Use Fieldsets on our VF page and then add/remove fields via the field set within the declarative interface.
    • Why not just expect people to edit the VF code?
    • Adding a fieldset is easy > Select your object > Field Set (Beta) > New
    • In Practice
    • A very simple Visualforce page with a Field Set
    • Putting it all together Create your Visualforce Page http://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf Working with Field Sets http://www.salesforce. com/us/developer/docs/pages/Content/pages_dynamic_vf_field_sets. htm
    • Problem: Use 2 The page layouts for objects are getting too long and unwieldy. It is becoming difficult / time consuming to find information.
    • Solution: Use 2 Re-architect the layout within Visualforce utilizing tabs to present information concisely.
    • How did we get such large records? We came to an understanding organization wide.
    • Bloated Contact Layout - Page 1
    • Bloated Contact Layout - Page 2
    • Bloated Contact Layout - Page 3
    • Bloated Contact Layout - Page 4
    • Bloated Contact Layout - Page 5
    • Bloated Contact Layout - Page 6
    • Bloated Contact Layout - Page 7
    • Bloated Contact Layout - Page 8
    • Bloated Contact Layout - Page 9
    • Bloated Contact Layout - Page 10
    • Bloated Contact Layout - Page 11!!!
    • Tabbed layout
    • Tab Panel / Detail Section Tab Panel Detail Section
    • Including Related Lists Related List Apex Tab Locating the List Value
    • Bonus Tip – Colored Active Tab
    • Putting it all together Create your Visualforce Page http://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf Create tabbed pages in VisualForce http://wiki.developerforce.com/page/Tabbed_Accounts_in_30_seconds Jeff Douglas Blog – Using Related Lists in Visualforce Pages http://blog.jeffdouglas.com/2009/05/13/using-related-lists-in-visualforcepages/
    • Problem: Use 3 We want to display/accept information from a custom object within our organizations website.
    • Solution: Use 3 Create a Visualforce page and embed it into our website using a Sites page.
    • Step #1 – Create the Visual Force Page
    • Step #2 – Create the Sites Page • Update Custom Object Permissions • Adjust Field Level Security (Mark necessary fields as Visible)
    • The side by side comparison
    • Step #3 – Embed the page utilizing an iFrame
    • Putting it all together Create your Visualforce Page http://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf Create a Sites Page http://wiki.developerforce. com/page/An_Introduction_to_Force.com_Sites Edit the Guest User Profile Permissions http://www.salesforce.com/us/developer/docs/workbook_siteforce/wb_siteforce.p
    • Quick Recap Why Visualforce (without Apex) • Code Deployments • Longer to Develop • Test Coverage • Difficulty Examples we explored • Governor Limits ▪ Add/Delete VF fields within the declarative interface ▪ Creating tabbed object layouts with Visualforce ▪ Embed Visualforce pages into your website
    • Additional Bonus Materials *not shown in the presentation* Create PDF documents from VF pages (Including auto page numbering) Create Dynamic Tables in Visual Force in 3 steps
    • All Materials will be posted in the Session Chatter Feed Use Fieldsets to Modify Fields on Visualforce pages Consolidate Data Presentation With Tabbed Layouts Collect data from a public website and record that information in Salesforce Create PDF documents from PDF pages (Including auto page numbering) Create Dynamic Tables in Visual Force in 3 steps
    • Joseph Ucuzoglu Deputy Director of Information Systems, The Broad Center Xochitl Flores Operations Associate, The Broad Center