Problem with outline entry and views (dynamic views)

I’ve put the following code as an action in an outline entry:

@SetTargetFrame(“right”);

@Command([OpenView];“dyn”);

@SetViewInfo([SETVIEWFILTER];“Yttrande”;“KS”;0)

The idea is that the view “dyn” should open but just show the documents that contains the word “Yttrande” in the column with the programmatic name KS.

The view is default outline and the column is not Categorized.

I’ve put the same code in other outline entrys with the only difference that the search strings is different than “Yttrande”

Unfortunately it doesn’t work the way I want it to…

The view always displays the same documents regardless what the search string is.

What can I do to make it work?

Subject: Problem with outline entry and views (dynamic views)

If the view is a normal (non-calendar) view, you can only use values in the categorised first column as “search strings”, and the IsCategory value has to be 1 (not 0). That being said, you also need to use @UpdateFormulaContext after [OpenView] to make @SetViewInfo work on the the view.