Show/Hide DVT Admin Menu Based on Entitlements
Hi,
We're using the DVT framework provided in Weblogic Portal 10.3.2 to create My Page functionality within our portal project. Part of the requirement is to offer limited functionality to non-admin users.
For example:
Portal Level Customization Menu
- Show/Hide based on entitlements (we tried setting an entitlement of the Main page Book, and that worked, however after that we were unable to see the Customize Menu for any child Books/Pages)
- Limit entries based on entitlements
Book Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename book based on entitlements
Page Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename page based on entitlements
Portlet Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename portlet based on entitlements
We've been able to eliminate DVT functionality for entire Books and Pages based on entitlements, however we can't find a way to provide limited functionality as described above.
Any suggestions on how to accomplish this?
Thank you.
Sorry about the confusion. What I meant was, I tested with both setting entitlement and DA roles (separately) and found that the usecase you are describing works. BTW, you are right in that only visitor entitlement roles effect dvt functionality. I just wanted to check if setting DA roles wasn't causing some undesirable behavior.
Back to the issue you are having, I am assuming you are talking about setting a 'view' entitlement for 'role1' on the primary book and logging in as a user that is not in 'role1' but has 'edit' rights on a child page or book of the primary book. In that case you shouldn't be able to see anything since you don't have view rights to the main book. If that is not the case, can you provide details about your setup?
Here is what I tested and found working. Set an 'edit' entitlement for 'role1' and a 'view' entitlement for 'role2' on the primary book. When logged in as a user from 'role2' I cannot see the 'Customize' gear icon on the primary book but I can see the gears on child books, pages and portlets. I tested the usecase with non-primary books and that works too.
Thanks
Similar Messages
-
How do I display or hide a Java menu based on current url in a php page
How do I display or hide a Javascript menu based on the current url in a php page?
I want to specify when a java menu appears on a page based on the current url - does anyone have a script for the vars and conditional statements to make this happen - it would be something like this in natural language:
<javascript>
if currenturl = http://jemmakidd.com/categories.php
then displaymenu
else if currenturl = http://jemmakidd.com/categories.php?cat=14 (or 15,16 etc)
then DONOTdisplaymenu
What is needed is that, if you look at this page there is a java menu under the first category:
http://jemmakidd.com/categories.php
I WANT the menu to appear on that page so that is working, however if I look at one of the store categories, like on this page, I do NOT want the menu to appear - it may be that this can be done without using a java current url type function - thats why I'm asking...
http://jemmakidd.com/categories.php?cat=14
So to summarise:
http://jemmakidd.com/categories.php (If this url is used DO display menu - if any other url DONT display menu)
Thanks again...any ideas?
Edited by: littlealex2009 on Jul 15, 2009 12:51 AMThis is a Java forum, not a Javascript forum. Google the differences.
kind regards,
Jos -
Show/ Hide Tables in SSRS based on Multiple Parameters
Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
=IIf(Parameters!Name.Value =
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!
=IIf(Parameters!Name.Value =
Hi,
Use Join function in the RDL and hide them for whatever values you want to.
=Join(Parameter!paramname.value,",")
Thanks,
FunBI -
How can I show a pop up menu based on the selection in a previous pop up menu?
For example, if "Company" is selected in a pop up menu in C6, then show another pop up menu in C7. if "Bob" is selected in a pop up menu C7, show another pop up menu that contains the talks "Bob" has in C8.
I am trying to create a talk scheduling spreadsheet with different talk outlines for different speakers. I'm not sure if there are any functions or formulas that can accomplish this. Can anyone help?Pop-up menus contain fixed values in Numbers. You might be able to do this using Steppers or sliders. These produce a numerical result, which could be used to direct a second slider or stepper's output to a specific column or table.
If you can provide a map of the structure of your list(s), there may be someone here able to take on the task of constructing the tools to do the job.
Regards,
Barry -
How show / Hide DVT : barGraph programatically.
Hi All ,
I have requirement ,
The page have two graph ,
Based on user action one bar graph should display and another bar graph should hide.Sorry about the confusion. What I meant was, I tested with both setting entitlement and DA roles (separately) and found that the usecase you are describing works. BTW, you are right in that only visitor entitlement roles effect dvt functionality. I just wanted to check if setting DA roles wasn't causing some undesirable behavior.
Back to the issue you are having, I am assuming you are talking about setting a 'view' entitlement for 'role1' on the primary book and logging in as a user that is not in 'role1' but has 'edit' rights on a child page or book of the primary book. In that case you shouldn't be able to see anything since you don't have view rights to the main book. If that is not the case, can you provide details about your setup?
Here is what I tested and found working. Set an 'edit' entitlement for 'role1' and a 'view' entitlement for 'role2' on the primary book. When logged in as a user from 'role2' I cannot see the 'Customize' gear icon on the primary book but I can see the gears on child books, pages and portlets. I tested the usecase with non-primary books and that works too.
Thanks -
SHOW / HIDE - line series using checkbox
how do i show & hide a line series based on checkboxes?
tried applying series id- doesn't seem to work!
Any Body!thanks that worked oddsy,
now im facing problem to show the hidden series through
actionscript
im doing something like this:
while generation i hide the series
pasting the function for reference:
public function addSeries(series:Array, yField:String,
id:String, color:uint,dp:ArrayCollection,vis:Boolean):void
var ls:LineSeries= new LineSeries();
var stroke:Stroke = new Stroke()
ls.yField = yField;
ls.xField="ts"
ls.dataProvider=dp
stroke.color = color;
stroke.weight = 1.5;
ls.setStyle("lineStroke", stroke);
ls.alpha=.8
ls.visible=vis
ls.id=id
var temp:Array = series;
temp.push(ls);
series = temp;
mychart.series = series;
thru action script i try this : if checkbox selected do -
> mychart.series[0].visible=true ,
mychart.series[1].visible=true....so on
but it doesn't show the series! what shud i do? -
Show/Hide JSF field based on SelectOnceChoice using Model Driven List
Hello All,
I have a use case where I want to show or hide fields based on values populated in SelectOneChoice. I have View master and View Lookup, master has a field named product which displayed selectiononechoice of product name built using lookup view as accessor. I am storing id of lookup type inside product column. Based on a product name say "abc" I want to hide subsequent fields. Can anyone please tell me how to implement this?
I am using ADF 11g version 11.1.2.
Thanks,
DipalIf I understand you correctly, you are trying to show/hide subsequent fields based on the value selected from a selectonechoice?
Did you try using partial triggers and EL for setting the rendered attribute on subsequent fields and setting autosubmit to true on selectonechoice?
Kristjan -
Show / hide field based on text in another field
Hi,
I'm trying to make one of my fields reactive to what is the text generated in another field.
At the moment I have this under calculate using custom javascript:
var Mask = this.getField("Course").value;
if(Mask == 'Swimming') this.getField("Code").display = display.visible;
else this.getField("Code").display = display.hidden;
Whereas Course is the field that is changing and Code is the one that will show/hide based on content of Course.
Any help?Hi Everyone,
After doing trials with simple calculations it still wasn't working and so I've figured out what the problem is - the document was being exported but with the data being pre-populated from an SQL database in which during the export it all happens at once, not a chain effect so when the export happens it was filling "Code" before "Course" had any info in it...
The fix was basically having to create a different field in the SQL source itself for an independent field on the pdf form. -
Show/Hide tabs in top level navigation of a role based on assigned services
Hi,
I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
Regards,
SumeetPlease refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
What i meant was that you can do a custom TLN like this
[http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
Seems to me java/jsp is more appropriate than doing it via WDA.
ANother way that you might look into this is Application integrator which again java programming effort needed. -
Show/hide fields when selecting an option from a drop-down menu.
Hello Gurus!
I have a question about creating a Java Script withing Acrobat pro. This is what i would like to do: I created a drop-down menu with several selection entries. Upon the customer making one of the selection entries, i would like for the correct fields that i created to become visible and all other fields to hide. Is this even possible to do? The reasoning behind this is because we have a form that customers have to generate in order to request access to certain financial accounts; we have over 20 different types of accounts and for each instance the customer has to fill out the same form. By creating a drop down menu, i can use the same form by just changing the drop-down selection and clicking on the designated fields for that selection. At this time i have over 20 different forms that poing to 20 different account requests and i would hate to send the form 20 different times to one person. The reason i can not add all fields desired for all accounts is due to the fact that the form would be filled with hundreds of checkmarks and instructions thus making the process too tideous for the customer. Hope you guys can help out.
~VaderThe good news is, it can be done (and it has been done).
There are a few things to be aware of, however.
The most important is that the form must be planned well, which means that you must think carefully about your logic and even more so about your field naming (hierarchical field names are your friend). One fundamental issue, you have to be aware of, is that this form no longer will be a "standard form". The consequence of this is that you may have to be aware that you might get into trouble when you have to prove that your user filled out that particular standard form (talk to your compliance and forms management people about that).
You also may have to decide whether the form should be usable in Reader. And, if so, how much you want to spend on the right to do so. You will see below why…
There are actually two approaches for dynamically showing/hiding parts of a form. If your form can be separated between a fixed first page (where you also have the account type selection), and a variable part (depending on the selection), you could use Templates, which you spawn according to the selection, and delete pages when you change the selection. This approach is very easy to implement, but requires Reader Extensions Server to allow it to work in Reader; Acrobat Pro's extended rights are not sufficient for that.
The other approach is showing/hiding fields. If you did your homework well, it would be very easy to first hide all subsequent fields, and then show the ones you need in two lines of code. This approach does not require extended rights for Reader at all, as long as your forms will always have the same number of pages, for each of your account types. This approach also works for the cases where the differences between the individual forms are very small. It does also work for showing/hiding bigger chunks of the form. In that case, you might create the "background" separately, and then put it as an icon into a button field which you will show/hide together with the carefully placed on top of it active fill-out fields.
There is a third possibility, which Adobe Propaganda probably would suggest, and that woudl be subforms in LiveCycle Designer. The consequence is, however, that you won't have PDF forms, but proprietary XFA forms instead. And you may have more developing and maintenance work than with the other approaches.
Back to your original question: you could use a Keystroke script evaluating event.changeEx of the combo box field. Depending on that, you would run your action to set up the according form part. The other way to do it would be evaluating event.value in the onBlur event. The latter would have the advantage that the selection has been made, and you get a bit more time to set up the form (this may in fact be an issue, particularly with Acrobat 9 and 10, which may take their time to show/hide fields).
Another possibility instead of a drop down (combo box field) would be a popup, where you would have a button to press, and the list of selections pops up. This second method uses app.popUpMenuEx().
Hope this can help.
Max Wyss. -
Dynamic action - show/hide region based on LOV which returns ID
Hi folks,
this should be simple, so someone who works with dynamic actions.
I have a LOV which is based on below query:
select OBJECT_ID, KOD
from x_data x;
retuns:
ID KOD
492961 BMW
492964 VOLVO
492960 MERCEDES
492963 VOLKSWAGEN
492959 SKODAItem :P200_KOD is based on LOV which displays KOD and returns ID.
On my page I have also 1 region called TEST_REGION.
I would like to set up a dynamic action shich will SHOW/HIDE a TEST_REGION based on selected value in item :P200_KOD (LOV). Region should be showed if displayed (KOD) value of selected ID starts with 'V%'
By other words, if below query returns any record, then SHOW, else HIDE:
select *
from x_data x
where x.kod like 'V%'
and x.object_id = :P200_KOD;How should I define a triggering condition for dynamic action, for item :P200_KOD?
Thanks,
TomasHi,
One way:
Create advanced dynamic action.
Name : Hide region
Event : Change
Selection Type : Item(s)
Items(s) : P200_KOD
Condition : JavaScript Expression
Value :
$(this.triggeringElement).children("option:selected").html().substring(0,1) !== "V"Action : Hide
Fire On Page Load : True
Hide all page items on the same line : No
False Action : Show
Fire On Page Load : True
Show all page items on the same line : No
Selection Type : Region
Region : TEST_REGION
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0 -
Show or hide ADF custom tab based on user's role
Hi everyone,
I have created a custom tab on the self-service interface (OIM 11.1.1.5) which contains two sub-tabs. I would like to show or hide one of the sub-tabs based on the role of the currently logged in user. Does anyone know of way to achieve this?
Thank you very much!
PaulFigured it out. Here's how to do it:
Scenario:
You are working in OIM 11.1.1.x. You create a custom tab on the self-service page. This tab should only be visible to users with a certain role, say XYZ.
Step 1: Create a Boolean variable in the managed bean that will be true if the user has the role, false otherwise.
Step 2: Create a class called CurrentUser or something along those lines that will grab the logged in user's roles and test to see if he/she has the required role. It should set a variable within the class to true or false. Or you can skip creating a class and put this code in your managed bean constructor so that it runs as soon as the user goes looking for the tab. The whole point of this, regardless of how you do it, is to end up with a Boolean variable that is set to true or false depending on the role requirements.
Step 3: In your .jsff file (the one with the tab you want to show/hide in it), find the tab and look for an attribute named "rendered." This will likely be located in your <af:showDetailItem> tag under your <af:panelTabbed> tag. This controls whether or not the tab is displayed. So set the rendered value to the value of the boolean you created earlier, like this:
rendered=#{somebeanname.yourbooleanvariablename}"
Hence, when your variable is false, this tab will not be shown. If it's true, they will see the tab. That's all there is to it. :-) -
APEX4: Is it possible to show/hide a field on form based on Radio selection
Hi,
On a form, I've a radio group (with two values) and two select list. Based on the selection in radio group, I want to show/hide the select list.
Like, when the user clicks Radio Group Value - RG_A, SL_A has to be visible, and when user clicks Radio Group Value - RG_G, SL_B has to be visible.
Is this possible in APEX 4? How can I do it?
Thanks for the help.
--HozyHi,
Yes, you can do it using Dynamic Actions.
See this thread as well. APEX4: Populating fields from database based on the SelectList value
In Radio Group you will need to identify the button clicked from its ID and / or value. Thats because the Radio Group Item creates as many IDs / Items as there are options P1_ITEM_0, P1_ITEM1_1, etc.
Regards, -
How to show/hide total based on selected column in column selector
Hello,
Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
Default:
Count
East 10
West 20
Total 30
Gender:
Male Female Total
Count Count Count
East 6 4 10
West 14 6 20
Total 20 10 30
Any thoughts?
Thanks!I recommend using view selector instead of column selector
-
We have a secure zone with email campaign opt-in as both a part of the registration form and as a stand alone form for users logged into the secure zone.
We want to only show the opt-in form to users who are not already registered for the campaign, but cannot find a way to do this via modules / tags / liquid / API.
I have searched the forums and cannot believe this is not possible. If not possible, it should be put on the list of development requests.
Is this possible and if not, any suggestions?
The best workaround I can think of is to use a CRM field to track campaign opt-in status and then js/css or liquid to show / hide the form.
Thanks.You won't be able to have a page showing 24 charts per host.
I really think that it is a bad idea to create a group per host, just to have the ability to add many charts.
The maintenance effort will be a big penalty.
Regards
Rob
Maybe you are looking for
-
Flash player crashes my browser and WiFi connection!
Earlier this month, I had to perform a factory reset of my Dell laptop--erase the hard drive, reinstall the original Windows 8 OS, then re-update to Windows 8.1 and reinstall ALL my apps--because of a malware infection. The computer would go to the
-
IOS 8 Instant Hotspot doesn't work!
HI, I have an iPhone 5S and into on sprint running iOS 8. My iPad Air which is wifi only, is on iOS 8 also. I cannot find the option for personal hotspot in my phone. Where can I find it?
-
Is treeTable supported with JHeadStart
Is ADF TreeTable component (<af:treeTable) supported when using JHeadstart. If so how. If not what is alternative to that? Cheers, Brij.
-
ithink my computer has a virus. can i get rid of it?
-
What about MultipleThread?
This is my source code! How thread event has used method paint? why method paint() only wake up once? SecondCounterLockup.java 1: import java.awt.*; 2: import javax.swing.*; 3: import java.text.*; 4: 5: public class SecondCounterLockup extends JCompo