JavaScript Tutorials¶
This section includes some helpful tutorials on working with JavaScript
- Progress Indicator Component
- Simple Map Component
- Use a Snippet as a Filter Item Source to create “Dependent Filters”
- Introduction: Opportunity Sales Processes and Record Types
- Step 1: Create an Opportunity Tab page
- Step 2: Add an “OpportunityRecordTypes” Model
- Step 3: Add Filterable Conditions on your Opportunity Model
- Step 4: Add a Table Filter to allow selection of Record Type
- Step 5: Add a Table Filter to allow selection of StageName
- Step 6: Create the Snippet: GetStageItemsForRecordType
- Step 7: Result – a StageName filter dependent on RecordType!
- Use Inline Javascript to Create a Slider Field Renderer
- Step 1: Click on the Resources tab.
- Step 2: Click Javascript and click to add a new JS Resource.
- Step 3: For the new resources, choose In-Line(Snippet) as the Resource Location, and name your snippet.
- Step 4: Copy and paste the following code into the snippet body editor.
- Step 5: Save your page.
- Step 6: Select the appropriate number field and drag it into your page.
- Step 7: Choose Custom as the Field Renderer.
- Step 8: Click Save and then click Preview.
- Step 9: Click to edit the number field.
- Success! Your Slider will be displayed. Just drag to the desired location and then click Save.