Hi
What is the best way to show a specific perspective when opening a folder (if the folder has a specific category). Type of landing page for the root folder. Sub items do not have the same category
Uldis
Hi Uldis,
Perspective rules can be manually edited in a similar way to ActiveView view rules at ?func=activeview.GlobalPerspectives or on the Perspectives tab for a node. You could edit the rule and add a condition that includes the CAT sub-tag e.g.
"[LL_REPTAG_OVERRIDEOBJID CAT:[LL_REPTAG_$CatID /] /]" == "true"
Note that once a rule is manually edited it won't be available for editing within the Perspective Manager and will have to be managed manually for that perspective from then on.
The other way is if you have an Oscript developer. The rules in the Perspective Manager are extensible and you could build a new rule in Oscript to output the above tags and have it show in the Perspective Manager UI.
RegardsIan
Thanks, Ian.
Yes, I figured out that. Although I can still open particular perspective through Persp Manager. But after save, global rule is cleared out. Then I just have to add it manually again.
Kind of workaround. But works for now..
I will check regarding oscript extension, thanks
For the Oscript check out ACTIVEVIEW:ActiveView Root::PerspectiveRules. You will find developer documentation here.
My recollection is that the expected behaviour should be that you can edit the perspective but the rules are unavailable with a message saying the rule is custom and can't be managed by the Perspective Manager. The custom rule shouldn't be lost on save of perspective. This may be a bug, feel free to log it with support.