During runtime, you can change the favorites path of an existing Management view component. To do so, use the setFavoritePath() method of the instantiated Management view component.
Example
mv1.setFavoritePath("%5CFav_1", "FAVORITES_PRIVATE", "FLEX");
The method has the following parameters:
Parameter |
Description |
favoritePath |
Path to the favorite in the source system Syntax: \<Favorites folder>\...\<Favorite name> Replace the backslash character in the favorites path with the string %5c and avoid special characters such as accents etc. in folder and favorite names. |
favoriteServer |
Type of favorite, valid values: FAVORITE_PRIVATE: User-specific FAVORITE_SHARED: General |
view |
If the Management view component contains a chart, you can choose between two chart types:
|