Setting up the Feedback WebApp
Setting up the Feedback WebApp
Only a few settings are required when importing the scenario WebApp_Feedback_V2. If an older version of the WebApp was previously installed, individual settings may need to be adjusted.
- Assign a real user
A
User group with the relevant authorisations for editing surveys is included in the scenario. The real user is responsible for creating and analysing surveys via the Feedback WebApp.- Go to the
Administration tab and click on
Users, then select the user who is to be responsible for editing the feedback.
Example: Events Office, Carolin Fixit - Assign the user group
„Feedback_V2_Bearbeiter“ as or give the user authorisation to write in the table
Feedback .
Save your input.
- Go to the
- Set up two technical users
Two
User groups with the relevant authorisations are included in the scenario.- Go to the
Administration tab and click on
Users. - The technical user "Feedback_V2_Import" is only required for importing the data. Create this
User with the following login name, name and first name:- Login name: "Feedback_V2_Import", Name: "Feedback_V2_Import", First name: "WebAppUser"
- Do not give any access rights.
- Assign the
User group "Feedback_V2_Import".
- The technical user "Feedback_V2_Technik" is required to create the web login ticket. Create this
User with the following login name, name and first name:- Login name: "Feedback_V2_Technik", Name: "Feedback_V2_Technik", First name: "WebAppUser"
- Give Access
"via web server" - Assign the
User group "Feedback_V2_Technik".
Save your input.
- Go to the
- Create a web login ticket
Create a web login ticket for the user who is to be responsible for the Feedback WebApp. The ticket is need when configuring the server query for new surveys (Configure the server query).
- Go to the
Configurations tab and click on
Web >
Web logon tickets >
New. - Select the
User "Feedback_V2_Technik" from the picklist. - Enable multi-use for the ticket and set the Validity to a high value.
- Copy the web logon ticket to the clipboard when prompted.
Save your input.
- Go to the
- Export the demo feedback forms
The scenario contains three sample surveys:
- "Demo_Bewertungsarten": The feedback is only used to illustrate all available types of rating and should NOT be used as a copy template.
- "Demo_Einsprachig": The feedback serves as a simple example of a survey that is output in one language.
- "Demo_Mehrsprachig": The feedback serves as a simple example of a survey that is output in several languages.- Go to the
Home tab and click on
Start job, then select „WebApp_Feedback_V2_Export_00_Start“. - Open a browser.
a. Find a sample page with all available rating types and text examples at "https://<Your server address/http port>/Feedback_V2/Demo_Rating_Types.html?"
b. Find a sample page with several questions on different topics but with the same rating type at "https://<Your server address/http port>/Feedback_V2/Demo_Einsprachig.html?" . The same rating type should always be used within a survey in order to enable a statistical evaluation.
c. Find a sample page with several questions on different topics but with the same rating type at "https://<Your server address/http port>/Feedback_V2/Demo_Mehrsprachig.html?" . On this page you can also switch between the languages German - English - French.
- Go to the
- Adjust settings from older versions
If an older version of the Feedback WebApp was previously installed on the selected server, additional settings may need to be adjusted.
- If this has not happened automatically, add the name of the feedback („Demo_Bewertungsarten“) to the lists of suggested values:
a. in added field Auswahl Feedback
b. in added field Typ - Check whether the field Typ > Further settings contains the entry "All types:X" and add it if necessary.
- Check the Visibility rule in record for the Table settings and adjust if necessary.
- If this has not happened automatically, add the name of the feedback („Demo_Bewertungsarten“) to the lists of suggested values:
- Configure the language of the web interface
The sample file "Demo_Mehrsprachig.html" already contains the configuration in DE, EN and FR. If you require another language, please make the following adjustments:
- In the HTML document, copy the lines 59 and 90 and then adapt them to the desired language:
Example:
Original: document.getElementById("FR").setAttribute("title", bpWebApp.localeObj[locale].French)
document.getElementById("PT").setAttribute("title", bpWebApp.localeObj[locale].Portuguese)
Original: <button title="Französisch" onclick="startBpWebApp('fr');" id="FR"><img src="/images/france_24.png" alt=""></button>-
New: <button title="Portugiesisch" onclick="startBpWebApp('pt');" id="PT"><img src="/images/Portugal_24.png" alt=""></button>- - Create another "locale" file in the folder Server >Data > Web Folder > Feedback_V2\locale. Select one of the existing files, copy it and adapt the file name with the abbreviation of the desired language.
Example:
Original: bpLocale.fr.json
New: bpLocale.pt.json - Open the new document and only translate the words in the right-hand column.
IMPORTANT:
Pay close attention to the colons (:), double inverted commas (" ") and the comma (,). If this structure is not adhered to, an error will occur when loading the application. Take particular care with the last line: There must be no comma (,) at the end, as opposed to the previous lines!
Example:
{
"Button_Send" : "Send",
"Deutsch" : "German",
"Englisch" : "English",
"Franzoesisch" : "French",
"Msg_Danke" : "Thank you for your feedback.",
"Button_Weiter" : "Forward",
"Msg_Senden" :"The data was sent successfully.",
"Button_Zurueck" : "Back"}
- In the HTML document, copy the lines 59 and 90 and then adapt them to the desired language: