EventFilters: Access to an existing filter to add more forms by eventtype

We have a system in which we previously added the EventFilters et_CLICK and et_FORM_CLOSE, later when in the addon we need to add the filters if we need to filter any extra form for those events it raises an error: "Filter already exists" so we had to acces to the existing filter in order to add the other forms typeex, the problem is it only works if you use indexes...not eventtype or strings...Its possible to access to an existing eventfilter by eventype or string or name or so...?
Example:
In a centraliced function:
EventFilters oFilters = new EventFilters();
oFilter = oFilters.Add(BoEventTypes.et_CLICK);
oFilter.AddEx("OurGenericFormX");
SBO_Application.SetFilter(oFilters);
In addon inicialisation:
EventFilters oFilters = ConsSAP.SBO_Application.GetFilter();
oFilter = oFilters.Add(BoEventTypes.et_CLICK); //this logically throws an error
oFilter = oFilters.Item(BoEventTypes.et_CLICK); //this would be the desired way but throws an error :S
oFilter = oFilters.Item("et_CLICK"); //throws an error too :S
oFilter = oFilters.Item(0); //works but its dangerous as it seems SAP reorders the EventFilters alphabetically (instead of the order you added them)
oFilter.AddEx("AddonForm1");
We know we could make a loop and get the correct eventfilter by oFilter.EventType but this doesnt seem performancewise
Anyone knows how to access to an existing eventfilter by eventype or string or name or so...?

Hi,
I don't know why you are doing this so complicated, but event types are not reordered, it is an enum.
You can find it in SDK Help, just search for BoEventTypes.
Regards
Sebastian
edit: just in addition: you are right, the collection is based on an index starting with 0. You could read out the collection with filters.GetAsXML, then you can see on which index which enum value / event type is listed.
Edited by: Sebastian Kleiner on Apr 12, 2011 3:19 PM

