What are the scripts to :
1. in a menu bar make one menu visible only by users belonging to lane 1234 plus users belonging to lane 5678
"visible": "???"
2. in the Home page, make one icone visible only by users belonging to lane 1234 plus users belonging to lane 5678
class="displayme_$ ????">
Regards
Yves
Yves
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/56e5e4a2-23ba-4fce-bc81-ffad609d611e%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
It doesn't work.
Using <li class=" displayme_${has_right('238694')&& has_right('238593')}"> gives the following error :
'Expecting a boolean (true/false) expression hereExpression {has_right('238694' does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar
Bad Request'
<li class=" displayme_${has_right('238694')}"> alone or <li class=" displayme_${has_right('238593')}"> alone works but not both together
> Regards
> Yves
> Regards
> Yves
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/80cee786-3620-49c3-afbd-3051e87e4f59%40runmyprocess.com.
<li class=" displayme_${has_right('238694')&& has_right('238593')}"> is used in a HTML widget in the webinterface which displays the apps icons in our custom HomePage.
I don't mind the method : has_right or another one.
My question is : 'in the Home page, how to make one icone visible only by users belonging to lane 1234 plus users belonging to lane 5678 ?'
Regards
Yves
I'm not sure if this would work, but you might try this:
<li class=" displayme_${(has_right('238694')&& has_right('238593'))?eval}">
http://freemarker.incubator.apache.org/docs/ref_builtins_expert.html#ref_builtin_eval
Looks like I have the solution for the 2nd query.
Following script used in a HTML widget in the webinterface which displays the apps icons in our custom HomePage works fine :
<div class="home_app">
<ul>
<li class="displayme_${has_right('123456')=='true' || has_right('456789')=='true'}">
All users belonging to lane 123456 plus all users belonging to lane 456789 can see the icon.
> Regards
> Yves