How to create a listener using the new MDM API

Does anyone have an example on how to create a addrecord listener using the new MDM API?

Refresh!
Hi all,
Looking for some sample codes on the same
Best regards,
Arun prabhu S

Similar Messages

  • How to create a partition using the free space of an existing[SOLVED]

    Hi Guys,
    Since I could not install fifa 09 using wine on linux, I need to create a partition where I can install windows first in order to install fifa 09 on it. How can I create a partition using the rest free space of my , for example, /home partition?How can I do it in a secure way (meaning without doing something to my existing archlinux installation files and system files) ?
    Thanks.
    Please see this post:
    https://bbs.archlinux.org/viewtopic.php?id=109402
    Last edited by Archie_Enthusiasm (2010-12-08 19:23:46)

    Use Parted Magic. But you *should* backup any important files just in case, regardless of method you use. You never know. Someone could unplug your computer, a power surge might happen, etc. A cousin of mine actually did something similar while I was gaming, the extension cord has a red button which he "accidentally" pressed. I would've cracked his skull had he done it while resizing a partition.
    Anyway, the partitioning scheme should be the first thing you do when you decide go this route (dual booting). I remember about a year ago I forced myself to use Linux by formatting the entire drive to ext4, except for the 2 GB + 20 GB ntfs partitions. It was what kick-started me on this path. Here's my partitioning scheme for both computers, maybe you'll get an idea and do something similar:
    Older computer:
    2 GB ntfs - MicroXP
    8 GB ext4 - Arch Linux + Home dir (to keep the dot files organized in one place)
    20 GB ntfs - games partition
    Rest is for media, formatted as ext3 with inode 128 (so it can be loaded as Read-Only in Windows too via Ext2fsd so they won't be affected in case of a virus infection)
    New computer:
    20 GB Windows 7
    10 GB Arch Linux + home dir
    50 GB games partition
    Rest of the space is ext4 mounted to /media
    Note that they're all primary partitions for remembering easier (sda1, sda2, sda3, sda4) instead of a combination of primary and extended which would probably look like sda1, sda5, sda6, sda7, etc.
    Last edited by DSpider (2010-12-03 13:02:26)

  • How To play Music File's From computer 2 FireFox By using the New "Audio API", Audio Visualizaion 2D And 3D

    i like all the Feature's of the New API.
    i would like 2 Suggest Use the 3d and other's on '''FireFox API Demo Slide Show''' i would like 2 Use it for Music files and maybe Video's, i would use it directly on my Computer. i Dont know how 2 that, i like listen and watch "Audio Visualization 2D and 3D" so how do i play music from my Computer?
    and when the beta gonna come out on mac?

    Hi
    The value of the Channel Strip volume etc is not stored within the C Strip setting, as you have discovered.
    If you really wanted, you could add a Gain plug to the strip, with it set to give the correct output level with the Fader set to 0
    (Or just set the fader manually in MS)
    CCT

  • How to create iSCSI target using the entire drive?

    This sounds silly, but after setting up the DL4100 in RAID 5, I could not assign the entire 11.89TB to an iSCSI target... Only integer numbers seem to be the valid input. And the only choice of TB or GB offered no help because I could not enter: 11890 GB either?! What am I missing?

    Thanks to all who have responded....
    Here's my take: 4TB x4 in RAID 5 = 11.89TB but via iSCSI creation will result in 0.89TB unallocable to iSCSI due to the GUI disabling non-interger values (ie: no decimal points). That is 890GB of storage that is supposedly used for firmware upgrades, logs, etc?! 
    Snooping around I noticed that the validation is only performed via javascript and a quick re-POST to the unit of the params can trigger modification/creation of a non-integer iSCSI volume sizes. Please note that you can only grow volume sizes and not shrink them! Below is a walk-thru of how to do this:
    Disclaimer: *WARNING: USE AT YOUR OWN RISK*
    1) Create the iSCSI volume as per normal but at the integer value less than what you intend (eg: if you wanted 1.5TB, create 1TB) then wait for the iSCSI volume to be created.
    2) Use a web browser with debugging turned on and capturing traffic. For my example I am using Firefox and hit F12 to fire up the debug tool. Pick "Network" and you will see Firefox start picking up all traffic to the DL4100.
    3) Go into the iSCSI volume and choose "Details" to modify it. Put the current size as the modified size and click "Apply". Look in the list of messages to locate a POST message "iscsi_mgr.cgi" that has a Request body with a "size" parameter and select that to be resent.
     4) In this copy of the same message, look in Request Body and the list of parameters being passed back to the unit. You should find one of the parameters called "size". This value is sent to the unit in GB... Change the value to a GB value that you desire (eg: 1TB would appear as "1000", so you can change it to "1500" for 1.5TB) and then re-POST this POST message back to the unit.
    5) Wait for the update to transact and verify that your iSCSI volume has indeed been resized to a "non-Integer" TB value.
    That's it! I hope this helps others who have been trapped by this limitation. Please be mindfull not to allocate all your dive space since as Bill_S has mentioned, some space is required by the system for its own housekeeping operations.
    Good Luck!

  • How to create a collection using the Reader for PC or Reader for Mac software.

    Solved!
    Go to Solution.

    A collection is a custom set of books and other items that you create from items on the Reader or the library of the Reader™ for PC or Mac® software. It is a unique and convenient way to organize your items. You can organize and personalize your content by creating collections by subject matter, date, genre or anything that best suits your purpose.
    Create a collection:
    Click the My Library tab.
    On the category bar, click Collections.
    Click the Create New Collectionbutton.
    Enter a collection name and then press Enter on your keyboard. A new collection will be added to the Collections list.
    Add books to the collection:
    Once you have created the collection, click the My Librarytab.
    On the category bar, click to select the book you want to add to the collection. Multiple books can be selected by holding down the Ctrlkey while clicking on the books.
    With the book(s) selected, at the bottom of the screen, click the Add to Collectionbutton.
    From the menu that pops up, click to select the collection you want to add the book(s) to.
    NOTE: The next time you sync your Reader Digital Book, the collection and its contents will be added to your Reader device.

  • I have some unfinished projects in an old iMovie format. How can I finish them using the new iMovie? When I open them it says it doesn't support powerPC format

    I have some unfinished project in an old iMovie format. If I try to import them to the new iMovie to finish them it says I can't because it does not support powerPC formats. How can I save them???

    Right click on the icon and choose "Show Package Contents".
    Drill down through the folders to find your original source clips (probably .dv files). Drag them to a new Desktop folder to import them into iMovie.

  • How to create a query using the requirements given ? step by step  plz

    REQUIREMENTS
    1)     Model- Use multiprovider ZXT_MXXX as infoproviders
    2)     Query- copy ‘ZXT_MXXX_QYYY’ as head start
    <b>b.     Fields for output</b>
    1.     Hourly Rate-- I know its dataflow .It comes from infotype IT yyyy
    Program name MPyyyy00 and query name QXXXX-XXXX
    So can I Get this feild to Query Designer
    2.     CC /WBS/IO on ITyyyy--?
    I know dataflow .they come from infotype IT yyyy
    Program name MPyyyy00 and  3 different fields.
    So how can I Get cc/wbs to Query Designer?
    Can anyone suggests steps to do it plz..

    Check the<b> ZXT_MXXX</b>  multiproivder is based on what all infoproviders..
    Check in your infoproviders..for this <b>CC /WBS/IO</b>field..
    If it is avialable in the underlying infoproviders, it should be available for your reporting on multiprovider..
    Regards
    Manga

  • I have a G4 MacBook Pro and I just updated Firefox; it will not load the new Firefox and gives me an error code 10661; how do a load and use the new updated Firefox?

    I am currently using Firefox 3.6.9
    My operating system is Mac OX 10.4.11
    I have downloaded the most recent update for Firefox and it won't load.
    How do I load this recent update?

    See also:
    *http://kb.mozillazine.org/Firefox_crashes
    *http://support.mozilla.com/kb/Firefox+crashes+when+you+open+it
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to search with multiple constraints in the new java API?

    I'm having a problem using the new MDM API to do searches with multiple constraints.  Here are the classes I'm trying to use, and the scenario I'm trying to implement:
    Classes:
    SearchItem: Interface
    SearchGroup: implements SearchItem, empty constructor,
                 addSearchItem (requires SearchDimension and SearchConstraint, or just a SearchItem),
                 setComparisonOperator
    SearchParameter: implements SearchItem, constructor requires SearchDimension and SearchConstraint objects
    Search: extends SearchGroup, constructor requires TableId object
    RetrieveLimitedRecordsCommand: setSearch method requires Search object
    FieldDimension: constructor requires FieldId object or FieldIds[] fieldPath
    TextSearchConstraint: constructor requires string value and int comparisonOperator(enum)
    BooleanSearchConstraint: constructor requires boolean value
    Scenario:
    Okay, so say we have a main table, Products.  We want to search the table for the following:
    field IsActive = true
    field ProductColor = red or blue or green
    So the question is how to build this search with the above classes?  Everything I've tried so far results in the following error:
    Exception in thread "main" java.lang.UnsupportedOperationException: Search group nesting is currently not supported.
         at com.sap.mdm.search.SearchGroup.addSearchItem(Unknown Source)
    I can do just the ProductColor search like this:
    Search mySearch = new Search(<Products TableId>);
    mySearch.setComparisonOperator(Search.OR_OPERATOR);
    FieldDimension myColorFieldDim = new FieldDimension(<ProductColor FieldId>);
    TextSearchConstraint myTextConRed = new TextSearchConstraint("red",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConBlue = new TextSearchConstraint("blue",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConGreen = new TextSearchConstraint("green",TextSearchConstraint.EQUALS);
    mySearch.addSearchItem(myColorFieldDim,myTextConRed);
    mySearch.addSearchItem(myColorFieldDim,myTextConBlue);
    mySearch.addSearchItem(myColorFieldDim,myTextConGreen);
    the question is how do I add the AND of the BooleanSearchConstraint?
    FieldDimension myActiveFieldDim = new FieldDimension(<IsActive FieldId>);
    BooleanSearchConstraint myBoolCon = new BooleanSearchConstraint(true);
    I can't just add it to mySearch because mySearch is using OR operator, so it would return ALL of the Products records that match IsActive = true.  I tried creating a higher level Search object like this:
    Search topSearch = new Search(<Products TableId>);
    topSearch.setComparisonOperator(Search.AND_OPERATOR);
    topSearch.addSearchItem(mySearch);
    topSearch.addSearchItem(myActiveFieldDim,myBoolCon);
    But when I do this I get the above "Search group nesting is currently not supported" error.  Does that mean this kind of search cannot be done with the new MDM API?

    I'm actually testing a pre-release of SP05 right now, and it still is not functional.  The best that can be done is to use a PickListSearchConstraint to act as an OR within a field.  But PickList is limited to lookup Id values, text attribute values, numeric attribute values and coupled attribute values.  It works for me in some cases where I have lookup Id values, but not in other cases where the users want to search on multiple text values within a single field.

  • I am trying to create mobile pages using the steps file new new document page from sample mobile starters jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I

    I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I acquire these options?

    You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
    https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
    Or roll your own with ThemeRoller
    http://themeroller.jquerymobile.com/
    Nancy O.

  • Me and my partner are currently using the same apple id and have no space left on our devices. We are currently waiting on the iphone 6 plus to arrive and don't know how to transfer all data to the new phones.

    Me and my partner are currently using the same apple id and have no space left on our devices. We are currently waiting on the iphone 6 plus to arrive and don't know how to transfer all data to the new phones.?

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • How to reference a class without using the new keyword

    I need to access some information from a class using the getter, but I don't want to use the new keyword because it will erase the information in the class. How can I reference the class without using the new keyword.
    ContactInfo c = new ContactInfo(); // problem is here because it erases the info in the class
    c.getFirstName();

    quedogf94 wrote:
    I need to access some information from a class using the getter, but I don't want to use the new keyword because it will erase the information in the class. How can I reference the class without using the new keyword.
    ContactInfo c = new ContactInfo(); // problem is here because it erases the info in the class
    c.getFirstName();No.
    Using new does not erase anything. There's nothing to erase. It's brand new. It creates a new instance, and whatever that constructor puts in there, is there. If you then change the contents of that instance, and you want to see them, you have to have maintained a reference to it somewhere, and access that instance's state through that reference.
    As already stated, you seem to be confused between class and instance, at the very least.
    Run this. Study the output carefully. Make sure you understand why you see what you do. Then, if you're still confused, try to rephrase your question in a way that makes some sense based on what you've observed.
    (And not that accessing a class (static) member through a reference, like foo1.getNumFoos() is syntactically legal, but is bad form, since it looks like you're accessing an instance (non-static) member. I do it here just for demonstration purposes.)
    public class Foo {
      private static int numFoos; // class variable
      private int x; // instance varaible
      public Foo(int x) {
        this.x = x;
        numFoos++;
      // class method
      public static int getNumFoos() {
        return numFoos;
      // instance method 
      public int getX() {
        return x;
      public static void main (String[] args) {
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ();
        Foo foo1 = new Foo(42);
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ("foo1.numFoos is " + foo1.getNumFoos ());
        System.out.println ("foo1.x is " + foo1.getX ());
        System.out.println ();
        Foo foo2 = new Foo(666);
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ("foo1.numFoos is " + foo1.getNumFoos ());
        System.out.println ("foo1.x is " + foo1.getX ());
        System.out.println ("foo2.numFoos is " + foo2.getNumFoos ());
        System.out.println ("foo2.x is " + foo2.getX ());
        System.out.println ();
    }

  • How do I share tabs between my different Firefox installations using the new Firefox Accounts system?

    I am using Firefox Nightly (30.a1, 2014-02-18, x64) on my laptop computer (Windows 8.1 Pro x64) and I was using Firefox Beta on my Nexus 5 (Android 4.4.2). Recently, Mozilla announced the new Firefox Accounts system (which is replacing the old Firefox Sync Account) and I created a Firefox Account for my laptop Nightly installation. Since the new Firefox Account doesn't work with the old Firefox Sync Account, I replaced my Android installation of Firefox Beta with Firefox Nightly and signed into Firefox Account on my Android. However, when I attempt to send a tab from my Android installation to my laptop installation using the "Share to Nightly" intent, Nightly asks me to set up a Sync account, which is impossible to complete in my laptop Nightly installation. I've tried replacing my Android Nightly installation with an Android Aurora installation, but the same problem occurs.
    What's worse is that even with both my laptop and Android installations signed into the same Firefox Account, I cannot see any information being synced between the 2 installations. No history is being shared, and I cannot see the open tabs list from the other device. I cannot pass tabs between my phone and my laptop, which is something I used every week as I visited websites and read my RSS feeds on my phone. Does anyone know how to share tabs using the new Firefox Accounts? Does anyone know why Firefox Accounts does not seem to be syncing data between my 2 installations?

    Unfortunately with further investigation, Roland informed me that share tab was removed[https://bugzilla.mozilla.org/show_bug.cgi?id=965811]

  • We used to be able to sort by multiple columns/rows at once by right clicking on the header and choosing show more options-how do we do that in the new Numbers?

    We used to be able to sort by multiple columns/rows at once by right clicking on the header and choosing show more options-how do we do that in the new Numbers?  It doesn't appear anywhere.  Do I now have to sort massive tables by each column one at a time now?  Also there used to be an easier way to merge/unmerge cells without me having to go to the table menu each time.  Am I missing something?

    Multiple column sort is a missing feature in the new version.  Hopefully soon to return. You can do a multicolumn sort by sorting one at a time in reverse order of importance.
    For merging and unmerging cells, I select the cells and right click to bring up the contextual menu. Merge and unmerge are on the menu.  You could also create keyboard shortcuts for Merge Cells and Unmerge Cells in the Table menu.

Maybe you are looking for

  • Looking for Help to Locate my Itunes Library

    I had Itunes installed on a laptop who's mother board fried. I had purchased songs and ones I had uploaded from cd's. I'm using an old laptop we had as a spare and installed Itunes, authorized the computer and imported the library. Trouble is, the on

  • Webutil_c_api

    I have problem trying to run the webutil demo wu_test.fmb (downloaded from otn.oracle.com). I had gone through the WebUtil Familiarization Manual step by step and (hopefully) properly set up WebUtil per instructions. When I ran the demo form (wu_test

  • How to set a room part as default in a room template?

    Hi, Can you please tell me how to configure a room part as the default one for a room template. The requirement is that this room part must be the first one to be opened when a room of the specific template is opened inside collaborations. NW7.0 . Pl

  • CS5 Master Collection Fails to Initialize

    Hi,      I am trying to install CS5 Master Collection trial on Mac OSX 10.6.3 but it fails as soon as I double click "Installer.app". I message box pops up saying "Installer failed to initialize. Please download Adobe Support Advisor to detect the pr

  • Adding complicated selections to Eclipse Link CriteriaBuilder ?

    Hi all, Can any body suggest how to add select case when to_char(trunc(TO_DATE ('03-APR-2015','DD-MM-YYYY'), 'mm'), 'FMDAY') = 'SUNDAY' then to_number(to_char(TO_DATE ('03-APR-2015','DD-MM-YYYY'), 'W'))+1              else ceil((to_char(TO_DATE ('03-