pushing visualforce to the limits, without apex
DESCRIPTION
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.TRANSCRIPT
![Page 1: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/1.jpg)
Pushing Visualforce to the LimitsWithout Apex
Joseph, Ucuzoglu, The Broad Center, Deputy Director of Information Systems
![Page 2: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/2.jpg)
![Page 3: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/3.jpg)
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
![Page 4: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/4.jpg)
My #1 Challenge, Help You Avoid this….
![Page 5: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/5.jpg)
I may want to show you this
But your mind wants to know more about this…
![Page 6: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/6.jpg)
No need to take notes!All code samples,the presentation, and more…
will be posted in Chatter
So relax and enjoy the show
![Page 7: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/7.jpg)
Unfortunate Business of theSafe Harbor SlidePlease welcome my organization’s Operations Associate
![Page 8: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/8.jpg)
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 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.
![Page 9: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/9.jpg)
Special Guest Safe Harbor Slide VocalistXoichitl Flores
![Page 10: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/10.jpg)
You ALWAYS need APEX to do really cool stuff…
That’s like saying *ALL* Safe Harbor slides are boring!
• Code Deployments
• Test Coverage
• Governor Limits
• Longer to Develop
• Difficulty
![Page 11: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/11.jpg)
Use 1
Problem:We want to allow Administrators to add/delete fields from some VF pages without having to edit VF code.
![Page 12: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/12.jpg)
Use 1
Solution:Use Fieldsets on our VF page and then add/remove fields via the field set within the declarative interface.
![Page 13: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/13.jpg)
Why not just expect people to edit the VF code?
![Page 14: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/14.jpg)
Adding a fieldset is easy> Select your object > Field Set (Beta) > New
![Page 15: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/15.jpg)
In Practice
![Page 16: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/16.jpg)
A very simple Visualforce page with a Field Set
![Page 17: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/17.jpg)
Putting it all together
Create your Visualforce Pagehttp://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf
Working with Field Setshttp://www.salesforce.com/us/developer/docs/pages/Content/pages_dynamic_vf_field_sets.htm
![Page 18: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/18.jpg)
Problem:The page layouts for objects are getting too long and unwieldy. It is becoming difficult / time consuming to find information.
Use 2
![Page 19: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/19.jpg)
Use 2
Solution:Re-architect the layout within Visualforce utilizing tabs to present information concisely.
![Page 20: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/20.jpg)
How did we get such large records?
We came to an understanding organization wide.
![Page 21: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/21.jpg)
Bloated Contact Layout - Page 1
![Page 22: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/22.jpg)
Bloated Contact Layout - Page 2
![Page 23: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/23.jpg)
Bloated Contact Layout - Page 3
![Page 24: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/24.jpg)
Bloated Contact Layout - Page 4
![Page 25: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/25.jpg)
Bloated Contact Layout - Page 5
![Page 26: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/26.jpg)
Bloated Contact Layout - Page 6
![Page 27: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/27.jpg)
Bloated Contact Layout - Page 7
![Page 28: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/28.jpg)
Bloated Contact Layout - Page 8
![Page 29: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/29.jpg)
Bloated Contact Layout - Page 9
![Page 30: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/30.jpg)
Bloated Contact Layout - Page 10
![Page 31: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/31.jpg)
Bloated Contact Layout - Page 11!!!
![Page 32: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/32.jpg)
Tabbed layout
![Page 33: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/33.jpg)
Tab Panel / Detail SectionTab Panel Detail Section
![Page 34: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/34.jpg)
Including Related ListsRelated List Apex Tab
Locating the List Value
![Page 35: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/35.jpg)
Bonus Tip – Colored Active Tab
![Page 36: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/36.jpg)
Putting it all together
Create your Visualforce Pagehttp://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf
Jeff Douglas Blog – Using Related Lists in Visualforce Pageshttp://blog.jeffdouglas.com/2009/05/13/using-related-lists-in-visualforce-pages/
Create tabbed pages in VisualForcehttp://wiki.developerforce.com/page/Tabbed_Accounts_in_30_seconds
![Page 37: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/37.jpg)
Problem:We want to display/accept information from a custom object within our organizations website.
Use 3
![Page 38: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/38.jpg)
Use 3
Solution:Create a Visualforce page and embed it into our website using a Sites page.
![Page 39: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/39.jpg)
Step #1 – Create the Visual Force Page
![Page 40: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/40.jpg)
Step #2 – Create the Sites Page
• Update Custom Object Permissions
• Adjust Field Level Security (Mark necessary fields as Visible)
![Page 41: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/41.jpg)
The side by side comparison
![Page 42: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/42.jpg)
Step #3 – Embed the page utilizing an iFrame
![Page 43: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/43.jpg)
Putting it all together
Create your Visualforce Pagehttp://www.salesforce.com/us/developer/docs/workbook_vf/workbook_vf.pdf
Edit the Guest User Profile Permissionshttp://www.salesforce.com/us/developer/docs/workbook_siteforce/wb_siteforce.pdf
Create a Sites Pagehttp://wiki.developerforce.com/page/An_Introduction_to_Force.com_Sites
![Page 44: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/44.jpg)
Quick RecapWhy Visualforce (without Apex)
Examples we explored▪ Add/Delete VF fields within the declarative interface▪ Creating tabbed object layouts with Visualforce▪ Embed Visualforce pages into your website
• Code Deployments
• Test Coverage
• Governor Limits
• Longer to Develop
• Difficulty
![Page 45: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/45.jpg)
Create PDF documents from VF pages (Including auto page numbering)
Create Dynamic Tables in Visual Force in 3 steps
Additional Bonus Materials *not shown in the presentation*
![Page 46: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/46.jpg)
Create PDF documents from PDF 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
![Page 47: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/47.jpg)
Joseph Ucuzoglu
Deputy Director of Information Systems,The Broad Center
Xochitl Flores
Operations Associate,The Broad Center
![Page 48: Pushing Visualforce to the Limits, Without Apex](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554ee9dbb4c905d1158b5353/html5/thumbnails/48.jpg)