Mapping issue - Remove Duplicates

Hello,
I want to remove the duplicate nodes. Below is the issue:
Input Structure:
MainNode   0..n
--SubNode  0..n
key
Val
Output Structure:
MainNode 0..n
--Subnode 0..n
key
Val
Now the example input:
<MainNode>
<subnode>
<key> 1001 </key>
<val< 1 </Val>
</Subnode>
<subnode>
<key> 1002 </key>
<val> 2 </val>
</subnode>
<subnode>
<key> 1001 </key>
<val> 1 </val>
</subnode>
Output should be:
<MainNode>
<Subnode>
<key> 1001 </key>
<val> 1 </val>
</subnode>
<subnode>
<key> 1002 </key>
<val> 2 </val>
</subnode>
i.e., it should remove the duplicate keys.
I tried as below, but doesnot work:
key --> removeContext --> Merge userdefinded function -->Subnode
Merge:
public void merge(String[] key, ResultList result, Container container) {
HashSet hs = new HashSet();
for(int i = 0; i < a.length; i++) {
    hs.add(a<i>);       
Iterator it = hs.iterator();
while(it.hasNext()) {
    String val = it.next().toString();
    result.addValue(val);
    result.addContextChange();
Any other solution?

Hi laxmi,
  First try to sort those values by Key using Sort and collapse context so that when sorted all the similar elments group together then apply collapse context so that only the first repetition (1001) will be considered .Then use split by value (on change) and map .Try to think to do using predefined function SORT.
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
Thanks,
Ram.

Similar Messages

  • Help required on mapping to remove duplicate entries

    Hi all experts,
    I need some help in mapping. I am new to this tool. How would I remove duplicate entries in source payload? My structure is as follows
    Message Structure
    <List> 1-1
    <ParentNode> 0-unbounded
    <Child1> 0-1
    <Child2> 0-1
    Source:
    <List>
         <ParentNode>
              <Child1>PK1</Child1>
              <Child2>SomeValue1</Child2>
         </ParentNode>
         <ParentNode>
              <Child1>PK1</Child1>
              <Child2>SomeValue1</Child2>
         </ParentNode>
         <ParentNode>
              <Child1>PK2</Child1>
              <Child2>SomeValue2</Child2>
         </ParentNode>
    </List>
    Target I would like:
    <List>
         <ParentNode>
              <Child1>PK1</Child1>
              <Child2>SomeValue1</Child2>
         </ParentNode>     
         <ParentNode>
              <Child1>PK2</Child1>
              <Child2>SomeValue2</Child2>
         </ParentNode>
    </List>
    Any help?
    Thanks so much all

    Hi,
    Please note that in my reply I asked you to map ParentNode with <Child1> Please see the below.
    <Child1>-->RemoveContext Node function>Split by Value(set the property as on value change)->CollapseContext---<ParentNode>
    Secondly: introduce split by value(for each value ) after collapse context for child1 and child2. as shown below.
    <Child1>-->RemoveContext Node function>Split by Value(set the property as on value change)->CollapseContext>Split by value(for each value)----</Child1>
    <Child2>-->RemoveContext Node function>Split by Value(set the property as on value change)->CollapseContext>Split by value(for each value)----</Child2>
    it will surely work,

  • Issue removing duplicate mailboxes from E71

    SEVEN was not working on my E71 so I uninstalled and reinstalled the program. My gmail account is now working but I have 4 Gmail mailboxes, one that is operational and three duplicates that are empty, inactive and that I can't see how to delete. If I go to SEVEN program menu then I can only see one account. If I go to Messaging there are 4 mailboxes.
    I have tried Messaging>Settings>Email then highlighting the mailbox but i only get the options Edit,Help or Exit so I can't delete.
    I have also uninstalled SEVEN and restored factory settings but the mailboxes remain, only now they have question marks next to them rather than the gmail logo. Now when I go to Messaging>Settings>Email they don't show up at all. How on earth am I supposed to remove them?
    This is driving me crazy, If anyone can help I would GREATLY appreciate it.

    I had the same problem on my Nokia E71, with 4 ghost accounts that I couldn't delete after installing System SEVEN - I spent a good couple of days trying to sort it, then I found the following fix (from kozjegyzo at the Seven forum http://community.seven.com/forum/viewtopic.php?t=4108) which worked, after doing it 4 times (once for each ghost account):
    kozjegyzo wrote: 
    Hey All! 
    I'm happy to announce that I have a simple and fast solution for the problem above. I had the same trouble with ghost accounts littering my "Messaging area". I have a Nokia E71, but this solution should work on all Symbian devices (s60 for sure) since they are all set up virtually the same. Follow these steps and you'll be free of you ghosts (accounts anyway, the ones in your heads I can't do anything about sorry)
    1. Shut Seven down: - go into the app, then - Options-> Pause-> One day. - after the above - Options-> Exit. Seven is shut down now 
    2. Remove Seven - go to - Installations-> App Manager - select System SEVEN - Remove Seven should be removed 
    3. Complete removal Now if you've been around computers long enough, specially Windows systems you'll probably know that if you remove a software, it will leave files on your drive. It's just in case you wanna re-install it or if it's not a free software then so you can't install an other trial once you've gone 30 days. Essentially this is the same with some software in the mobile world as well. Seven is like this, it will leave file structure behind, so if you re-install everything will be as it was when you deleted it. This is why you get ghost accounts. 
    To remove this file structure and wipe the phone clean of Seven this is what you do: a; connect phone to a computer via bluetooth or cable and browse files or b; use the file manager on the phone itself to browse files In any case you need to find this (on Nokia phones): - c:/data/others/ - in here you'll see a folder called "SEVEN" - delete folder "SEVEN" Exit file manager (unhook phone from computer) 
    4. Reboot phone 
    After this your phone will be free of System SEVEN. 
    You can now re-install System SEVEN and you will NOT have any leftover accounts. 
    Note: I did this on a Nokia phone, but other phones should have a "SEVEN" folder somewhere left over after normal removal of System Seven. So if you have a different phone, search for it and delete it if you wanna get rid of your ghost accounts. It's best to do this via computer connection, because some phones prohibit deleting files from system folders. I used bluetooth and I have Ubuntu 9.10 running on my computer...
    - Novi

  • Mapping Issue for Synchronous interface

    Hi Experts,
    We are facing the below issue in a SOAP to RFC synchronous scenario.
    Data from WS is successfully uploaded to RFC via RFC request. However we face the below issue when the RFC response is received.
    com.sap.aii.utilxi.misc.api.BaseRuntimeException:Character reference &quot;&amp;#00&quot; is an invalid XML character.
    We receive this error particularly when one field has the below values.
    <FIELD> X 20140812201409101211 1 USD TP 00000000 </FIELD>
    When we click on view source the same field shows as below:
    <FIELD> &#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;X  20140812201409101211            1             USD     &#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#19;TP&#12;     00000000&#00;&#12;&#00;&#12;&#00;&#12;&#00;&#00;&#12;&#00;&#00;&#12;</FIELD>
    Even while pasting the same source xml from view source in Message Mapping we get the below error:
    Unable to display tree view; Error when parsing an XML document (Character reference "&#00" is an invalid XML character.)
    How is a simple value getting converted to some huge value when we open it using view source.
    Please help me resolving the same.
    Regards,
    Shai

    Hi Shaibayan
    looks like there is inconsistency in the RFC maintained in ECC to PI as non unicode.
    In RFC channel check the flag for Unicode.
    Or
    Write a java mapping to remove the special characters
    Regards
    Osman

  • EA4500 – Smart Wi-Fi interface and Windows Network Map issues

    I purchased this Router about 2 weeks ago as a phased upgrade of our Home Network, primarily to enhance media streaming. It has the latest firmware preinstalled from the factory. Prior to the purchase and installation of the EA4500 Router I replaced my old Motorola SurfBoard SB6120 DOCSIS 3.0 Cable Modem with a Motorola SurfBoard SB6141 DOCSIS 3.0 Cable Modem. My old Linksys E2000 Router worked perfectly with the SB6141, with the exception that the E2000 wasn’t IPv6 enabled, but does have 10/100/1000Base-T Ethernet (RJ-45) and Internet ports.
    The EA4500 has been installed for about 10 days and seems to have improved local network speeds and I don’t seem to be having any Internet connectivity issues. However, there are some disturbing issues with the EA4500 and the AE3000 I purchased. There are 11 devices connected through the Router; a Dell Desktop (wireless with the AE3000), a Dell Desktop (Ethernet), a Dell Laptop (wireless), 2 Canon Printers (1 Ethernet and 1 Wireless), 2 Western Digital 1TB MyBookLive Network Drives (both Ethernet), a WD TV Live Streaming Media Player (wireless), an Apple TV media player (wireless), an iPad (wireless), and an Android Smartphone (wireless).
    Issue 1 – The Linksys Smart Wi-Fi interface appears to be unreliable at times!!! I’ve read about this problem here on the Community involving the EA6500, so I don’t know if this is a Linksys Server issue, as suggested in a few responses, or a bug in the Router firmware, or defective hardware. However, when the interface locks up, it can’t be accessed from a wireless or wired connection. Usually, powering down the Router and then powering it back up and restart will allow it to function again. However, at times before the interface completely locks up it shows either just a white screen or the security screen will show no firewall features enabled. This is a little scary, so I’ll do a complete reset and setup; this is becoming a pain in the rear!!!!! Is there any hope for this being fixed, in this Router, not the next generation??????????
    Issue 2 - All of my network devices show up in the Router’s Device List. Except for the Apple devices they also show up, when they are online, in Windows 7 Explorer under Network and when you click on Network they are correctly displayed as Computers, Media Devices, Network Infrastructure, or Storage. However, when you click on “Open Network and Sharing Center” and then click on “See Full Map”; it fails with the response “Windows cannot create the network map. Responses from other devices on the network are delayed or there is an incompatible router on the network”; no device map is shown. When I follow the link for more information, the only thing that stands out is “A device on the network, such as a hub or switch, is not working properly or is not compatible with the Link Layer Topology Discovery (LLTD) protocol, which Windows uses to create the map. To fix this problem, disable the device, turn it off, or remove it from your network”. All of my network devices showed up on the Network Map with the old E2000. This issue is the same on all of my computers, either wired or wireless. Any known solutions for this, or is it as Windows suggests; an incompatible Router????
    Thanks in advance for any insight or solutions. With the issues I’m having with the EA4500 and the AE3000; they are both probably going back to Amazon.

    thebluemamba_24; Thank you for your suggestion; I finally found time yesterday to perform an extensive evaluation before I return the Router. However, rather than trying to add devices manually, my rationale was if the EA4500 can’t process them correctly, automatically, it needs to be returned anyway, so I added devices normally letting the device an Router handle the process.
    In thinking through this issue, all devices on our network are detected and identified by Windows Explorer on Windows 7 computers; except of course the Apple and Android devices (Apple TV, iPad, and Smartphone). So, I wondered if one of those three devices being added to the Router’s device list was somehow causing issues or interfering with Windows 7’s ability to generate a Network Map. Therefore, my approach was to turn off or disable all devices on our network, reset the Router to factory defaults, reestablish the Router to my custom Home Network configuration using a Windows 7 PC that has LAN and Wireless access to the Router, then add one device at a time and check with each addition to see if Windows 7 could still generate a Network Map.
    With the Router reset and reestablishment complete; I began the process of adding one device at a time and checking to see if a Network Map was being generated. What I discovered was when a recent addition to the network, a Western Digital WD TV Live Streaming Media Player, was connected (wirelessly), Windows 7 could no longer generate the Network Map and the failure was consistent. The only way to get the Network Map to work again was to remove power from the WD TV Live, although it remained in the EA4500’s Device List; simply turning it off didn’t help. Since I’d originally witnessed the Windows 7 Network Map working with the Linksys E2000 Router that the EA4500 replaced, I decided to test the WD TV Live with that Router. It worked initially, but it failed consistently after the first success. Interestingly, the failure indication was a little different, but nevertheless generation of the Network Map failed.
    I’ve tried changing a few settings on the EA4500 as well as the WD TV Live, but nothing helped. There was a recent firmware update to the WD TV Live, so I might try rolling back the firmware to see if it makes a difference.
    The Network Map issue might very well be an issue with the WD TV Live, not the Router, but after reading many threads on this Community I have reservations that the problems I’m experiencing with the Smart interface lockup will be fixed. I suspect new emerging replacement products will be the focus and these older products will be abandoned and no more firmware fixes will be forthcoming and I don’t want to spend more money for a new product just to fix old problems and get something that works properly. The Network Map issue is troublesome, but the lockup of the Router’s “Linksys Smart Wi-Fi” interface is a serious matter to me. It appears that once it locks up, the only way to correct it is a power off restart; not practical if you’re traveling and trying to access settings remotely; the selling point for this feature.
    Given the problems I’m experiencing with the EA4500 and AE3000, I guess I’ll return them. Too bad, because otherwise the EA4500 seems like it’s a good Router. I’ve been brand loyal since the Linksys WRT54G came out, but after reading this Community and with my personal experience with the EA4500 and AE3000, now I’ll probably give the NETGEAR N900 equivalents a try.

  • Search for records in the event viewer after the last run (not the entire event log), remove duplicate - Output Logon type for a specific OU users

    Hi,
    The following code works perfectly for me and give me a list of users for a specific OU and their respective logon types :-
    $logFile = 'c:\test\test.txt'
    $_myOU = "OU=ABC,dc=contosso,DC=com"
    # LogonType as per technet
    $_logontype = @{
        2 = "Interactive" 
        3 = "Network"
        4 = "Batch"
        5 = "Service"
        7 = "Unlock"
        8 = "NetworkCleartext"
        9 = "NewCredentials"
        10 = "RemoteInteractive"
        11 = "CachedInteractive"
    Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0""
    or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>" -ComputerName
    "XYZ" | ForEach-Object {
        #TargetUserSid
        $_cur_OU = ([ADSI]"LDAP://<SID=$(($_.Properties[4]).Value.Value)>").distinguishedName
        If ( $_cur_OU -like "*$_myOU" ) {
            $_cur_OU
            #LogonType
            $_logontype[ [int] $_.Properties[8].Value ]
    #Time-created
    $_.TimeCreated
        $_.Properties[18].Value
    } >> $logFile
    I am able to pipe the results to a file however, I would like to convert it to CSV/HTML When i try "convertto-HTML"
    function it converts certain values . Also,
    a) I would like to remove duplicate entries when the script runs only for that execution. 
    b) When the script is run, we may be able to search for records after the last run and not search in the same
    records that we have looked into before.
    PLEASE HELP ! 

    If you just want to look for the new events since the last run, I suggest to record the EventRecordID of the last event you parsed and use it as a reference in your filter. For example:
    <QueryList>
      <Query Id="0" Path="Security">
        <Select Path="Security">*[System[(EventID=4624 and
    EventRecordID>46452302)]]</Select>
        <Suppress Path="Security">*[EventData[Data[@Name="SubjectLogonId"]="0x0" or Data[@Name="TargetDomainName"]="NT AUTHORITY" or Data[@Name="TargetDomainName"]="Window Manager"]]</Suppress>
      </Query>
    </QueryList>
    That's this logic that the Server Manager of Windows Serve 2012 is using to save time, CPU and bandwidth. The problem is how to get that number and provide it to your next run. You can store in a file and read it at the beginning. If not found, you
    can go through the all event list.
    Let's say you store it in a simple text file, ref.txt
    1234
    At the beginning just read it.
    Try {
    $_intMyRef = [int] (Get-Content .\ref.txt)
    Catch {
    Write-Host "The reference EventRecordID cannot be found." -ForegroundColor Red
    $_intMyRef = 0
    This is very lazy check. You can do a proper parsing etc... That's a quick dirty way. If I can read
    it and parse it as an integer, I use it. Else, I just set it to 0 meaning I'll collect all info.
    Then include it in your filter. You Get-WinEvent becomes:
    Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624 and EventRecordID&gt;$_intMyRef)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0"" or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>"
    At the end of your script, store the last value you got into your ref.txt file. So you can for example get that info in the loop. Like:
    $Result += $LogonRecord
    $_intLastId = $Event.RecordId
    And at the end:
    Write-Output $_intLastId | Out-File .\ref.txt
    Then next time you run it, it is just scanning the delta. Note that I prefer this versus the date filter in case of the machine wasn't active for long or in case of time sync issue which can sometimes mess up with the date based filters.
    If you want to go for a date filtering, do it at the Get-WinEvent level, not in the Where-Object. If the query is local, it doesn't change much. But in remote system, it does the filter on the remote side therefore you're saving time and resources on your
    side. So for example for the last 30 days, and if you want to use the XMLFilter parameter, you can use:
    <QueryList>
    <Query Id="0" Path="Security">
    <Select Path="Security">*[System[TimeCreated[timediff(@SystemTime) &lt;= 2592000000]]]</Select>
    </Query>
    </QueryList>
    Then you can combine it, etc...
    PS, I used the confusing underscores because I like it ;)
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Java mapping for Remove and Add of  DOCTYPE Tag

    HI All,
    i have one issue while the Java mapping for Remove and Add of  DOCTYPE Tag   in Operation Mapping .
    it says that , while am testing in Configuration Test "  Problem while determining receivers using interface mapping: Error while determining root tag of XML"
    Receiver Determination...
    error in SXMB MOni
    " SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem while determining receivers using interface mapping: Error while determining root tag of XML: '<!--' or '<![CDATA[' expected</SAP:P1>
    plz provide solutions
    Thanks in advance.

    Hi Mahesh,
    I understand, you are using extended Receiver Determination using Operational Mapping (which has Java Mapping). And, there is an error message u201CError while determining root tag of XMLu201D, when you are doing configuration test.
    Can you please test, the Operational Mapping (which has Java Mapping) separately in ESR, with payload which is coming now. It should produce a XML something like this [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce53aea0d7154ee10000000a421937/frameset.htm]
    <Receivers>
    <Receiver>
      <Party agency="016" scheme="DUNS">123456789</Party>
      <Service>MyService</Service>
    </Receiver>
    <Receiver>
      <Party agency="http://sap.com/xi/XI" scheme="XIParty"></Party>
      <Service>ABC_200</Service>
    </Receiver>
    </Receivers>
    If it is not (I Think it will not), then there is some problem in Java Mapping coding. Please correct it. Last option, if your Java code is small in length; you may paste it here, so that we can have a look at the cause of issue.
    Regards,
    Raghu_Vamsee

  • Can Compressor 4 remove duplicate frames?

    I have some videos which were converted to 30fps from a lower frame count. It was obviously a simple conversion that duplicated frames as needed.
    The problem is, when I use these videos for slow motion, the duplicated frames cause the slow motion to "pause". In order to fix this, I have to remove the duplicated frames (obviously I don't care about sound, and I don't care about time sync). Once the duplicated frames are removed, the slow motion is nice and smooth.
    In the past, I've always done this with very short clips, so I can do it manually. I open the video in QTP, advance one frame at a time, and when I see a duplicate, I delete it. Since there's always a pattern, depending on what the lower frame rate was, this can be done reasonably quickly, for very small clips. But it's obviously a tedious process.
    I was wondering a few things:
    1) Can Compressor 4 fix this issue for me? I've tried a few things in Compressor, but no help yet. I'm just a relative newbie, so that's not surprising.
    2) Are there any other utilities that might help? Something that removes duplicate frames, for example?
    3) These clips were already converted when I received them. However, in the future, when I convert a lower fps to 30fps for the purposes of doing slow motion, how should I do this in Compressor so as to have smooth slow motion at 30fps? Again, I don't care about audio.
    I've done a few days worth of searching, but I still havent found the answers. Any help will be appreciated.
    Thanks!
    Dan

    The Reverse Telecine didn't remove the extra frames. Who knows - maybe the frames aren't exact duplicates, although for the most part, they look it to the naked eye, which I realize doesn't mean much.
    Oh well, doing it by hand isn't the end of the world. I've probably spent more time trying to figure out an automatic method, than it would have taken to do it by hand. But of course, I'm sure I'm not the only one who's ever done that... 
    Thanks for trying. As I've been searching for help on other things, it's amazing how many times one of your posts helps. So you've helped me plenty, for which I thank you.
    Dan

  • Reduce project, Remove duplicates and Replace Source

    I'm moving a project from FCP7 to PPCS5 and I'm running into an issue. importing an XML from FCP7 brings all the project assets in to one folder, but I'd like to orginize them along with all of the original source in specified Bins (Footage, Audio, Graphics, etc). I'm use to the project management tools in AE where I could reduce a project and it would remove duplicates replace the source automatically. How do I do this in Premiere?

    Hey David, I'm sorry, I typed the wrong example in AE. In After Effects, there's an option to "Consolidate All Files." From the AE manual:
    To remove all duplicate footage items from a project, Choose File > Consolidate All Footage. After Effects considers footage items to be duplicates only if they use the same Interpret Footage settings.
    When a duplicate item is removed, layers that refer to the duplicate item are updated to refer to the remaining copy
    I'm looking for this in Premiere, without having to copy all the source in the Project Manager.

  • Remove Duplicate Music Files, But Keep iTunes Copy

    How can you remove duplicate copies of music files on your hard drive but be sure to keep the one iTunes is using and keeping the iTunes Library intact?
    I have hundred of duplicate music files, using a tool like CleanGenius or others I can get a list of duplicate files, but I do not want to break iTunes Library and only want to remove the duplicates that are not being used in iTunes.

    I have the same issue. If I have a file in my music folder and then click on it and it opens in itunes it creates a duplicate file in my itunes library. Besides sorting in finder and deleting one by one based upon folder location is there a less mind numbing way to accomplish this task.
    Or do I have to pay the $10 for a program like Gemini?

  • Remove duplicates without using Sort OR Script compnent OR Staging ?

    Team , Can some advise on how do we go about removing duplicates without using  either of above option quoted in the subject lines ? My source is a huge  flat file  .
    Thanks in advance !
    Rajkumar Yelugu

    I think you can do like this
    1. Add a Data Flow Task with flat file source
    2. Add a multicast to flat file source
    3. Join an output from Multicast to Aggregate transform and group by your required field and take min or max over a unique valued column(s) (id or date or primary key)
    4. Add a Merge join transform and  add the multicast output and Aggregate Transform outputs as sources. join on the group by fields from aggregate and include min/max column also in output
    5. Add a conditional split and define an output as unique valued column(s) >(<) Min/Max value from aggregate
    6. Join the defined output to your destination to get only distinct records from the duplicate sets
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Macro to remove duplicate rows between two worksheets

    Hi
    We have a master file which multiple users access through 'sharepoint'.
    The 'sharepoint' service had an issue, and this master file (which two users spend a day each working on) has not updated.
    We are left with two variations of the same master file, and need to merge them together - allowing adjustments made by both users to stand. The master has 45 columns, and the copies have between 20916 and 21034 rows inc header.
    As I have basic capabilities with Macro's, would someone be able to advise?
    Kind regards
    Metakio

    Re:  Merging two files
    One way...
    In a new workbook, paste copies of the two sets of data onto a single sheet with one set of data directly below the other.
    Use Excel's Remove Duplicates feature to remove the duplicate rows.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • Removing duplicate emails

    Hello all,
    I have looked on the web but I cannot find any solution to my problem, 'How to remove duplicate mails from my mailboxes'.
    Most are empty mails with the actual message not downloaded from the server. It would be great if an app. existed that could remove all these messages.
    Thanks
    olav

    The most comprehensive way to approach this, is as follows:
    1) Make another New Mailbox, and this time Move all the OTHER messages (those you wish to save, anyway) to this New Mailbox.
    2) Delete the first new mailbox you created, if Mail allows -- if not we will deal with this later
    3) Quit Mail, and in the Finder open Home/Library/Mail/this POP account folder, and find the INBOX.mbox folder. Open this folder, and then within it, open the Messages folder. Delete those xxxx.emlx files for the messages you allowed to remain in the Inbox.
    4a) Again in the Mail folder, find the file named Envelope Index, and delete it -- do this to any other file with Envelope in the name.
    4b) If Mail did not allow the deletion of the first new mailbox, find and open the Mailboxes folder (within the Mail folder), find that xxxx.mbox folder and delete it.
    5) Relaunch Mail, which will announce it is ready to Import your mailboxes -- allow this to continue, and it will not be importing anything, but rather reindexing all your mailboxes.
    If you will do, first check the topic where I worked with another on a similar issue at:
    http://discussions.apple.com/message.jspa?messageID=2835057#2835057
    If you open the stubborn message, and click on View in the menubar, place the cursor on Message and choose Raw Source, you can observe all the header characteristics and report. But if you had rather not bother, don't worry about it.
    Keep us posted.
    Ernie

  • Removing duplicates finally fixed!

    Why doesn't apple incorporate the ability to remove duplicates automatically. There is no way I am going to hand select over 300 songs to remove the duplicates. Make a feature (a code based query) that will remove any duplicates, minus 1.

    I'm sure that's possible (and there are scripted solutions that will do exactly what you want).  The bigger issue, though, is what do you mean by a "duplicate"?  iTunes currently has two functions:
    View > Show Duplicate Items will show all cases where a song exists in your library with the same Artist and Name fields - therefore you may get different edits, mixes, live vs. studio versions, of the same song.  I understand that some people may want to eliminate at least some of these, but how would a fully-automated version know which songs you want to keep and which to get rid of in this example?
    In extreme cases, you could have many songs that would be shown in the results of the View > Show Duplicate Items query yet this would represent an absolutely correct library with nothing that the user (me, in this case) would regard as a "duplicate":
    The highlight tracks here show a case where the same "song" (Artist and Name matched) can occur within the same album - quite correctly.
    SHIFT View > Show Exact Duplicate Items is much more restrictive, in that as well as Artist and Name it will only show songs that also have identical values for Album, Disc Number and Track Number.  Unlike the first case, where duplicates may be entirely value, anything shown by this second function is likely to be an error. This is an area in which iTunes could maybe offer an automated function, though there are still questions that would need to be resolved.  For example, such a duplicate may be reported if:
    There are two entries in the iTunes database that point to the same media file
    There are two entries in the iTunes database that point to different media files - still the same song/recording but they could have different filenames or be in different locations
    The biggest barrier to an automated de-duplication function within iTunes, though, is that unless it offered a host of user options there's a very significant risk that it would delete duplicates but not the ones that you want to remove - and where the de-duplication process also involves file deletion this is not easy to support a robust Undo function for.  The other factor is that the second case of duplication (exactly the same song occurring more than once in your library) is almost always the result of some kind of user error, or user misunderstanding of how iTunes works and manages the content of its library.  iTunes is complex enough (far too complex, in some people's opinion) without adding functionality that addresses the consequence of misuse.

  • Sharepoint 2010 Content Deployemnt Job issue with duplicate fields in User information List

    Hi friends,
    I am facing below issue with the content deployment job.
    It was working earlier. But now since from couple of days all the content deployment jobs in production environment are failing with below error.
    Field name already exists. The name used for this field is already used by another field in the list. Select another name and try again.
    ObjectName="User Information List".
    When I check the fields in User information list in targeted site, I found couple of columns are dupicate like "ask me about",first name","Last name" etc.
    Do i Need to drop target site collection or recreate with fresh content deployment job.
    Please suggest.
    Please help .
    Regards
    Subrat

    Hi,
    According to your post, my understanding is that you got duplicate field error.
    Based on the error message, you can try to use the following code sample to remove duplicate records, and check whether it works:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneralprevious/thread/41ee04bd-91fb-4bf9-932a-bac42c56c357
    Here is a similar issue, you can also use the ‘RemoveDuplicateColumn64’ provided:
    http://sharepointsurfer.wordpress.com/2012/04/27/how-to-fix-publishing-site-content-deployment-error-duplicate-first-name-column/
    What’s more, as you had said, you can recreate a site with a fresh deployment job.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Bootcamp, ATI 4850 driver not installs on windows 7 x64.

    Hi all, I need some help with ATI driver installation. I followed Windows x64 installation instructions available on Apple page. Here is how I installed Windows 7 x64: 1. Partitioning - went fine. 2. Windows 7 x64 Installation - black screen issue en

  • How to redirect CELLCLI output to text file

    Hi, I would like to redicrect the output of the cellcli command to a text file . For example , how to redirect the output of this command to a text file on /tmp CellCLI> list metrichistory where objectType = 'CELL' - and name = 'CL_TEMP'Thanks

  • Good CCIE question: Can multiple site-2-site VPNs support dynamic routing protocols?

    Hi All, Was not sure if this should be posted in LAN routing, WAN routing or VPN forums: I have posted here as the VPN tunnels are the limiting factors... I am trying to understand if it is possible to have dynamic routing between LANs when using sit

  • Lumia 800 rejecting MobileMe passwords all of a su...

    If there is any more useless error message than 'Attention required' I've yet to see it. Some time in the last day or so, my Lumia has begun to reject my Apple MobileMe/iCloud password which has not been changed elsewhere. Whenever the phone goes to

  • Upgrade 10.2.4.0 database from 32bit (Windows 2003 os ) to 64 bit (windows)

    we upgrade 10.2.4.0 database from 32bit (Windows 2003 os ) to 64 bit (windows). the steps: 1. Install 10g server and client in 64 bit server and run patch set. 2. Restore rman db backup (from 32bit machine ) to 64bit server. Migrate database in new s