Removal of the preferences of sort for a specific region

Version 4.2.6.00.03

Hello

I hope someone could help me with how to erase the preferences of sort for a specific region.

I have a classic report with a column in place to apply sorting and a form of tab that has a column in place to apply the sort.

I have a button to clear the sort who calls a process Page:

BEGIN

APEX_UTIL. REMOVE_SORT_PREFERENCES(:APP_USER);

END;

This clears the sorting on the two regions. So, how can I set it up to only clear the sorting on the form tab?

Hope this is clear.

Thank you

Joe

Joe R wrote:

The link for the report of the admin user preference throws a 404 error.

Oracle has moved and have apparently never heard of redirection rules: http://docs.oracle.com/cd/E23903_01/doc.41/e21678/aadm_mg_sessions.htm#CIHEADDF

If you exceed this problem using the links in the old posts, simply remove the "/ doc" component of the path of the URL.

I also had a Table or view does not exist on:

SELECT *.

OF WWV_FLOW_PREFERENCES$;

This is why I suggested looking at the admin report. This table is not accessible to the public in a default installation, and the information is not exposed in one of the documented views of metadata. As you will see in the report, sorting preference is stored as a name/value pair:

Name Value
FSP1948_P8_R57820102721076385301_SORT fsp_sort_3_desc

Where the name is of the form FSP_P_R_SORT, and the value is fsp_sort__. If you want to remove the preference, then the name is relevant, because it is the parameter required for the apex_util.remove_preference method. However, preferably the name will be different on each environment that the application is deployed, so it is to be determined dynamically. Give the region a static ID to use as an independent environment reference and use it in a query to determine the name preferably by using the ID of the internal region of the opinion of the APEX:

begin

  for region in (
    select
        'FSP' || :app_id || '_P' || :app_page_id || '_R' || region_id || '_SORT' sort_pref
    from
        apex_application_page_regions
    where
        application_id = :app_id
    and page_id = :app_page_id
    and static_id = 'region-static-id')
  loop
    apex_util.remove_preference(region.sort_pref);
  end loop;

end;

Probably a good idea to create this as a reusable utility function.

Tags: Database

