Charlie is creating a custom JSP for his site. The JSP uses the credentials of the logged-in user. What does Charlie need to use to accomplish this task?
A. Workspace workspace = webContentService.getRepository().getWorkspace( (Principal) portletRequest.getUser() );
B. Workspace workspace = webContentService.getRepository().getWorkspace( (Principal) portletRequest.getUserPrincipal() );
C. Workspace workspace = webContentService.getRepository().getLibrary( (Principal) portletRequest.getUser() );
D. Workspace workspace = webContentService.getRepository().getLibrary( (Principal) request.getUser() );
正解:A
質問 2:
Matt has some text that he is reusing throughout his IBM Web Content Manager website. The text includes a [connect] tag. Which of the following Library components are able to process [connect] tags?
A. Text component and Rich Text component.
B. Text component and HTML component.
C. Rich Text component and HTML component.
D. Text component, Rich Text component, and HTML component.
正解:C
質問 3:
Which one of the following DocumentTypes is invalid when using the IBM Web Content Manager API?
A. SiteArea
B. HTMLComponent
C. UserSelectionComponent
D. UserNameComponent
正解:D
質問 4:
When syndicating an IBM Web Content Manager library, the following statements are all true except:
A. First-time syndication to an existing library is not supported. If you attempt to syndicate a library to a subscriber that already has a library withthe same name, an error results.
B. When you switch from "all item" syndication to "live and projects" syndication or "live item" syndication, any drafts previously syndicated to thesubscriber are removed.
C. Information about a Library is only syndicated the first time syndication occurs and not on subsequent updates and rebuilds. If a library isrenamed or library user access is changed, this information is not syndicated to the Subscriber.
D. If content from one library (Library A) uses an item from another library (Library B), you must include both libraries in the syndicator. Includingboth libraries ensures that all items are syndicated successfully.
正解:B
質問 5:
The search criteria specified to generate the menu element is used to limit the menu search results. The following statements are true for the search criteria specified, except for which statement?
A. Between different criteria, menu searches are AND searches, but within each search criteria, menu searches are OR searches.
B. The search criteria can be defined based on the properties of content items including taxonomies, authoring templates, site areas, categories,and keywords.
C. Menus search for items profiled with categories from any library. To restrict a search to items from a specific library, select only site areas thatbelong to that library.
D. Menus do not display search results if a user selects a search criteria but does not enter any search parameters.
正解:B