Yes. You can set up a URL that defines which view and corresponding action to run. The properties defined for the action, such as the action parameters values, will influence what data shows up when the view opens in the browser. Here is an example URL that will run action 12 for view 100 of the Stratum.Viewer instance server-xyz:60500. The text Default.aspx will cause the top frame and left panel to display in the browser along with the view.
http://server-xyz:60500/Default.aspx?ViewId=100&ActionId=12
You could hide the top frame and left panel by switching the Default.aspx text for ViewWindow.aspx as follows:
http://server-xyz:60500/ViewWindow.aspx?ViewId=100&ActionId=12
Additional types of syntax are available to control aspects of the grid display, including the display of the toolbar, name of the view and image above the grid, View Filter section, and view explorer. That syntax is summarized in the table at the end of this topic.
A few things to know about URL’s that include Action ID’s:
When the URL is run, the View Prompt window will be bypassed even if there are parameter groups defined for the view that have their Required property set to Yes. The view will always run with the action parameter value(s) defined for the action specified in the URL. Also, the View Prompt window will be bypassed even if the view has its Presentation Prompt property set to Yes. The view will run using the presentation Type defined for the view, either Viewer or Excel.
Syntax for passing view parameters into the view cannot be used in a URL that uses and Action ID. You can either use the Action ID or the parameters syntax (member, user list, drop-down, etc) in a URL but not both.
Note: For information about passing parameters into views via URL’s, see Passing Parameters into Views via URL's.
|