Remove Element does not work

Hi Experts,
I want to loop over a node and remove all elements in this node if they don't match a certain pattern (which needs to be checked by getting the details o these elements).
So looping over the node and checking whether the pattern matches works pretty fine (I've checked by using a counter variable which counts the number of matches and compares to the total size of the node). But removing the elements does not work.
I always get the complete table as the result but not without all those elements I that they'd be removed already. I also check the success status (boolean) of the remove function and it delivers always "true" so it seems to work.
This is the relevant coding:
       for(int c = 0 ; c < wdContext.nodeMatnrlist().size() ; c++){
          wdContext.nodeMatnrlist().moveTo(c);          
          GetMaterialDetails(wdContext.currentMatnrlistElement().getMaterial());          
          if(!wdContext.currentMaterialDetailsElement().modelObject()
.getOutput().getMaterial_General_Data().getCreated_By().equals("BAIV-SS09-21")){
               success = wdContext.nodeMatnrlist().removeElement(wdContext.nodeMatnrlist().getCurrentElement());
               counter++;
any Ideas on this?
Many thanks in advance!
Cheers
Tobias
Edited by: Tobias Fickinger on Sep 4, 2009 7:04 PM

Hi Tobias.
Try this instead:
wdContext.nodeMatnrlist().invalidate();
Regards.
Julio Herrera

Similar Messages

  • Right click clip in sequence to remove attributes does not work?

    Trying to get my old head around the three way color corrector. In the process when I try to right click a clip in the sequence to remove the attributes it does not work. When I do it again the filter square is still ticked. What am I doing wrong? Thanks for your help. The transition from Avid to FCP is not an easy one for me.

    so someone else might be helped, you should link to the good captain's post or explain what you were doing wrong.

  • "Open with Photoshop Elements" does not work

    My picture does not open in Photoshop Elemtens when I use "open with" for a JPEG. The programm starts but no picture opens. What can I do?

    Any JPEG?
    How about other file types?
    See here:
    Files won't open in Photoshop Elements 11
    Re: jpeg files won't open in elements 10

  • Remove device does not work

    Although I can remove it, when iSync starts again the device is still shown. In this case it is Pocket PC, which was a program to connect a Pocket PC to the Mac. I no longer need this.
    I also tried to add a Nokia E90. I d/loaded the plug-in, did a search in bluetooth, and it found the E90 and installed it as a device. However when I try to connect iSync quits.
    The fact I cannot remove the previous device leads me to think that the problem is with iSync.
    Any ideas? TIA

    Your issues don't involve a problem with iSync.
    These instructions no longer appear to be available at Information Appliance Associates support site, but you can do this to remove PocketMac completely from iSync:
    Manually remove PocketMac plugins from iSync in Mac OS X 10.4 or later by…
    • navigating to the iSync application in your Applications folder
    • right-clicking or control-clicking on iSync, then choosing Show Package Contents
    • opening the Contents folder
    • opening the Plugins folder
    • locating the Plugin named PM, Entourage or PocketMac that you want to delete, being sure to leave the other conduit.syncdevice folders alone
    • dragging the folder or folders you want to remove to the Trash, and emptying it
    Why their uninstall option does not perform these steps is beyond me…
    Start with that fix, and then you can address the Nokia 90 issue.

  • Problem: Drag&Drop over HTML-Elements does not work

    Hello everybody,
    I developed some sort of Clipboard, which consists of a canvas, on which you can drag around some customized components. These components consist of a panel, in which there is an mx:HTML-component and a text area.
    The problem is that clicking into the panel-header area and dragging the component around only works as long as I the mouse pointer does not touch the mx:HTML component. This means, that when dragging the component over the region where its own(!) mx:HTML-component is located, the drag action is terminated. When the component is dragged over another components mx-HTML part, the drag action is also terminated.
    Why does this happen?
    If source code is needed, just ask and I will upload an example.
    Kind regards,
    Sebastian

    what if u hit design mode
    and then switch off the design mode
    sometimes this workaround helps
    try contacting the basis people and make sure u havent installed the lates gui or something.
    somethimes during upgrade or so this functionality doesnt work
    i face the same issue.

  • Metadata Preset Edit - changing or removing keywords does not work

    I can't find this documented so I sure hope this is not a duplicate. Sorry if it is.....
    Existing metadata preset contains various fields populated and checked including keywords both populated and checked. When I edit the preset by either a)removing and unchecking the keywords or b)changing the keywords and leaving it checked followed by Done followed by Save to "Save changes to the preset Preset Name? ..... the changes or removal actions are ignored such that if I immediately Edit the preset, the keywords are back the way they originally were.
    Changes to any other fields in the preset are reflected properly upon subsequent edit. Only keywords seem to be "not changeable or not removable".

    You can use this to report a bug:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • My bookmarks tab does not show an "organize bookmarks" choice. Also, going to the site, and clicking on the star and selecting "remove bookmark" does not work. What is the problem?

    I can't think of any more details - what I wrote before sums it up. I used to be able to do this on Firefox and don't understand why I can't anymore.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Deleting cookies, either one at a time or all, does not work; they reappear when I go back to view them. This is a critical privacy problem!

    Removing cookies does not work, either one at a time, or remove all. I tried from history and from the options screen. They appear to go away but when I go back in they are all back again. This is happening in the latest version that was automatically updated.'''bold text'''

    Do you have an extension like TACO (Abine) or TrackerBlock that maintains a set of OPT-OUT cookies?
    * Targeted Advertising Cookie Opt-Out (TACO): https://addons.mozilla.org/firefox/addon/targeted-advertising-cookie-op/
    * TrackerBlock: https://addons.mozilla.org/firefox/addon/trackerblock/
    * Beef Taco (Targeted Advertising Cookie Opt-Out): https://addons.mozilla.org/firefox/addon/beef-taco-targeted-advertising/
    In that case you need to remove such an extension to get rid of those cookies.

  • Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applica

    Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.

    I received no error message. The application was just trying to find applications unsuccessfully.
    I am using MAC OS 10.10.1
    I tried to uninstall the application  but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
    Otherwise I would have to reinstall everything and this would be a pain.
    Thanks for your help.

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • My serial number does not work with Photoshop Elements 12

    I have wasted at least 3 hours of my time with this issue
    Be kind enough to respond and if you do not want tell me to move to an alternative product and refund me
    For the teeth time I bought and paid for a photoshop elements 12 windows for my Mac and obviously in retrospect I made an error downloaded but the serial member does not work
    Please supply a correct serial  number
    Please  respond
    Louwrens
    <Removed by Moderator>

    You need to contact Adobe Support either by chat or via phone when you have serial number and activation issues.
    Here are some links to help make contact:
    http://www.adobe.com/support/chat/ivrchat.html
    http://www.adobe.com/support/download-install/supportinfo/

  • I have an event in my calendar that was sent by someone who does not work for the company anymore and I am reminded 2 times a week. How can I remove it?

    I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?

    Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.

  • I have consolidate my folders related to the video I am in the progress of working on.  Premiere elements does not follow their new location.  How do I syn them back up all at once so premiere doesn't ask me for their location when I open the project

    I have consolidate my folders related to the video I am in the progress of working on.  Premiere elements does not follow their new location.  How do I syn them back up all at once so premiere doesn't ask me for their location when I open the project

    This is the Photoshop Elements forum, not the Premiere Elements forum, located here:
    https://forums.adobe.com/community/premiere_elements
    When you open the project, it should ask you where the first file is located. After you tell it where it is, it should be able to find the rest of them if they are located near the first one.  Then save the file.  If you move the files again, you will have to relink them again.

  • I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    The Game Center app is pre installed and cannot be removed from the device.
    Best thing to do is move it to the last available screen.
    Hold down the Game Center app until all the apps jiggle then sliide the Game Center app to the right from one screen to the next. This requires a bit of finesse, but it's doable.
    Press the Home button one time to stop the apps from jiggling.
    For the Apple ID issue, try resetting.
    Tap Settings > General > Reset > Reset All Settings
    Then try your Apple ID and password for the Game Center app.

  • Better privecy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers?

    Question
    better privacy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers? edit
    Details

    As a temporary workaround, I believe this Adobe management page allows you to clear your "Flash cookies": [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html Adobe - Flash Player : Settings Manager - Website Storage Settings panel] (hosted on macromedia.com -- Macromedia was the original developer of Flash).
    Regarding the script error, if I'm reading the script correctly, it is related to accessing your Flash cookies directory. It seems the publisher's support forum is not currently available for searching, but that might be a good next step.
    In the meantime, could you check whether the script has the correct location for your Flash cookies directory? If you can't access Tool > BetterPrivacy, you could check here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''bpr''' and pause while the list is filtered
    (3) There should be a bolded setting named '''extensions.bprivacy.DataDir''' which looks approximately like the following:
    C:\Users\''yourWindowsUsername''\AppData\Roaming\Macromedia
    Do you have a similar value? If you paste the path used by BetterPrivacy into a Windows Explorer window, does it open? Also, click a couple levels in the folder, can you see:
    Flash Player \ #SharedObjects
    If the value is wrong, right-click the wrong value and choose Reset. BetterPrivacy should update the value the next time you try to access it.
    If the value is blank, you could try inserting a sensible value and see whether that helps.
    Any luck?

Maybe you are looking for