Reseting a specific Sort Preference independant from the current App_ID

Hi,
I want to reset a specific User Sort Preference. That is no problem, look in the report "current User Preferences" and reset the name with apex_util.remove_preference.
But I have 3 systems with different App_IDs Developing = 220, Test = 320 and Production = 420. So this specific sort preference has different names in different versions (FSP220_P20_R...., FSP320_P20_R...)
I dont want to reset all preferences for the user. Is there any solution...?
Thanks, Juergen

Hi Vijay!
Have a look at my post: http://ioi.solutions/easy-way-get-sharepoint-context/
It will save you a lot of your time.
SPLoader.js file has example of updating/deleting  items:
function updateCheckList(list,listItemId,fields) {
var deferred = $.Deferred();
SpLoader.ready(function () {
var listName = list;
var oList = SpLoader.hostWeb.get_lists().getByTitle(listName);
var oListItem = oList.getItemById(listItemId);
$.each(fields, function (index,item) {
oListItem.set_item(item.fname, item.value);
oListItem.update();
SpLoader.context.executeQueryAsync(
function () {
deferred.resolve("Operation successfully completed.");
function (sender, args) {
deferred.resolve('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
return deferred.promise();
In the above example I am dynamically updating fields with new values.
fields= [{fname:'field1',value:1},{fname:'field2',value:0},....]
Nick

Similar Messages

  • How to make the audio track independent from the video track?

    Can someone remind me how to make the audio track independent from the video track? My memory just went blank. Must be the age.
    Thanks

    Hi -
    Select the clip in the timeline.
    Type Command + L or go to the menu Modify > Link to toggle it off.
    MtD

  • Do not use iOS 7. Attempting to install iOS 7 will cause your phone to require a factory reset, thus wiping all your data from the device. Save your data, do not attempt to install the new iOS 7.

    Do not use iOS 7. Attempting to install iOS 7 will cause your phone to require a factory reset, thus wiping all your data from the device. Save your data, do not attempt to install the new iOS 7.

    My phone has been in the Preparaing Iphone for Restore mode for over 2 hrs. I have the following on the itunes page
                Iphone Recovery Mode
              Itunes is restoring the software on this Iphone. 
    I have the Itunes icon and the USB cord display on the iphone home screen
    So I still have 3 hrs to go???  WOW

  • Is there anyway to share an application on an Adobe Muse web page? More specifically an applet exported from the Processing interface?

    Is there anyway to share an application on an Adobe Muse web page? More specifically an applet exported from the Processing interface?

    Hi,
    You can add your app to the Muse page using the Insert HTML feature in Muse. However, it depends on your hosting server whether or not the app will work. For example, if your app is in php and your server is configured for php, the app should work.
    Regards,
    Aish

  • How can I get a query in the search field to open in a new tab or new window from the current window?

    How can I get a query in the search field to open in a new tab or new window from the current window?

    If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
    Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
    '''browser.search.openintab''' = double-click to toggle to '''true'''

  • I have a ipod classic 5th gen 30gb, if i download a movie or song from the current itunes i use with my ipod touch will it play? or do i have to get another type of itunes, if so which one?

    i have windows 7 and a2nd gen ipod touch and i just aquired an ipod classic which is a 5th gen from 2005 with a 30 gb capacity. can i download a video movie or episode and songs from the current itunes i use for my ipod touch or is there a different one i should use? please help.

    You can plug the iPod into the same iTunes library as your iPod Touch and sync whatever content you like to it. There is no limilt to the number of iPads, iPhones, or iPods you can sync with one iTunes library, account, or computer.  How you sync one device will not affect the syncing preferences of the other.
    B-rock

  • [kde] "Only show tasks from the current desktop" doesn't work for max

    Hi,
    I have two monitor setup (laptop + main monitor) and I would love to use "Only show tasks from the current desktop" option in KDE Task Manager but for some strange reason it doesn't work for me. Well, it works but only partially - for restored/unmaximized windows. When I maximize one it appears on the Taskbar on both screens. Is this normal? May it be due to the fact that I've placed Taskbar on top of the screens?

    Did you miss this bit
    "Graphics : 1 GB NVIDIA Quadro 600 (1DP & 1DVI-I) (1DP-DVI & 1DVI-VGA adapter) (ELGA13) 1"
    And the final image clearly states the type of Graphics Card he has
    Photoshop CS6 GPU FAQ
    Tested video cards for Photoshop CS6
    Adobe tested the following video cards before the release of Photoshop CS6. This document lists the video card by series. The minimum amount of RAM supported on video cards for Photoshop CS6 is 256 MB. Photoshop 13.1 cannot display 3D features if you have less than 512 MB of VRAM on your video card.
    Important: This document is updated as newly released cards are tested. However, Adobe cannot test all cards in a timely manner. If a video card is not listed here, but was released after May 2012, you can assume that the card will work with Photoshop CS6.
    Adobe tested laptop and desktop versions of the following cards. Be sure to download the latest driver for your specific model. (Laptop and desktop versions have slightly different names.)
    nVidia GeForce 8000, 9000, 100, 200, 300, 400, 500, 600 series
    nVidia Quadro 400, 600, 2000, 4000 (Mac & Win), CX, 5000, 6000, K600, K2000, K4000, K5000 (Windows & Mac OS)

  • How can i stay logged in on iPhone Skype after i delete the app from the 'current' apps?

    How can i stay logged in on iPhone Skype after i delete the app from the 'current' apps?
    Thanks for ur answers !

    You are correct. There is no other way to recover this material, and yes it would have been a good idea to backup the iPhone prior to the restore. Remember that a restore to a previous date deletes everything on the device and puts it back to the state of things on the date you choose. The texts and contacts would be gone. Did you possibly sync the contacts with a supported application on the computer? That is the only other way to recover contacts. They are designed to be synced with a supported application on the computer, or with a cloud service such as iCloud, Google or Yahoo.

  • Addition of a new field "Leave Details" in the LTA screen with dropdown val-ues from Infotype 2001 subtype ITEL. From the current calendar year in ESS

    Hi Experts,
    we are using portal 7.3 version,Our requirement  is addition
    of a new field “Leave Details” in the LTA screen with dropdown values from Infotype
    2001 subtype ITEL. From the current calendar year in ESS.The new field should
    be available only for the claim type LTA claim or claim against advance.
    please find the below screen shot and details.
    Current View
    Component: HRESS_CLMS_WD_EMCR
    Personalization: 4370750342A6297CC184E2B07FE6D13E
    Window: W_CLM_DYN_UI
    View: V_CLMS_DETAIL
    Application Component: PY-XX-RS
    Kindly help me how to add this field and in which method can i implement code.
    Thank you in advance
    Regards,
    Vanitha

    Hi Shankar Reddy,
    Business requirement is  the new field  should display the list entry in Infotype 2001 for the calendar year as selection option for employee. they would like to know ITEL subtype claim,
    Example.employee no: EE#9941
    As per screen shot you may see for EE#9941 there are 2 Leave requests.
    So in the leave details the selection drop down menu option or any other way  should be display 2 lines.
    Regards,
    Vanitha

  • How much ram can I add to my late 2008 MacBook Pro? I run Mavericks and just got a new inexpensive hard drive. RAM is not very expensive so Thought I would bump it up from the current 2MB of 1067 Mhz DDr3

    How much ram can I add to my late 2008 MacBook Pro? I run Mavericks and just got a new inexpensive hard drive. RAM is not very expensive so Thought I would bump it up from the current 2MB of 1067 Mhz DDr3

    Maximum Memory
    8.0 GB (Actual) 4.0 GB (Apple)
    Memory Slots
    2 - 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM

  • When using the search function in mail I only see results from the current year. how can I see results from all years?

    When searching mail results only contain messages from the current year. I'd like to see results from all years. This just started after upgrading from Snow leopard to Lion.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • How to get the transaction_id from the current session of the current trx?

    Hello Gurus,
    How can get the hr_api_transactions.transaction_id from the current session to use it in my SQL script in VO.xml?
    I don't know if I can get the item_type, item_key from the current self service session in iRecruitment? to use it in hr_transactions_ss.get_transaction_id(p_item_type, p_item_key)
    I saw something icx_sec.getID(icx_sec.g_transaction_id)!
    Can I use this in the where clause of the SQL part of my VO extension?
    Thanks for all the help!
    FR

    Hi!
    Try this thread:
    http://help.sap.com/saphelp_nw04s/helpdata/EN/80/b2dd3a6dac703be10000000a11405a/frameset.htm
    brgs Ziggy

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted.
    The select option contains two fields the first field is the date which is 10 days subtracted from the current date and the next field is the current date.
    Please suggest.
    Thanks.

    Hi Dolly
    I had a same req before check that code:
    AT SELECTION-SCREEN OUTPUT.
    IF pa_older = 'X'.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end  "<<<<< date or in ur case sy-datum
    days = '10'
    months = '00'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end1.  " <<< subtracted date
    ENDIF.

  • Calculate previous Sunday from the current day

    Hi Gurus,
    Can anybody tell what is the name of the function module which caluclates the previous Sunday from the Current system date. or any other idea how to calculate previous sunday from the current system date in Query.
    Thanks
    Liza

    Hello,
    See my previous thread to you for a similar Re: Find out previous Monday based on 0CALDAY
    Thanks
    Chandran

  • Selecting Invoice (OINV) records from the current financial year

    Hi Everyone,
    I would like to select Invoices (OINV) from the current Financial Year. I am located in Australia and our financial year is measured from the 1st of July to the 30th of June.
    Here is a pseudo - code sample -
    SELECT T1.DocEntry, T1.DocNum, T1.DocDate
    FROM AU.dbo.OINV T1
    WHERE "CURRENT FINANCIAL YEAR"
    Notice above that I would like to replace "CURRENT FINANCIAL YEAR" with an SQL code snippet that selects all dates from the beginning of the financial year (1/07/xx) to the current date.
    Any help here will be greatly appreciated.
    Kind Regards,
    David

    Hi Everyone,
    Here is a code snippet that permits returning only values from the current financial year -
    DECLARE @day nvarchar(2) = DAY(GETDATE())
    DECLARE @currentMonthAndDay INT = CAST(CAST(MONTH(GETDATE()) as nvarchar(2)) + (REPLICATE('0', 2 - LEN(@day)) + @day) as int)
    DECLARE @StartOfFinancialYear DATETIME
    SET @StartOfFinancialYear = CAST(YEAR(GETDATE()) - CASE WHEN @currentMonthAndDay<701 then 1 else 0 end as nvarchar(max)) + '0701'
    SELECT *
    FROM AU.dbo.OINV T0
    WHERE T0.DocDate >= @StartOfFinancialYear
    AND T0.DocDate < DATEADD(yy, 1, @StartOfFinancialYear)
    Many thanks to Faheem for providing the answer to returning only results from the current financial year, in this thread: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2edbe630-faca-4f94-a014-04f5a832f81d/returning-results-that-fall-within-the-current-financial-year?forum=transactsql
    Kind Regards,
    David

Maybe you are looking for

  • Email crash  10.5.7

    Recently received a huge email. Every time I open mail to try and delete it, it crashes. I can pick up my mail on my server, and have permanently deleted offending message there. Searched discussions, created new user account. Still crashes. How do I

  • How to listen to iphone ipod through my car stereo?

    Before the iphone, I had the ipod shuffle. I used the connector with the shuffle to my aux power plug-in and it worked great. This same connector fits the iphone but no music comes through the speakers? I sometimes get loud "cracks" like something is

  • BUG?: unexpected token in connection pane for cursor declaration

    If I declare a cursor with an order clause in the declaration part of a procedure in a package I will get the unexpected token. The code compiles without errors. SQL Developer 15.57. Windows XP SP2 Oracle 10g example: declare procedure test( param in

  • Oracle 11g - External Table Issue SQL - PL/SQL?

    Oracle 11g - External Table Issue? ===================== I hope this is the right forum for this issue, if not let me, where to go. We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04 We are trying to us

  • Can not install Flash player 10

    My husband has downloaded Adobe Flash Player 10 to his user account and everything seems to work properly, but I can not seem to get it to work on my user account.  I have tried to download it and it always says failure to install.  I also get an err