qPageRedirector. Quest Software v6.2
Werbung
Werbung
qPageRedirector
•
Overview
•
qPageRedirector Tabs
•
qPageRedirector Procedures
17
Quick Apps for SharePoint
Overview
qPageRedirector sends users to a designated URL. To accomplish this, you could create a "My Home" hyperlink on your page that redirects the user to the
MyHomeRedirect.aspx page. In the MyHomeRedirect.aspx page, you would put a Page Redirector web part. qPageRedirector reads a list that contains two columns: User Name and URL. It will search the list for the entry with User Name equals to the current logged on user. If it finds it, it will redirect the user to the URL mapped to that user in the list.
The SharePoint list for the Page Redirector must contain these two fields:
• User Name
—
a user lookup field that defines the user.
• URL
—
a text field. It can contain relative or absolute URL
If your list uses different names for the fields, you must define the names in the
User Name Field Name and the URL Field Name property of the Page Redirector.
Here is the sample list:
USER NAME
Questdev\jsmith
Questdev\kbrown
URL
home/jsmith.aspx
home/kbrown.aspx
When jsmith logs in, it will redirect him to home/jsmith.aspx.
You can localize the title of the Page Redirector. You can define different Titles for different cultures using the Resource List and the Title Resource ID properties. You can use the Culture Selector web part to set the culture for the site. The Culture Selector web part will define the culture using the Culture HTTP parameter as shown in the following example: http://hostname/sites/sitename/default.aspx?Culture=en-US
If you would like to learn more, click here to watch the training video.
292
qPageRedirector
qPageRedirector Tabs
You can configure this web part through its tabs that are accessible through ezEdit. qPageRedirector contains the following tabs:
•
•
•
•
•
•
Information for the Appearance Tab, Layout Tab, Advanced Tab, and Ribbon Appearance
Tab can be found in
Display Tab
When you open ezEdit in qPageRedirector, the Display tab opens by default. The
Default tab contains the following:
ELEMENT
Site URL
List Name
User Name Field Name
URL Field Name
DESCRIPTION
Allows you to enter the URL to the site that contains the list. The URL can be absolute (http://...) or relative to the current page URL. This attribute is mandatory.
Allows you to enter a configuration list name.
Allows you to enter the name of the field containing the user information. The default value is User Name.
Allows you to enter the name of the field containing the URL to which the user is redirected. The default value is URL.
293
Quick Apps for SharePoint
Localization Tab
The Localization Tab contains the following:
ELEMENT
Resource List
Title Resource ID
DESCRIPTION
Allows you to support a multi-lingual site. In a multi-lingual site, there are some settings, such as the web part, whose value can change depending on the current culture setting. The Resource List property defines the list that contains the string values for different cultures. The resource list must contain 3 columns:
• Resource ID — This field contains the identifier to refer to the string.
You can have multiple strings with the same Resource ID as long as their Culture value is different.
• Culture — This field contains the culture for the string. For the default culture, leave the Culture field blank.
• Value — This field contains the value for the string.
The Resource List property is an XML string in this format:
<Lists>
<List SiteUrl="siteUrl" ListName="listName" />
</Lists>
The Lists element can contain only one List element. The following are the attributes for the List element:
• SiteUrl — The URL to the site that contains the resource list. The URL can be absolute (http://...) or relative to the current page URL. This attribute is mandatory.
• ListName — The name of the resource List. The list name is case sensitive.
Allows you to support a multi-lingual site. The property defines the identifier of the string in the Resource List that is used as the text of the web part. The Resource ID and the current cultural setting (identified with the Culture HTTP parameter) are used to retrieve the string in the Resource
List. If the string with the given identifier and culture is not found, the default is used.
294
qPageRedirector
qPageRedirector Procedures
You can perform the following procedures using qPageRedirector:
•
Configuring qPageRedirector
To configure qPageRedirector
1.
Add qPageRedirector to your page.
2.
Open
ezEdit
.
The Display tab opens by default.
3.
Configure each element as needed and click
OK
.
4.
If needed, configure the elements in the other tabs.
5.
When done configuring each tab, click
OK
.
295
Quick Apps for SharePoint
296
Herunterladen
Werbung