Similar Questions

  • How can I remove a "do not disturb" sign for a specific contact? Their messages will not appear on the screen of my phone when it is locked

    How can I remove a "do not disturb" sign for a specific contact? Their messages will not appear on the screen of my phone when it is locked

    kochetova01 wrote:

    How can I remove a "do not disturb" sign for a specific contact? Their messages will not appear on the screen of my phone when it is locked

    Go to the message - details - do not disturb - off

  • Connect with * address email is removed from the privacy * is blocked for one of the following reasons:

    Hi, Im Mohamed, I sigfn I http://www.hotmail.com whith my ID show this maseg

    Connect with * address email is removed from the privacy * is blocked for one of the following reasons:

    • Someone has entered the password wrong too many times.
    • If you registered for this ID through an organization, you may not be able to use the account again.

    How to unlock my mail,

    NOTE: I tried reset my password security Question, write the correct answer, then show

    This option is temporarily unavailable because incorrect information was entered too many times. Please, try another option or try again later.

    Help me pz

    PZ send the response to this ID * address email is removed from the privacy * OR * address email is removed from the privacy * very thanks.

    Hi M-GhiathDakkak,

    Your question about Hotmail he will be better answered in forum Windows Live Hotmail . Please repost your question here.

  • I received an email from * address email is removed from the privacy * today asking for my information or I lose my account completely in the week. What is c?

    I received an email this morning from one * address email is removed from the privacy * indicating that if I did not check all of my information with her in the week, I would definitely lose my hotmail account.  Is it a hoax or what?

    For your own protection I guess that it is a hoax.

  • restiore audio sound-Email to * address email is removed from the privacy * goes looking for answers

    Restore the email sounds Audio response to-* address email is removed from the privacy *.

    Hello

    · Were there any changes made on the computer before the show?

    · You receive an error message or error code when you play sounds on the computer?

    You can try the steps listed in the link: no sound in Windows: http://windows.microsoft.com/en-US/windows/help/no-sound-in-windows

  • Removal of the preferences

    I'm having a strange problem in AI CS6 and I first want to try to screw up my preferences file, but I can't find (sounding dumb).  When searching for help files for this forum, I've run across references to User/Library/Preferences/Adobe Illustrator CS6 settings/fr_FR/ but I can't find that either (sounds more beast).  I see the users/username/but no Library/preferences.  I try users/username/roaming/Adobe/Adobe Illustrator CS 6 settings/en_us/x 64 but nothing he gives me a folder or a file named Preferences (can not feel stupid).  BTW, I use the file options, show hidden files and show Extensions, and I am running Windows PC on a 64-bit computer.

    Can someone tell me what I am doing wrong, and what I would do instead?

    If you are on Windows, so I don't know why you are looking for a path that refers to the path of Mac.

    Please look here: C:\Users\\AppData\Roaming\Adobe\Adobe Illustrator CS6 Settings\en_US\x64\AiPrefs

  • On the removal of the updates of Windows for Vista

    I have Windows Vista 7.  If I switch to Windows 10 I continue to get automatic updates from Microsoft?  I understand that Microsoft supports is no longer upgrading the Vista operating system...

    Here are the dates of extended support for all current versions of Windows.

    Windows end of life
    http://Windows.Microsoft.com/en-us/Windows/lifecycle

  • Impossible to change the Data Execution Prevention for a specific program

    Original title: Data Execution Prevention

    Hi, can't seem to be able to change my Data Execution Prevention for one of the programs that I'm running. I followed the instructions from microsoft, but nothing happens. Can someone help? Thank you.

    Hello

    EricLaw IEInternals - a peek at Internet Explorer from inside. -Understanding DEP/NX
    http://blogs.msdn.com/ieinternals/archive/2009/10/10/understanding-data-execution-prevention-crashes-in-IE8.aspx

    The problem might actually be an addon or another program causing the problem and you
    must verify that 1.

    What antivirus/antispyware/security products do you have on the machine? Be one you have
    EVER had on this machine, including those you have uninstalled (they leave leftovers behind which)
    may cause strange problems).

    Start - all programs - Accessores - system tools - IE with no Addons - does this work better?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security - reset all Zones by default level - apply / OK

    not better?

    Close IE and try again IE or IE with no Addons

    IE - tools - manage Addons (for sure disable SSV2 if she's here, is no longer necessary, but)
    Java always install it and it causes problems - you never update Java to go back in and turn it off again.)
    Search for other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look
    right. Allowed are usually OK and "unauthorized" are not always bad. If a doubt
    program to ask about it here.

    Could be a free - BHOremover - BHO - standalone program, needs no installation, download and
    run - not all are bad but some can cause your question. (Toolbars are BHO)
    http://securityxploded.com/bhoremover.php

    Startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and which would be
    stands with Prevx running except for a cookie of occasional low level (not a big deal), the update
    and then execute it as a scanner.

    http://www.Malwarebytes.org/

    I would add prevx so.

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/

    PCmag - Prevx - Editor's choice
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    -------------------------------------------------------------------

    Do yourself a big favor and work through 1 above.

    Data execution prevention Internet Explorer Windows 7 included - several methods here difficult
    http://HubPages.com/hub/data-execution-prevention-Internet-Explorer

    Feature Data Execution Prevention, or DEP in Windows Vista & Windows 7 - see also the links to the
    at the bottom of this page.
    http://www.WinVistaClub.com/F33.html

    How control DEP but I don't recommend turning it off and certainly not to let power off.

    How to enable DEP on or off for a program of Vista (and Windows 7)
    http://www.Vistax64.com/tutorials/65790-DEP-turn-off-programs.html

    How to enable or disable DEP in Vista (and Windows 7)
    http://www.Vistax64.com/tutorials/120778-DEP-enable-disable.html

    ====================================

    If nothing else works you can try this however I would use as a last resort.

    IE - Tools - Options - Advanced Options - Internet Security Section - clear the check box enable memory
    Protection to mitigate the attacks online - APPLY - OK close and restart IE

    Hope this helps. |

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Duration of different valuation of the song on iTunes for different countries/regions

    I'm an artist and I used TuneCore to distribute my music. There is a link to iTunes for my way, but it is not available in the iTunes store of Turkey? The assessment process takes different times in different countries?

    GMS,

    Yes, it may take different time in different country iTunes Store.

    If it seems that there is an unreasonable time for the Turkey store, please contact TuneCore and ask them to look into the issue.

  • Measure the number of Vm for a specific folder and its subfolders in a Vcenter

    Hello

        I am try to create a script that tit I am creating a powercli script that will count the number of VMS in all subfolders that is mapped to a specific folder (like I have a folder name 'guests', according to which several customers subfolders (cus01, cuso2, cus03...) will show all customers folder. )

    For example-, we have several files in the vcenter, whereby I need to point to allows specific folder say "All customers" and count of the VM of each subfolders.

    VMcount folder

    All clients 60 - this total count of the main folder, including subfolders.

    Cus01                                   10

    cus02                                    20

    cus03                                    30

    ANY IDEA? do this in simple oneliner or a simple loop.

    Thanks in advance!

    -Philippe.

    Try something like this

    $folderName = "all customers".

    $rootFolder = get-file-name $folderName

    $folder = @($rootFolder) + (get-file-location $rootFolder)

    $folder | Select Name,

    @{N = "VMCount"; E={($_ | Get - VM | Measure - Object). County}}

  • Is there a way to recover the use of storage for a specific org through the vCloud API RESTful vdc?


    Hello - I hope someone can tell me how to recover the amount of storage used against an assignment given to a specific VCC in the goal.  I use storage profiles in my environment and when I retrieve the details of an org vDC by AGAINST... api / / admin/vdc / < OID >, I think the result is a block with hrefs VdcstorageProfiles I can do more gets against for details on provisioned storage profiles.  However the results of these becomes later contain just a 'Limit' tag in the XML file that indicates the amount of the allowance, but still no details on usage.  The initial GET against the vDC shows its use against the allocation of memory and cpu, and I was looking to find a similar result for storage.

    Thank you!

    Nevermind, I just have this one resolved, everything necessary for the query / api /? type = adminOrgVdcStorageProfile & filter = vdcName is XXXX

  • Run the script if only for a specific computer: need advice.

    I want to be sure that a group, a people has done a job "within the gates" and that they did not bring pictures under the direction of the House.

    My script works only if they get the name fo PCs.

    I thought to use each computer name (network name), but I couldn't get it from javascript.

    Would be an another way to do it from a photoshop on PC windows7 Pro network script?

    Thank you

    One idea is to run a startup script to run a vbs script to set a variable in Photoshop.

    For example, this script will set a variable 'processorID"with computers processor ID that can be checked using your script: -.

    var processorID = $.getenv('processorID');
    

    vbs...

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor")
    For Each objItem in colItems
    ProcessorID = objItem.ProcessorId
    Next
    Set appRef = CreateObject( "Photoshop.Application" )
    Script =  "$.setenv('processorID','" & processorID & "');"
    appRef.DoJavaScript( Script )
    

    You could blur the vbs code, an example of script to do this is here...

    http://StackOverflow.com/questions/4252419/free-VBScript-obfuscator

  • The research of groups for a specific purpose

    Hello

    I know that you can go to the Group page and click on a specific group and see which members make up this group, but is it possible to choose a specific target and see all the groups to which they belong? While this wouldn't be a problem if there are a few groups and each target only belongs to one, but if there's a situation where you have 100 + groups and some targets can belong to several groups and you must find all the groups a specific target is in, it could become a very time dependent and ineffective task.

    Thank you very much in advance,

    GC

    Hi GC,.

    A home of the target page, you can click on the "Target information" icon (with the letter i in the circle) on the right side of the name to see what target groups/target target is a member of.

    Kind regards

    -Loc

  • How can we change the preference which e-mail address thunderbird uses to send an email when you use the button "write"?

    I currently have two accounts in use on my thunderbird. When sending emails on Mozilla Thunderbird, immediate preference is to send from the first account I added to the program, but most of the time, I only want to send emails on the second account. I often forget to change the e-mail address of the sender to the top of the message window that becomes a gene. I don't know there must be a way to change the preferences around, but for the life of me I can't find it anywhere!

    If you are viewing emails and folders for the account 'A' and choose to write a new message, and then FROM use e-mail address of account 'A'.

    If you were displaying foldres 'B' and email account and choose to write a new message, and then FROM use account address email 'B '.

    If you view e-mails in local folders and choose to write a new message, then FROM using anything that is set as default.

    At the top e-mail account is the default e-mail account.

    You can change which account is set as the default value.

    • 'Tools' > 'account settings '.
    • Select the e-mail account you want to set as default
    • Click on "Actions account."
    • Select: "set as default"
    • Click OK to save the changes.

    The news 'Tools' > 'Account settings' guess you have activated all your toolbars. Otherwise, you can also access the "Account settings" via:

    • '3 bar menu icon' > 'Options' > 'account settings '.

    or

    • Right click on the email account in the left pane of the folder, and then select "settings".

    As you have only two e-mail accounts, it is easy to exchange the default and change the order that they are displayed. If later, you add several email accounts and need to change the order of these accounts, not only to define a default value, you can use this addon:

    Please note that this addon also lets you reorganize the folders.

  • The tolerance setting works for the "Convert anchor point tool"? Are there other ways?

    Hello
    I wonder if the setting "tolerance"in the preferences only works for the arrow tools?» I put it to 8 pixels and it seems OK for these tools, but when I use the tool 'Convert Anchor' point it is incredible difficult to hit a point for me. It seems that I have to hit a point exactly one pixel, which is hard with a screen high resolution.
    My PC keeps beeping all the time and I'm getting crazy on this subject...
    It seems that the framework of tolerance doesn't work here, I'm right? There are other parameters that could help me to work with this tool?

    Sorry if this is the kind of a beginner question, I have much experience with PS and LR, but not so much with Illustrator (and I couldn't find anything useful in the internet).

    Thank you
    Raschko

    I agree, it is sometimes difficult to click on the sweet spot. Here are 3 proposals:

    1. Pay attention to the cursor icon. This will change when you are on a point anchor or direction.
    2. Try to turn on 'bearings commented. They can be a nuisance, but they are sometimes useful.
    3. Use the button "convert" on the Options bar. They may take a little longer but they are full-proof, moreover, you can convert or remove several selected points simultaneously using this method.

Maybe you are looking for

  • Time Machine restore problems

    Me again... still to try to recover my drive hard because I tried to make the Boot Camp. In preparation for boot from the external drive, I had a cool time machine backup of the system. The system was Captain El. When I started pressing cmd + R to ch

  • disabled the account of ADM - Message indicates that the account is disabled and that the system administrator

    Hello, I have xp sp3, I tried using ctrl-alt-del at logon when the window pops up, it says the account is disabled see sys admin I also tried enabling in safe mode user accounts is missing in(S/M) Please help

  • Can run any. EXE files

    When I try to run an application, I get a dialog box that says 'Open with' and asked me to choose a program. This happens for all files ending in. EXE. However, according to the program, if I click with the right button on the application and select

  • V515w - printer does not print

    I would print a document showing the status as printing but the printer that goes on, but don't not print anything. Document remains in the print queue. A few times I have cleaned the printhead through interview and it prints what is in the queue. An

  • How to connect a new computer to win 8 to an existing home network

    I currently have several computers in the House (3 win 7 and 1 vista) and different multimedia devices connected wireless and wired to a home network (not a homegroup because vista and media devices).  I don't see the new computer network.  Especiall