Skip to content

Commit e1b81f3

Browse files
committed
Removed TEST_MODE constant
1 parent f10f68c commit e1b81f3

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

content/en/docs/marketplace/platform-supported-content/modules/mendix-mini-surveys.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ To import this module into your app, follow the instructions in [How to Use Mark
2727
2. In **App Explorer**, go to **Marketplace modules** > **AppInsights_MiniSurvey** > **\_SETUP**.
2828
3. Open the **Set API Key & mode** folder and do the following:
2929
1. Set the constant **APIKEY_APPINSIGHTS** to the [API key](/developerportal/app-insights/mini-surveys/#obtain-api-key) that you obtained.
30-
2. (Optional) Configure the constant **TEST_MODE**. If this is turned on, the survey will always show.
31-
3. Save the changes.
30+
2. Save the changes.
3231
4. Open the **Put Survey Widget On Template** folder, and place **Template_SurveyWidget** on the page where you would like the mini survey to appear. Mendix recommends placing only one widget inside the primary layout page.
3332
5. Configure how the mini survey will appear, either on-action or on-page load:
3433

@@ -63,13 +62,9 @@ You can achieve this using the data view and nanoflow solution we provide in the
6362

6463
If a user only answers one or two questions before they close the mini survey. The answers will be stored in your app. Every 15 minutes a scheduled event will submit all unfinished surveys collected in your app to the **Mini Surveys** in the Mendix Portal. A survey answer must be more than one hour old before it is submitted by the scheduled event.
6564

66-
### Does `TEST_MODE` Constant Affect Unfinished Surveys?
67-
68-
No. The behaviors are exactly the same as described in the [What Happens if a User Does Not Finish Answering a Survey?](#unfinished-survey) section above.
69-
7065
### Can I Use Multiple Widgets on a Single Page?
7166

72-
Mendix recommends using only one mini survey widget per page. If you are experimenting, enable the **TEST_MODE** constant.
67+
Mendix recommends using only one mini survey widget per page.
7368

7469
If your app uses a master layout page and many child pages. You can place one mini survey widget on the master layout page and then use multiple **ShowSurvey_OnAction** or **ShowSurvey_UsingDataView** nanoflow actions to trigger the survey to show.
7570

@@ -83,7 +78,7 @@ A mini survey has the following opt-out rules:
8378

8479
* If the user has answered all questions, then the survey will not show again to the user.
8580

86-
Survey opt-out rule is a variable cached to your internet browser. You can reset and show a survey multiple times by clearing your browser cache. If you are testing, Mendix recommends using the **TEST_MODE** constant to avoid clearing every time.
81+
Survey opt-out rule is a variable cached to your internet browser. You can reset and show a survey multiple times by clearing your browser cache.
8782

8883
{{% alert color="info" %}}In a future release, we will allow you to customize these opt-out rules from the App Insights portal.{{% /alert %}}
8984

@@ -101,8 +96,6 @@ If this occurs, try the following:
10196

10297
* In the app, open the settings of the Mini Survey widget. Make sure that you have entered the correct survey ID.
10398

104-
* In the app, enable the **TEST_MODE** constant. If the survey loads, then the survey has triggered an [op-out rule](#survey-rules) and will not show. In this case, clear the survey opt-out rules by clearing your browser cache or using incognito mode.
105-
10699
### Surveys Do not Work Locally When Running Multiple Applications
107100

108101
If this occurs, upgrade the module to v1.1.0 or above, and ensure to clear your browsers cached data to remove deprecated feature – you only need to do this one time in your browser.

0 commit comments

Comments
 (0)