Similar Messages

  • HT5621 I Have followed all the steps and still cant remove iCloud to my existing account and add to the new one, the old email account was changed a year ago and cant get that email plus the password don't work please HELP!!

    I Have followed all the steps and still cant remove iCloud to my existing account and add to the new one, the old email account was changed a year ago and cant get that email plus the password don't work please HELP!

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone".
    You should then change your Apple ID back to its current state, verify it once again, delete the iCloud account from your device and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • How can I access my old iphoto libary on my newer laptop? I have a new iphoto folder on my laptop so I don't want to lose my current photos. I just want to add more.

    How can I access my old iphoto libary on my newer laptop?
    I have a new iphoto folder on my laptop so I don't want to lose my current photos. I just want to add more.

    Do the following:
    rename the old library to something other that iPhoto Library.
    copy the library to the Pictures folder on your new laptop.
    launch iPhoto with the Option key held down and select the old library to open it and convert it to the newer version.
    Note:  if the older version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 on it before opening with iPhoto on your new laptop.
    If you want to merge the two libraries into one library and keep the edited versions, keywords, titles, etc. you'll need to use the paid version of  iPhoto Library Manager to do the merging.

  • Why can't I log into my game center account with my existing login to add my apple account?

    Why can't I log into my game center account with my existing login to add my apple account?

    Errr I'm having the same issue too, but it's my son's iPod and he's lost all his game levels, like DragonVale too He is not impressed!

  • How to add new row and update existing rows at a time form the upload file

    hi
    How to add new row and update existing rows at a time form the upload file
    example:ztable(existing table)
    bcent                      smh            nsmh         valid date
    0001112465      7.4                       26.06.2007
    0001112466      7.5                       26.06.2007
    000111801                      7.6                       26.06.2007
    1982                      7.8                       26.06.2007
    Flat file structure
    bcent                       nsmh         valid date
    0001112465     7.8     26.06.2007  ( update into above table in nsmh)
    0001112466     7.9     26.06.2007  ( update into above table in nsmh) 
    000111801                     7.6      26.06.2007 ( update into above table in nsmh
    1985                      11              26.06.2007   new row it should insert in table
    thanks,
    Sivagopal R

    Hi,
    First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
    Then :
    Loop at it.
    *insert or modify as per your requirement.
    Endloop.
    Regards,
    Srilatha.

  • Any ideas on a filter to add water ripples to a font?

    Any ideas on a filter to add water ripples to a font?
    this is the example:
    http://logofaves.com/wp-content/uploads/2009/07/loc-m.jpg
    thanks in advance!

    You might try scribble
    I di this with live text two copies and two different clipping masks.
    You would group them after applying the clipping masks.

  • I have a MacBook Air and recently downloaded the new operating system. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it?

    I have a MacBook Air and recently downloaded the new operating system, 10.10 OSX Yosemite. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it to the I Photo slideshow?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • How to Apply a Newly Created Access Policy on Existing Users in OIM????????

    How to Apply a Newly Created Access Policy on Existing Users in OIM?
    When the rule is getting failed the user is getting removed from the group but resource is not getting revoked. This is happening only for the old uses..for the users which i created now it working fine..i mean its resource is getting revoked.
    (Retrofit access policy" is checked on the Access Policyand Revoke if not longer applied is checked.)
    For the old users i see the POl_Key is null, for new users i see a value '10'. So i updated the pol_key for old users same as it got generated for new users '10'.
    i even updated the form version too but still revoke doesn't work.
    I cant go for the below approach..
    In order to apply a newly created Access Policy on existing users, one has to make sure that:
    1) "Retrofit access policy" is checked on the Access Policy.
    2) Then run the "Set User Provisioned Date" Schedule task to apply the Access Policy on the existing users in OIM.
    Note: After 9.1.0.1 BP03 the access policy execution has been moved to a new scheduled task "Evaluate User Policies" as mentioned inDocument 839368.1 :How to Use Access Policies to Provision with Groups.
    Is there any other approach i can try.. if you have any idea please reply me asap
    Thanks..

    Thanks for the reply kevin..
    We decided to try the Schedule task (Set User Provisioned Date).
    But i see one problem here after seeing this post in metalik --> Can Access Policies Manage The Life-cycle Of Users Created via Reconciliation? [ID 1136540.1]
    According to this post Access Policies framework does not manage users who are obtained either through trusted reconciliation or target reconciliation.
    Is there any custom way to achieve this??
    How does the access policy framework revoke resource work? (revoke if no longer applies)??
    Edited by: IDMuser19 on Jun 21, 2011 11:43 PM

  • Downloading the latest iTunes software to my PC without getting an error message and losing access to my existing programme. anyone else getting this problem?

    I get the message that the latest software version is available, when I download it I get an error message and lose access to my existing programme. The only way I can use iTunes again is to restore my PC to before the download. Any ideas out there?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Request online access to your existing individual account

    Hi,
    Can anyone please give the steps to create registration process of - 'Request online access to your existing individual account'
    What is the information required for the registration process, as i want to raise Service Request using without Product (using the SR# or Order No)
    But am not able to create the Account / Register the Account giving the following error: "The specified Order Number is not recognized by the system "
    Can anyone give the steps to raise Service Request without Product (using either SR# or Order No)
    Thanks

    Thanks for your reply.
    In the existing environment there are two AD sites, Two AD and Two exchange server 2010 (ALL roles) are in 1st AD sites. And another one AD and Two exchange server 2010 (ALL roles) 2nd AD sites.
    user cannot facing any problem to login using owa and outlook on 1st AD sites. but user when trying to login owa/outlook on 2nd sites, they facing problem.
    The Error "A server configuration change is temporarily preventing access to your account. Please close all Internet Explorer windows and try again in a few minutes. If the problem continues, contact your helpdesk"
    Need suggestion regarding this issue. please suggest in details how to resolve this issue.
    If you need more information i will provide you. Please suggest. I'm waiting for the reply.
    Thanks..

  • Suggestion to Add more filter in "Change List filt...

    Hi,
    Please provide the more filters in "Contract List Filter" currenlty there is only one filter for "Online", In this "Online" it covers all "Online", "Away" and "Busy" but I want to add more filters related to Online for example:
    Online - Online
    Onlne - Away
    Online - Busy(Do Not Distrub)
    If I choose "Online - Away" then Skype will show me onlye Skype "Online but Away status".
    Thanks, 
    Iftikhar

    Thanks Gyan.
    Below is the code for creating list box :
    OAApplicationModule am = pageContext.getRootApplicationModule();
    OAViewObject listVO=(OAViewObject)am.findViewObject("LocationsLOVVO");
    OAWebBeanFactory list1 = pageContext.getWebBeanFactory();
    OADefaultListBean list = (OADefaultListBean)list1.createWebBean(pageContext, OAWebBeanConstants.DEFAULT_LIST_BEAN, null, "LocationsList");
    list.setListViewObjectDefinitionName("oracle.apps.irc.lov.server.LocationsLOVVO");
    list.setListValueAttribute("LocationCode");
    list.setListDisplayAttribute("LocationCode");
    list.setSize(6);
    list.setMultiple(true);
    list.setName("Location");
    OAMessageLayoutBean listboxbean = (OAMessageLayoutBean)webBean.findChildRecursive("AplmessageLayout");
    listboxbean.addIndexedChild(list);
    But it is not inserting all the location values in the list.
    Regards,
    Gaurav.

  • Filter value adds quotation to my set value

    This is happening to me from time to time and I am curious if it is a known bug. (SQL2012)
    I created a filter on my tablix to filter certain text values from my dataset. For example, I have a device_family column and this is a text value. Sometimes it is a family A sometimes B, C and so on.
    On my tablix, I created a filter for the family column and used "IN"; and the expression is as follows: "A", "B", "C"
    Note: I did not use any "=" at the beginning.
    From time to time, this filter expression turns into this: """A""", """B""", """C"""
    This is affecting my report. I can fix it manually by going under the tablix and fix the properties but even if I save my work, there is no guarantee that it will not happen again.
    Is this a bug or I am doing something wrong? Thanks,

    Hi Masavran,
    Based on your description, you are experiencing the problem that the Filter values add quotation automatically whiling add a filter to the “Device_fanmily” column, right?
    I have tested it on my local environment, we can reproduce this issue. Based on my research, there are two workarounds to avoid this issue. One is using Split function on the value textbox. Another one is using parameter on the value textbox. The steps below
    are for your reference.
    Method One
    Replace the filter value(“A”,”B”,”C”)  by using an expression
    =split(“A,B,C”,”,”)
    Method Two
    Right click the Parameters in the Report Data to select the “Add Parameter”.
    In the Name and Prompt textbox type: DeviceFamily.
    Select the “Allow multiple values” and “Hidden” check box.
    In the left pane, Click “Available Values” to add available values for the Parameter.
    In the left pane, Click “Default Values” to add default values for the Parameter.
    Right click “Tablix Properties” and select “Filters”.
    Click Add and In the Operator dropdown-list select “In” ,In the Value textbox type:[@DeviceFamily].
    If you still have any question, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Create a resource filter and add/redefine a property value to a resource?

    Hello,
    I need an advice how to create a resource filter and add a property to a resource. I already created the project and after creating myfilter.java automatically by using the "Service, filter and scheduler taks generation" in my developer studio, there's a filter() method where the filtering has to be implemented. Here I need an example how to read the resource path and add or redefine a property value. (In this case the property value depends on the resource path) So I also need to know, how to get the ressource path. Can anybody please support me with some example code?
    Thanks in advance
    Cheers
    Steffen

    Hi Jaiswin,
    I need to enter 3 formula:
    Setup
    Production
    Teardown
    In PP this is standard but in PP-PI Resource I only see one field 'other formula'.
    How do I enter more then one formula?
    Can it be done in PP-PI?
    Thanks
    Stuart

  • SharePoint: Workflows - Accessing A Pre-existing Site From Visual Studio

    Is there away to create and publish a custom workflow from Visual Studio to an existing SharePoint site which was created using SharePoint Designer? If so, how do I access a pre-existing site from Visual Studio?

    If I've understand you correctly, you have developed a SharePoint Designer (SPD) workflow and now you want to export it in Visual Studio? If so, please take a look at the link:
    http://msdn.microsoft.com/en-us/library/ee231580.aspx . Otherwise can you please explain your requirements elaborately?
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • In my iPad 3 iOS 6 the icons do not vibrate . How I can remove apps. And the ( lock access code ) not exist in setting / general

    In my iPad 3 iOS 6 the icons do not vibrate . How I can remove apps. And the ( lock access code ) not exist in setting / general

    Did you set any restriction?
    Settings>General>Restriction

Maybe you are looking for

  • What is a claim form, says 150 operator

    I have recently been in touch with your customer care operatives, who have, on May 8th 2013 and June 13th, told me that they have sent me a claim form to enable me to claim compensation from you for services NOT provided. I also contacted your custom

  • How to get a "blank" answer when using "if" statements in a table

    I'm using a table for an invoice where an item is ordered, but more may be shipped than ordered. I have the formcalc expression figured out where I can get a 0 in the "backordered" column if the amount shipped is more than the item ordered, but I can

  • Replenishment in SAP Retail - Article with multiple UOM/EAN

    Dear all, I am using SAP Retail. I have an article with multiple unit of measurement as well as multiple EAN. A good example of this article will be canned soft drinks. It comes in pack size of each, 6, 12, 24. I have only one article number for this

  • Is that adapter 1394 the same as firewire or i-link?

    Hello, i have a neo2 and i´m trying connect my mini dv video camera to the back conector with a firewire cable but i can´t find the camera or i don´t know how to do it. Anyone of you can tell me where can i found information in order to configure it.

  • Placing Images Infront of Objects

    So I want to place my thumbnail gallery infront of a giant black bar that I have which encases the images. this black bar was created using the rectangle tool and then filled in with black and opacity brought down to 30%, then it is placed on top of