The ISelectPropertiesCmd interface is used to initialize the data contained in the SelectProperties command component, which displays the FileNet Workplace Select Properties Java™Server Pages (JSP) page. This page enables the user to select properties from a filtered list of choices. Using this interface, the client application can filter the list of selectable properties by document item or class, the number of properties that can be selected and whether system properties should be included, as well as the columns and the page title to display.
After the SelectProperties command has been executed by calling IAppIntCmd::Invoke, a SelectProperties response component is returned. The response component contains specific SelectProperties command data, such as a pointer to the properties which were selected by the user, which is accessible through the ISelectPropertiesRsp interface.
coclass SelectPropertiesCmd {
[default] interface ISelectPropertiesCmd;
interface IAppIntCmd;
};
DLL | FnAppIntSelectPropertiesCmd.dll |
See Also | ISelectPropertiesRsp Interface |
The ISelectPropertiesCmd interface defines one method:
Method | Description |
---|---|
Initialize |
Customizes the Select Properties JSP page in preparation for use by the SelectProperties operation, including filtering the list of selectable properties by document item or class, specifying the number of properties that can be selected and whether system properties should be included, as well as setting the columns and the page title to display. |
The following is a fragment from the complete example for the SelectProperties command.
... // Instantiate the custom SelectProperties command component ISelectPropertiesCmdPtr spISelectPropertiesCmd;
hResult = spISelectPropertiesCmd.CreateInstance(__uuidof(SelectPropertiesCmd));
if (FAILED(hResult)) {
std::cout << "Could not create the SelectProperties command component.\n"; _ASSERTE(0);
}...