Challenge Overview
Project Overview
We have launched a new Fun Challenge series to help our members learn new skills/technologies while getting used to the Topcoder platform. In this challenge, we will learn how to use Visualforce Pages.
This is a fun and learning challenge. No prizes will be awarded for completing the challenge.
Business Requirements
"Fun&Learn" company wants to develop a survey solution. FunAtLearn has identified Salesforce.com as their desired platform to implement the solution. We will help them build the survey application, across a series of challenges. In this month's challenge, we will write some visualforce pages to display survey data. These visualforce pages can be hosted internally (to internal users) as well as can be exposed to all users (via Force.com Sites)
Help Documentation & Tutorials
- https://developer.salesforce.com/page/An_Introduction_to_Visualforce
- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/
- https://developer.salesforce.com/trailhead/module/visualforce_fundamentals
- https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites
Technical Requirements
You need a Salesforce.com Developer account to complete this challenge. You can sign up a free account here
A survey is a collection of Questions. A question can be part of multiple surveys. To keep things simple, we will assume all questions are of Free Text.
In Previous challenges, we built the object schema. If you haven't participated in previous challenges, please use the package to install the objects.
This Challenge Requirements
- Create two objects, Survey and Question.
- Create a junction object Survey Questions.
- Create a Visualforce Page, to display all surveys, along with their description and preview button
- Preview Button will display another page, showing all the questions.
- Host the Survey Pages on Force.com Sites
Sample Screenshots
Final Submission Guidelines
Please provide URL of the Force.com Site
Things to take care
- Please remember to activate the site
- Remember to grant permissions to Object and Apex Class for the Force.com Site User
This is a fun and learning challenge. No prizes will be awarded for completing the challenge.