Is it possible to expand and view only single category in a view?
In a browser url I use e.g. this: &Expand=4.1 - it expands category level 4.1 but the other categories are visible and I can’t use &count url parametr for the single 4.1 category ( the &count parametr is applied to all view )
Create a hidden view with the first column showing all your categories and sort
it in assending order.
Create a form and embed the view you want.
Also in the form create a text field, allow multi-values seperator semicolon
and new line, display using new line. Make it computed for display. Enter the
following code,
B>]Category := @Unique( @DbColumn( “” : “” ; “” : “” ; “MyHiddenView” ; 1 ) )
;
"<A HREF=/@Subset( @DbName ; -1 ) + “/FormWithEmbeddedView?OpenForm&Cat=” +
@ReplaceSubstring( Category ; " " ; “+” ) + “&>” + Category + “ ”/B>]
That will create you a list of links including the category name.
Then on the same form create a B>]Query_String/B>] field and create another
field called B>]Category/B>]. in the B>]Category/B>] field enter
B>]@ReplaceSubstring( @Left( @Right( Query_String ; “&Cat=” ) ; “&” ) ; “+” ;
" " )/B>]. This will pull the Category out of the URL.
Then in the embedded view, set it to show single category and in the formula
enter B>]Category/B>] as this is your field name that holds the category.
Now when you click each link the relevant category will be shown on its own.
Just pulled this from memory, so don’t shoot me if the syntax is a little
wrong.