Loading
Volunteers for Salesforce Managed Package
Indhold
Vælg filtre

          Ingen resultater
          Ingen resultater
          Her er nogle søgetips

          Kontroller stavemåden for dine søgeord.
          Brug mere generelle søgeudtryk.
          Vælg færre filtre for at gøre søgningen bredere.

          Søg efter alle i Hjælp til Salesforce
          Customize the Volunteer Report Hours Page

          Customize the Volunteer Report Hours Page

          Customize the contents of the Volunteer Report Hours page, and make it look and feel like an integral part of your website.

          • Customize the Fields in the Volunteer Report Hours Page
            Customize the fields displayed in the Volunteer Report Hours page to make it more usable for volunteers. For example, expose the Comments field so that volunteers can leave feedback on their experience. You can include any standard or custom field on the page, as long as it's from the Volunteer Hours object.
          • Style the Volunteer Report Hours Page with CSS
            The Volunteer Report Hours page uses a cascading style sheet (CSS). Volunteers for Salesforce provides the VolunteersReportHoursCSS.css file as a Document in Salesforce. Customize the CSS with your own CSS styles so that the Volunteers for Salesforce part of the webpage matches the rest of your website's look and feel.
          • IFRAME Tag for the Volunteer Report Hours Page
            Give your web developer this IFRAME tag so they can insert the Volunteer Report Hours page into your website. Use the appropriate format for HTTP sites or secure HTTPS sites.
          • Supported URL Parameters for the Volunteer Report Hours Page
            Use one or more of these optional URL parameters in your IFRAME tag to further customize the page for volunteers reporting their hours worked.

          Customize the Fields in the Volunteer Report Hours Page

          Customize the fields displayed in the Volunteer Report Hours page to make it more usable for volunteers. For example, expose the Comments field so that volunteers can leave feedback on their experience. You can include any standard or custom field on the page, as long as it's from the Volunteer Hours object.

          Note
          Note On this page, V4S displays only a subset of all Job and Shift records. Especially if you have a lot of recurring events, keeping the drop-down lists to a reasonable length makes it easier for volunteers to find the Jobs and Shifts that they worked.
          • Volunteer Job displays only active Jobs, under active Campaigns.
          • Volunteer Shift displays only the Shifts that are scheduled within a three-month window of last month, this month, and next month.

          You may remember that you've already configured field sets for the Volunteers Wizard and other V4S pages. To customize the VolunteersReportHoursFS field set, on the Object Manager tab in Setup, click Contacts | Field Sets, then click VolunteersReportHoursFS. Refer to Configure Fields in Volunteers for Salesforce for instructions on how to customize field sets.

          Troubleshooting Tip: If any fields you added to the field set don't appear on your Volunteer Report Hours page, they might not be enabled for the Site Guest User profile. An error message at the top of the page indicates which fields to enable. Go to the Site Detail page and update the Public Access Settings for the Site Guest User profile. You previously configured the Public Access Settings, but if you or another admin have added custom fields since that update, they may need to be updated again.

          Style the Volunteer Report Hours Page with CSS

          The Volunteer Report Hours page uses a cascading style sheet (CSS). Volunteers for Salesforce provides the VolunteersReportHoursCSS.css file as a Document in Salesforce. Customize the CSS with your own CSS styles so that the Volunteers for Salesforce part of the webpage matches the rest of your website's look and feel.

          Follow the instructions provided for styling the Volunteer Signup page, making sure that you edit the VolunteersReportHoursCSS.css file.

          IFRAME Tag for the Volunteer Report Hours Page

          Give your web developer this IFRAME tag so they can insert the Volunteer Report Hours page into your website. Use the appropriate format for HTTP sites or secure HTTPS sites.

          Sample IFRAME in HTTP format:

          <iframe src="http://mydomain.force.com/yoursitelabel/GW_Volunteers__VolunteersReportHours" 
              frameborder="0" scrolling="false" height="600" width="500"></iframe>

          Sample IFRAME in HTTPS format:

          <iframe src="https://mydomain.secure.force.com/yoursitelabel
              /GW_Volunteers__VolunteersReportHours" frameborder="0" 
              scrolling="false" height="600" width="500"></iframe>

          A few reminders to keep your code snippet clean:

          • mydomain is a placeholder value for your domain name. Be sure to include your actual domain name in place of the placeholder text.
          • yoursitelabel is a placeholder value for the Default Web Address. Include it only if you specified one when you created your Site.
          • There are two underscore characters between Volunteers and VolunteersReportHours.
          • If you're using one or more URL parameters, add them to the end of the URL. Separate the first parameter from the rest of the URL with a ? character. Separate multiple parameters with the & character.

          Supported URL Parameters for the Volunteer Report Hours Page

          Use one or more of these optional URL parameters in your IFRAME tag to further customize the page for volunteers reporting their hours worked.

          For details about adding URL parameters to an IFRAME tag, see Customize the Volunteer Job Listing Page.

          NameValueDescription
          DateFormat EEEE m/d/yyyy (default)

          String format that tells V4S how to display Shift dates. The default string displays the day as text, followed by the month, date, and year. For example: Thursday 4/6/2017.

          You can specify a different string format by arranging these supported character sets with standard punctuation for date formatting (forward slashes, hyphens, commas, and so on).

          • MM—Include a leading zero for the first nine months of the year, such as 01, 08.
          • M—Display the first nine months of the year without a leading zero, such as 1, 8.
          • dd—Include a leading zero for the first nine days of the month, such as 02, 09.
          • d—Display the first nine days of the month without a leading zero, such as 2, 9.
          • yyyy—Display a four-digit year, such as 2017.
          • yy—Display a two-digit year, such as 17.
          • EEEE—Display the day as text, such as Thursday.
          Language en (default)

          Display the labels that have been translated in Salesforce into a different language. Identify the language using a two-character language code, such as en, or a five-character locale code, such as en_AU. (See Supported Languages in the Salesforce Help.)

          Volunteers for Salesforce supports these languages out of the box:

          • Dutch (nl_NL)
          • English (en)
          • French (fr)
          • German (de)
          • Japanese (ja)
          • Spanish (es)

          You can create your own translations in other languages. See Translate Volunteers for Salesforce into Other Languages or Customize Terminology.

          The specified language overrides the language that users have set in their Salesforce personal settings.

          TimeFormat h:mm tt (default)

          String format that tells V4S how to display Shift times. The default string displays the time of day as hour and minutes with a.m. or p.m. For example: 9:30 am.

          You can specify a different string format by arranging these supported sets of characters with standard punctuation for time formatting.

          • hh—Use 12-hour time and include a leading zero for the first nine hours of the day, such as 01, 08.
          • M—Use 12-hour time and display the first nine hours of the day without a leading zero, such as 1, 8.
          • HH—Use 24-hour time and include a leading zero for the first nine hours of the day, such as 02, 09.
          • H—Use 24-hour time and display the first nine hours of the day without a leading zero, such as 2, 9.
          • mm—Display minutes with a leading zero for the first nine minutes of the hour, such as 03, 06.
          • m—Display minutes without a leading zero for the first nine minutes of the hour, such as 3, 6.
          • tt—Display the time period as am or pm.
           
          Indlæser
          Salesforce Help | Article