Feature to return/Purge MDS customization by the user

I want to offer my users a way to clear/back/purge all their customizations MDS via some commandLink or button. The purge should be applied only to a specific user (for example, the current user). What is the best way to achieve this? My initial thoughts point to invoke commands wlst programmatically, but I was hoping there was a way more direct and better do it via the MDS itself framework.

There seems to be no api documented for this

Tags: Java

Similar Questions

  • Customization of the user for users of the data base and without security ADF

    JDeveloper version - 11.1.1.7.0

    I want to implement personalization by the user on the database of users and without ADF security. I followed the link in storing the repository in a file system but its same showing below the user interface for all users.

    http://Sameh-Nassar.blogspot.IE/2012/03/apply-MDS-to-Oracle-ADF-application.html

    Please guide me on how to do this for users of the database. Please share any other useful links, as appropriate.

    Customization of the user (SDM) does not care the security of applications. You can also apply to the MDS in your ADF application if you use the ADF security or custom security. The main idea is the class of customization (like MyUserCC) has the method call getValue this method should return the user name. When the user login stores the user id in the session and the method getValue returns the user session ID as:

      public String[] getValue(RestrictedSession restrictedSession, MetadataObject metadataObject)
      {
        try
        {
          String user = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userId"); // userId is the session variable that store the login user id
          if(user == null)
          {
            return new String[]{""};
          }
    
          return new String[]{user};
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        return new String[]{""};
      }
    
  • Customization of the user do not get persisted through session

    Hi all
    The connection of secrurity set ADF application has implemented. I need to create a customization when running user persisted in the MDS repository in user sessions.

    So far I have made the following
    (1) click on the ViewController project properties and set 'Enable user customization' and choose 'through Sessions use doctors ".
    (2) I have observed changes in the web.xml file
    (3) prior to the deployment of applications, create a repository of adf using the EM.


    BEGIN test, it seems that the customization of the user are visible only for a particular session, and not when the user disconnects and the connections again.


    I followed the Oracle documentation for the MDS configuration and the configuration of the application of personalization of the user.

    Please suggest, what don't get me. I use JDeveloper 11.1.1.4

    Thank you

    I wrote a few articles on this topic on otn. Google for "essential development adf" to find them. It seems that if you have got everything but the items can help you find if you missed a step somewhere.

    John

  • Customization of the user and Desktop Integration to connect security non - ADF

    Hi all
    Our application has its own connection authorization. I have some doubts about the MDS (personalization of the user between sessions) and integration of ADF Office for an application that doesn't use the ADF security.

    (1) is ADF Desktop integration taken in charge for the connection of non - ADF security. If so, is there a working example or how to establish a session to the user of the excel workbook with the username of connection of our application.

    (2) of this thread ( customization through the MDS user Sessions ), I understand that, if we write our own customization class, persistence of the MDS in the sessions should not be a problem. However, how we store this persistence to a database. Any example pointers / functional would be really useful.


    Thank you
    Bala

    Hi Balasumbramanian,

    I just write a 3 part series on SDM that should help you with the second http://www.oracle.com/technology/pub/articles/adf-development-essentials/index.html question. See, in particular, the third article ("part 10")

    John

  • Customization of the user interface in 11 GR 2

    Hello Experts,

    I need help in the customization of the user interface of the IOM.

    I need to change the

    Logo

    Text

    IOM background colors

    I'm following the document customization of the Interface - 11 g Release 2 (11.1.2) but it is not clear. Can someone provide me with materials or measures for the customization of the user interface?

    Concerning

    A presilia

    Hi Pascal,.

    Follow the following URL which can help you to complete the customization of the user interface of the IOM

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm#BABJIJIA

    Thank you

  • jdev11 selection tab and allow the customization of the user on the bug of the Session.

    If you enabled customization by the user for the duration of the session, then what ever user edits a page remains the same through the session.
    That is to say. Boxes of Panel, advanced the query criteria, the visible columns in tables in the collections Panel etc. revealed.

    The problem is that you can't customize the properties to be kept or not:
    ++ Developer fusion for Oracle ADF & 34.3 user customizations Configuration guide: ++
    ++ Note +: If you have activated just the session persistence, then all attributes of the values given in table 34-1 will be persisted in the session. +
    It there is no way to substitute it either globally, or on an instance.
    The biggest problem is that if you have a business logic on these components appearance or behavior you cannot override user settings.

    Is this a bug?
    Shouldn't logical business methods replace the user personalization settings?

    Customization of the user for the duration of the session will be configurable?

    Details: [http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html]

    Hello

    Is this a bug?

    Don't think. I guess your business logic depends on the disclosure statement, which is usually reset after each navigation works to a page. Using persistence of change you explicitly allow the user to keep the changes. If your business logic cannot rely on a State has changed.

    The enhancement request proposed to prevent changes of the perisisting its just components. I'll drop a.

    But it is not that you cannot override the persistent information for a component. You can use the ChangeManager API that is exposed on the ADFFacesContext to substitute information persistence

    http://download.Oracle.com/docs/CD/E15051_01/apirefs.1111/e10684/Oracle/ADF/view/rich/change/changemanager.html

    For example, with a change of disclosure event:

      boolean isDisclosed = < whatever you like to set >;
      //Record a Change for 'disclosed' attribute
      AttributeComponentChange aa =
      new AttributeComponentChange('disclosed', isDisclosed ? Boolean.TRUE : Boolean.FALSE);
      AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
      //set disclosed state to component. Here you override the user choice
      adfContext.getChangeManager().addComponentChange(getFacesContext(), event.getSource(), aa);
    

    Frank

    Published by: Frank Nimphius, on September 30, 2009 15:20

  • Customization of the user does not not as expected

    JDeveloper version - 11.1.1.7.0


    My requirement is when a user customizes a page and re - called leave the same browser or browser; the custom page must be provided to them. Also when the URL is called from a different machine, design time page should appear (not the one to measure) and a separate customization should be allowed on this machine. that is, each machine to their respective customization.


    I created an application that has the class UserCC customization in MDS. I run my application of Jdev and customize it. Then when I call the URL from another browser, it shows the page design time and not the custom. If I invoke it on a different machine , it displays the page of time to design as expected.


    I've tried including the customization of SiteCC class in MDS as well as the UserCC. This time on the execution of the page, it displays the previously custom page by default and no time to design page. It also shows the custom page on the appeal of an another machine or other browser URL.


    Steps to create the application-

    1. MDS allowing between sessions

    2 configured adf - config.xml

    ADF - open config.xml -> Configuration MDS -> added UserCC & SiteCC.

    3 defined the elements and attributes that are get persistent store of MDS.

    I'll go with you step by step (it's what I've done in a ADF applications I have):

    1 - my ADF Application use custom security (not use the ADF security). After the user successfully connecting I will store user id in the variable in the scope of session (the name of the variable is "userId").

    2. to activate SDM, you must configure 3 things:

    -Database

    -Weblogic Standalone

    -ADF Application

    3. for the database, you must configure the remote on the database and create user db DEV_MDS (refer to Sameh Nassar: MDS apply to Oracle ADF Application)

    4. for stand-alone weblogic, you must open em and configure MDS in the weblogic (refer to Sameh Nassar: MDS apply to Oracle ADF Application)

    5. for the Application-level configuration follow these print screens:

    The ViewController project properties:

    Create a new class MyUserCC extends SiteCC as:

    --> Descriptors application resources--> ADF META_INF--> adf-config. XML

    5. deploy the application. But you have only 2 ways to deploy the application:

    -From direct JDeveloper:

    Create war and ear files

    * Set connection of Server Application for weblogic (main Menu-->--> Application Server Browser view)

    * Menu select application--> deployment--> yourEar file--> deploy to the application server--> select the server

    * MDS window enter any name as the name of the partition (but if you redeploy the application again, you must enter the same partition name that you added the first time to keep the user's changes)

    -Second way you can use to deploy the application comes from em

    * Em open (http://serverIp:7001 / em)

    * Expand Weblogic domain--> right click--> application deployment

    A step is to select the MDS repository and enter the name of the partition

    6-test you request. Sign in with the user "user1" hide certain columns, collapse to any component reducible logout then login again with the id "User1", you should see the Exchange user. Disconnect and connect with the user "user2", you should not see the changes of the id "User1".

  • Customization of the user interface on Blackberry

    Hello friends,

    How to get color background rectangle rounded on fields even as the calendar of the user interface.

    Here is the preview below,

    You can use http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/ui/decor/BorderFactory.html from 4.6 +.

    on lower os versions, you have to draw yourself using graphics.

  • Customization of the user interface in 4beta2: hide the button new tab

    Question

    I have another type of problem with Firefox

    Description

    I want to know how to hide the button new tab especially when (be precise)
    tabs [[overflow = "true"]
    I tried to change this code:

    .tabs-newtab-button {
    display: none
    }

    but during overflow the new tab button appears again.
    Maybe this isn't the right place for these issues, I still need a solution

    Version of Firefox

    4.0b1

    Operating system

    Windows 7

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; B 1 RV:2.0) Gecko/Firefox/4.0b1 20100630

    Plugins installed

    • -Shockwave Flash 10.1 r53
    • 4.0.50524.0
    • Adobe PDF plugin for Firefox and Netscape "9.3.3.

    Try:
    #new-tab-button, .tabs-newtab-button {
    display: none;
    }

    You can also drag the new tab button in the window customize (view > toolbars > customize)

  • DIAdem: Customization of the User Interface: disable the Standard Menus or prevent &lt; CTRL-U &gt;

    I had a few issues of my latest DIAdem class participants.

    Is there a way to disable by program of Standard Menu items in tiara Script, or in the Desktop.ddd file?

    Except that - is there a way to programmatically prevent a user exit WndShow("Shell","FullScreen") when the script defines DIAdem to run full screen mode?

    DIAdem can not be stopped by Script programming?

    Hi Ryan,

    Yes, you can manipulate menus DIAdem standards. The example of "User-defined Menus" ("Menu_main.vbs") how to add own menus defined. But of course, you can remove the menu standards, too. Example:

    Dim iLoop, sPanelName

    sPanelName = 'REPORT '.

    for iLoop = MenuItemCountGet (sPanelName, "M") to 1 step - 1

    Call MenuItemDel (sPanelName, "Mr." & str (iLoop))

    next

    Since DIAdem 11.0, you can manipulate the tiara GroupBars and tiara ActionBars more. Please take a look at the example of 'Extend the Bar group' ('BarExample_Init.vbs'). And I could imagine that this could be extended for the next version of DIAdem.

    To prevent CTRL-U in the mode full-screen mode is not possible. This is the standard mode of Diadem failover.

    I don't know what you mean with "stop script programmatically. If you wanted to stop DIAdem and then use the command "ProgramExit".

    Greetings

    Walter

  • Customization of the user interface on Blackberry - ObjectListField

    Hello

    Someone has an idea how to deal with the following scenario with the ObjectListField on 4.5 OS worm. A simplest thing was to add the string with '\n', but it does not work with BB. Y at - there any option other to achieve this other than too much riding paint method?

    Scenario:

    Point 0: Label-10/12/2010

    String: This is the first element of the listfield.

    Point 1: Label-10 92 2010

    String: This is the second element of the listfield.

    .

    .

    .

    .

    .

    .

    .

    .

    the field seems to serve three times the rowheight fontsize.

    Use setRowHeight (getFont () .getSize () * 3) to achieve this goal.

    Now you can draw the lines using the y and adding the fontHeight to row2, row3 RESP.

    to get the update behavior, you must change the drawFocus method (it is a bit Advanced, it would be easier to let the entire marked input)

  • ShowDetailFrame-customizing the user get stored at the site level.

    We have a show-detail-image in our page. When running it gives the possibility to move up/down etc.

    When a non-administrator user moves a section upward, its reflected to all users. When I exported MDS, I found that this customization is get stored at the site level.

    Is there a way to define these operations such as level of customization of the user, so that only the user who uses the options get affected?

    My web.xml to CHANGE_PERSISTENCE is

    < context-param >

    org.apache.myfaces.trinidad.CHANGE_PERSISTENCE < param-name > < / param-name >

    oracle.adf.view.page.editor.change.ComposerChangeManager < param-value > < / param-value >

    < / context-param >

    Thank you

    Pauline.

    Hi again.

    I was doing a little PoC and you have the following approaches:

    1. Change of adf - config.xml file to use UserCC instead of SiteCC. Implement your own UserCC based on Andrejus or official documentation to retrieve the name of user of the API.
    2. If you need both UserCC and SiteCC at the same time you need to implement yourself. You can follow the construction process (spaces).

    http://andrejusb.blogspot.co.UK/2011/09/making-it-work-together-MDS-user-and.html

    Andrejus Baranovskis Blog: Application of personalization and customization in Oracle ADF 11g and Oracle WebCenter 11g

    I hope this helps.

  • Followed by disconnection of back button of the browser allows the user in application

    Hello

    In Application Express 4.0.2.00.07 in the 300 request authentication scheme I defined the logout url to be:

    wwv_flow_custom_auth_std.logout? p_this_flow = & APP_ID. & p_next_flow_page_sess = & APP_ID.:101:

    It works very well, that is when the user application click on the logout button, he or she is redirected to the page of connection (101) if at this stage, the application user clicks the previous button on the browser, Firefox or Chrome, it is allowed in the application and may exercise as if it never of disconnection.

    On the other hand if this same exercise is repeated in Internet Explorer, the feature works as expected, it's that the user cannot return to the application without logging in once more.

    Any suggestions on why Firefox/Chrome behaves this way? suggestions in areas to look at pointers would be welcome.

    Thank you

    Daniel

    Published by: on May 22, 2012 zooid 04:03

    Hello

    It is always useful to search the forum first.

    You can start here {message identifier: = 1487149}

    Kind regards

  • Enter the user groups and privileges in labVIEW

    Hey Gang,

    We are developing an application in LV 2010 where we need to control user access to the parts of the application.  This application will be installed on about 50 machines.  It dept can assign users to one or more of the three special groups to manage permissions through Windows.  I need to be able to read what the current user belongs to groups by programming LabVIEW.  I know that this can be done in Teststand, but we do not use that.

    I know how to get the user name of the application object, but we have to manage our own list of privileges on the network somewhere and we do not want to do that.

    I saw here in the DevZone that someone posted a DLL that return a Boolean value if the user is an administrator, and who has come close, but do not do.

    I hope that we don't need to dig into the programming to do this Windows System.  It seems that someone would have done this before.

    Any help is appreciated!

    Roger

    Ready to deal with a .NET solution? The joint assumes that you are in an environment Active Directory. NOTE: This requires .NET 3.5.

  • Inconsistent behavior of the user interface in the keywords fields

    I noticed an inconsistency in the way keywords fields are dealt with in the Web portal. I was helping a new user today, and this inconsistency really triggered her top.

    In the Article Properties > metadata Article screen, when you add a keyword or keyword internal, after typing the keyword, you can either press the tab key or the back key to 'apply' the key word.

    But in the Layout Templates Beta > mapping, when you edit a mapping rule, and you type a key word or internal keyword, hit the tab key has no effect. The key word is on the line and allows you to move to the next field, but it is not "applied" until you press the return key. This caused the user thinks that she entered the key word, when in fact she was not. Has caused about 25 minutes of troubleshooting until we understood what was going on.

    Just a heads up, hoping this gets fixed.

    I'll make sure that the team has a bug filed for this...

Maybe you are looking for

  • I can't synchronize my new iphone 7 with itunes on my mac (OSX)

    I have an old MAC, which synced fine with my iphone 5, but my new 7 used to synchronize itunes - when I connect with cord, computer tells me phone will not allow connection - phone to ask if trust peripheral, I say trust, but failed to get the two to

  • Videos QuickTime play the sound but no picture in Firefox 4

    I can't display all the video files Quicktime in Firefox 4. My Quicktime plugin is up to date. I tried in Safe Mode too and still had no luck. I tested with trailers at Apple.com - I think they have them integrated right - and only hear sound and see

  • create an alias for a custom device page

    Is there a way to create an alias for a custom device page? I wish that a button on the home page of my device custom (in solution system Explorer) allow the user to create an alias and linking this alias on a channel of the system. My Vi is the foll

  • DreamSpark EULA allow 2 installs of Windows 7?

    I download Windows 7 Pro SP1 on the Dreamspark site for my school.  (Section 3.b) EULA says that I can installWindows 7 on both devices, but the second PC's activation problems.Everyone to encounter this problem?   Any suggestion to solve the problem

  • My printer is not displayed on the list of devices in Windows 8... Please help!

    I downloaded the software and the driver for my printer HP laserjet 3015 to my new Office Windows 8.  When I go to print and I can choose a printer, I can print my printer.  However, when my print job goes directly to the printer, it chooses the HP u