URL Containing Activity Subtype
RecTrac 3.1.10.16.00
Table of Contents
Problem
Is it possible to add an activity's subtype to a URL link, whereby directing patrons to that particular program? We have an activity type of Kids Corner with subtypes of Cooking, Camp, Enrichment, etc.
Solution
First, navigate to WebTrac Management Screen Management and select Activity Search.
Simply add the subtype to the URL. Note: You can add multiple subtypes to one URL.
<a href="<your basehref>/search.html?module=AR&type=KIDS&subtype=ENRICHMENT
<a href="<your basehref>/search.html?module=AR&type=KIDS&subtype=COOKING
<a href="<your basehref>/search.html?module=AR&type=KIDS&subtype=CAMP
<a href="<your basehref>/search.html?module=AR&type=KIDS&subtype=CAMP,COOKING,ENRICHMENT
Steps For Solution
- Navigate to WebTrac Management Screen Management.
- Select Activity Search.
- Click Change.
- Make sure Subtype (ARWebSearch_Search_Subtype) (ComboBox) is added to Activity Search Criteria (ARWebSearch_Group1) (Group) under "Fields On Screen."
- If the Subtype Field does not display on the list of Fields On Screen, add it by using the DataGrid filters to locate the field under Available Fields, then drag and drop it under Activity Search Criteria (ARWebSearch_Group1) (Group) under Fields On Screen.
- FieldStatus can be updateable or hidden.
Create the URL: <a href="<your basehref>/search.html?module=AR&type=VALUE&subtype=VALUE