Click or drag to resize

ModuleUrlTo Enumeration

Possible URLs of a module

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public enum ModuleUrlTo
Members
  Member nameValueDescription
ModulePage0 Relative URL to the main module page.
ModuleSurveyPage1 Relative URL to the module survey page.
ModuleLogo2 Relative URL to the module logo.
ModuleLogoHover3 Relative URL to the module logo hover.
ModuleUserPreferencesPage4 Relative URL to the user preferences page of the module.
AdminModulePage5 Relative URL to the page to administrate the main settings of the module.
AdminUserPage6 Relative URL to the page to administrate the user module's settings.
AdminUserProfilePage7 Relative URL to the page to administrate the user profile module's settings.
AdminImportSurveyPage8 Relative URL to the administrative page to import a survey in the module.
AdminSurveyPage9 Relative URL to the page to administrate the survey module's settings.
AdminSurveyUserPage10 Relative URL to the page to administrate the survey module's settings of a user.
AdminSurveyGroupPage11 Relative URL to the page to administrate the survey module's settings of a group.
Remarks

Most of the pages will be called with parameters in the URL query string:

Examples

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

See Also