We use the Web API and command line processing heavily to pass in different filter values, variable values, data providers, etc. to our web reports. I had a requirement within a given area to launch our web reports with the Navigation block visible on the web template. In our commonly used 'default' web template, we currently allow the users to switch this item on/off once they are in the report, but we always have it come up Hidden initially.
My question is this: is there some trick to getting a web item property changed dynamically at execution time from Hidden=X to Hidden= ? I have tried numerous attempts to format a URL to change this behavior, but have been unsuccessful. A sample would be: &ITEM=GR6&MULTI=X&HIDDEN= --> this is intended to make all items with 'GR6' in the name unhidden. But in my case, it ends up making more web items visible than I want. Even specifying the Item name directly does not help.
I have also tried applying it in conjunction with a command sequence from the Web API docs. Is there a particular command that this has to go with (i.e. LDOC? RESET_WEB_ITEM? etc.)? We have a button on the web template that issues the command <SAP_BW_URL ITEM='GR6' MULTI='X' HIDDEN=''> when clicked -- this works fine. How do I apply the same type of logic to the initial URL within the command processing?
Any help would be appreciated. I know that I can resolve this by just creating a copy template with this web item set to Visible instead of Hidden at the launch. I was just thinking I could reuse the main web template and control it through the URL.