You can use parameters in the Web Part URL to customize behavior, such as overriding the
default desktop, repository, or root folder. You can also specify a default search or
default work list, and you can limit users to the default search or the default work list
only.
About this task
When you add a Web Part to a
Microsoft SharePoint page, a
default URL is generated that connects to the
IBM® Content
Navigator server. The default URL includes the default
feature and default desktop. However, if you want to modify the behavior of the Web Part
to be appropriately tailored for specific user needs, you can append parameters to the
default URL.
Procedure
To customize Web Part behavior:
- Log in to the Microsoft SharePoint site, and select
the site or subsite where the Microsoft SharePoint page
is displayed.
- From the Microsoft SharePoint page, click
Edit.
- Select the Web Part, open the pop-up menu, and then click Edit Web
Part.
- In the Page Viewer pane, modify the URL by appending
parameters as needed. If you want to open the Web Part with one or more of the
following options, append one or more of the parameters to the default
URL:
Web Part |
Behavior and parameters |
Browse |
- Change the repository
- Use the repository parameter and the ID
of the repository in IBM Content
Navigator that you want to
open instead of the default repository. For example, if the
repository ID is myObjectStore, then append the following
text to the URL:
&repository=myObjectStore.
Restriction: The repository that you specify must
be one of the selected repositories in your desktop.
- Change the root folder of the repository
- Use the folder parameter and the ID of
the folder that you want displayed as the top node of the
navigation tree instead of the root folder. For example, you
can append the following text to the URL to open the folder
that is associated with the specified folder ID:
&folder={CD94024D-14B9-4043-ADE8-3AF46427C184}.
|
Search |
- Open with a default search
- Use the defaultSearch parameter and the
ID of a stored search if you want to run the search and
display the results when you open the Search Web Part. For
example, if the search ID is
d3feae31-2a71-4746-81b8-924c3dafa3ec, then append the
following text to the URL:
&defaultSearch=d3feae31-2a71-4746-81b8-924c3dafa3ec.
- Limit users to the default search only
- If you want to limit users to work with the default search
only, you can set the defaultSearchOnly
parameter to true. For example, after the
defaultSearch parameter, you can
add the following text to limit the search:
&defaultSearchOnly=true.
|
Work |
- Open with a default work list
- For IBM Content
Manager repositories, use the
worklist parameter and the ID of
the work list if you want to display the specified work list
when you open the Work Web Part. For example, if the work
list ID is myWorkList, then append the following text to the
URL: &worklist=myWorkList.
For
FileNet® P8
repositories, use the three in-basket parameters,
applicationSpace,
role, and
worklist. Use the appropriate
IDs of the in-basket that you want to display when you
open the Work web part. For example, if the application
space is myApplicationSpace, the role is Author and the
worklist is myInBasketWorkList, then append the
following text to the URL:
&applicationSpace=myApplication
Space&role=Author&worklist=my
InBasketWorkList
.
- Limit users to the default work list only
- If you want to limit users to view the default work list
only, then you can hide the navigation tree by setting the
allWork parameter to false. For
example, after the worklist parameter,
you can append the following text to the URL:
&allWork=false.
|
Any Web Part |
- Change the desktop
- Use the desktop parameter and the ID of the desktop that you want
to use instead of the default desktop. For example, if the
desktop ID is myCustomDesktopForReviewers, then append the
following text to the URL:
&desktop=myCustomDesktopFor
Reviewers
.
|
- Save your changes.