ModuleUrlTo Enumeration |
Namespace: AskiaPortalCmn
Member name | Value | Description | |
---|---|---|---|
ModulePage | 0 | Relative URL to the main module page. | |
ModuleSurveyPage | 1 | Relative URL to the module survey page. | |
ModuleLogo | 2 | Relative URL to the module logo. | |
ModuleLogoHover | 3 | Relative URL to the module logo hover. | |
ModuleUserPreferencesPage | 4 | Relative URL to the user preferences page of the module. | |
AdminModulePage | 5 | Relative URL to the page to administrate the main settings of the module. | |
AdminUserPage | 6 | Relative URL to the page to administrate the user module's settings. | |
AdminUserProfilePage | 7 | Relative URL to the page to administrate the user profile module's settings. | |
AdminImportSurveyPage | 8 | Relative URL to the administrative page to import a survey in the module. | |
AdminSurveyPage | 9 | Relative URL to the page to administrate the survey module's settings. | |
AdminSurveyUserPage | 10 | Relative URL to the page to administrate the survey module's settings of a user. | |
AdminSurveyGroupPage | 11 | Relative URL to the page to administrate the survey module's settings of a group. |
Most of the pages will be called with parameters in the URL query string:
For ModuleUrlTo.ModuleUserPreferencesPage
[URL]: /Module/UserPrefs [Produce]: /Module/UserPrefs?cache={{Timestamp}}
For ModuleUrlTo.AdminModulePage with the URL:
[URL]: /Admin/ModuleSettings [Produce]: /Admin/ModuleSettings?cache={{Timestamp}}
For ModuleUrlTo.AdminUserPage with the URL:
[URL]: /Admin/UserModuleSettings [Produce]: /Admin/UserModuleSettings?UserGuid={{User.Guid}}&cache={{Timestamp}}
For ModuleUrlTo.AdminUserProfilePage with the URL:
[URL]: /Admin/UserProfileModuleSettings [Produce]: /Admin/UserProfileModuleSettings?UserProfileId={{UserProfile.Id}}&cache={{Timestamp}}
For ModuleUrlTo.AdminImportSurveyPage
[URL]: /Admin/ImportSurvey [Produce]: /Admin/ImportSurvey?SurveyId={{Survey.Id}}&cache={{Timestamp}}
For ModuleUrlTo.AdminSurveyPage with the URL:
[URL]: /Admin/SurveyModuleSettings [Produce]: /Admin/SurveyModuleSettings?SurveyId={{Survey.Id}}&cache={{Timestamp}}
For ModuleUrlTo.AdminSurveyUserPage with the URL:
[URL]: /Admin/SurveyUserModuleSettings [Produce]: /Admin/SurveyUserModuleSettings?SurveyId={{Survey.Id}}&UserGuid={{User.Guid}}&cache={{Timestamp}}
For ModuleUrlTo.AdminSurveyGroupPage with the URL:
[URL]: /Admin/SurveyGroupModuleSettings [Produce]: /Admin/SurveyGroupModuleSettings?SurveyId={{Survey.Id}}&GroupId={{Group.Id}}&cache={{Timestamp}}
Where `{{Survey.Id}}` will be replaced by the id of the survey (0 for new),
`{{User.Guid}} will be replaced by the GUID of the user
`{{UserProfile.Id}} will be replaced by the id of the user profile
`{{Group.Id}}` will be replaced by the id of the group
and `{{Timestamp}}` will be replaced by a time-stamp in order to discard the browser cache